Determining the Amount of Free Disk From the Command-Line
Lists the command to display the amount of free disk space.
To determine the amount of used and available disk space on the file system, run df
-h
. When running this command, if:
- The given path points to the mount point, the output will display used and available disk
space for the entire cluster. For example:
[root@atsqa6c69 ~]df -h /mapr/clus.posix/ Filesystem Size Used Avail Use% Mounted on posix-client-basic 4.4T 9.7G 4.4T 1% /mapr
- The given path points to a volume with no (hard) quota, the output will display used and
available disk space for the entire cluster. For example:
[root@atsqa6c69 ~]df -h /mapr/clus.posix/vol3 Filesystem Size Used Avail Use% Mounted on posix-client-basic 4.4T 9.7G 4.4T 1% /mapr
- The given path points to a volume with (hard) quota set, the output will display the used
and available disk space for the specific volume based on the allocated quota. For example:
[root@atsqa6c69 ~]df -h /mapr/clus.posix/vol2/ Filesystem Size Used Avail Use% Mounted on posix-client-basic 5.0G 2.5G 2.6G 49% /mapr