Querying file system space
Although you can use the df command to summarize the amount of free space on all GPFS™ disks, the mmdf command is useful for determining how well-balanced the file system is across your disks. (Also, the output from mmdf can be more up to date than the output from df.) Additionally, you can use the mmdf command to diagnose space problems that might result from fragmentation.
Note: The mmdf command may require
considerable metadata I/O, and should be run when the system load
is light.
Specify the file system you want to query with
the mmdf command. For example, to query
available space on all disks in the file system fs1, enter:
mmdf fs1
The
system displays information similar to:
disk disk size failure holds holds free KB free KB
name in KB group metadata data in full blocks in fragments
--------------- ------------- -------- -------- ----- -------------------- -------------------
Disks in storage pool: system (Maximum disk size allowed is 122 GB)
hd16vsdn10 17793024 -1 yes yes 17538560 ( 99%) 1728 ( 0%)
hd3vsdn01 8880128 2 yes yes 8658176 ( 98%) 1600 ( 0%)
hd4vsdn01 8880128 2 yes yes 8616448 ( 97%) 1384 ( 0%)
hd15vsdn10 17793024 10 yes yes 17539584 ( 99%) 1664 ( 0%)
hd13vsdn02 8880128 4001 yes yes 8663552 ( 98%) 1776 ( 0%)
hd8vsdn01 8880128 4002 yes yes 8659200 ( 98%) 1936 ( 0%)
hd5vsdn01 8880128 4002 yes yes 8654848 ( 97%) 1728 ( 0%)
hd33n09 17796008 4003 yes yes 17540864 ( 99%) 2240 ( 0%)
------------- -------------------- -------------------
(pool total) 257800488 252091136 ( 98%) 46928 ( 0%)
Disks in storage pool: fs1sp1 (Maximum disk size allowed is 122 GB)
hd30n01 8897968 8 no yes 8895488 (100%) 424 ( 0%)
hd31n01 8897968 8 no yes 8895488 (100%) 424 ( 0%)
------------- -------------------- -------------------
(pool total) 17795936 17790976 (100%) 848 ( 0%)
============= ==================== ===================
(data) 266716296 261222144 ( 98%) 44576 ( 0%)
(metadata) 248920360 243217408 ( 98%) 46048 ( 0%)
============= ==================== ===================
(total) 275596424 269882112 ( 98%) 47776 ( 0%)
Inode Information
-----------------
Number of used inodes: 9799
Number of free inodes: 4990393
Number of allocated inodes: 5000192
Maximum number of inodes: 5000192
For complete usage information, see mmdf command.