Dear Hadoop community,

HDFS v2.7.7.

The output of du is:
    # hdfs dfs -du -s -h /
    *217.5 T*   /
while the output of df is:
    # hdfs dfs -df -h /
    Filesystem                  Size     Used  Available  Use%
    hdfs://nameservice1  1.1 P  *981.3 T*     103.2 T    86%

All files are 3 replicas, so I suppose the "Used" should be about 217.5 * 3
= *652.5 T*.
The problem is who used the other *300+T *(981.3 T - 652.5 T)?  Thanks!

BTW, I found a similar issue
<https://community.cloudera.com/t5/Support-Questions/space-used-in-hdfs-is-different-from-free-space/td-p/196064>,
but I do not think the answer is correct.

-- 
Best Regards!
Wenqi

Reply via email to