@sysadmin CreditVidya
Here hdfs dfs -df -h refers to the HDFS filesystem and displays the amount of disk space available on the file system containing.
df -h refer to the local filesystem with respect to that particular server or node.
df displays the amount of disk space available on the file system containing each file name argument. If no
file name is given, the space available on all currently mounted file systems is shown
Always hdfs dfs -df -h and hdfs dfsadmin -report should give you the same information as below:
[hdfs@abcd ~]$ hdfs dfs -df -h
Filesystem Size Used Available Use%
hdfs://hdplab 139.5 G 9.1 G 119.2 G 7%
[hdfs@abcd ~]$ hdfs dfsadmin -report
Configured Capacity: 149775056896 (139.49 GB)
Present Capacity: 137747146752 (128.29 GB)
DFS Remaining: 127948359680 (119.16 GB)
DFS Used: 9798787072 (9.13 GB)
DFS Used%: 7.11%
Under replicated blocks: 48
Blocks with corrupt replicas: 0
Missing blocks: 0
Missing blocks (with replication factor 1): 0
Hope this helps you.