dsmdf
The dsmdf command displays the information for one or more file systems, such as file system state, inode information, and space information.
- File system state: active (a), inactive (i), or global inactive (gi)
- Sum of the sizes of all migrated files
- Amount of space that is used on your local file system for premigrated files
- Number of inodes that are used for migrated or premigrated files
- Number of unused inodes on your local file system
- Amount of free space on your local file system
Only migration and recall processes dynamically update status information for your file systems. If any other process changes the state of a file, the change is not reflected in the information that the dsmdf command displays until reconciliation is run.
- For GPFS™ file systems only:
- Migrating newly created files less than five (5) minutes old might display incorrect results (resident size) when you use the dsmdf and dsmdu commands. The reason is because IBM® Storage Scale is not synchronized on all nodes when you migrate files. The last block of a file is not released from the disk although the file migrated successfully. This procedure can cause a deviation from an assumed disk usage if many small files are migrated and the block size is high.
Note: You can display only information about mounted
file systems. If a file system is space managed but not mounted, it
does not appear within the command output.
Syntax
Parameters
- options
- –Detail
- Displays information about file systems with each value appearing on its own line. Values representing the amount of space is shown in kilobytes only.
- –ERRORLOGName=file_path
- Specifies the path and file name of the error log file to be used by this command. Output from only this command is logged to the specified file. Other commands and daemons write output to the error log file specified by the errorlogname option in options file dsm.sys or dsm.opt, or as specified by the DSM_LOG environment variable. If any part of the path you specify does not exist, the space management client creates it.
- –Help
- Displays syntax and options for the command. Do not specify other options when you specify the help option.
- –Logname=file_path
- Specifies the path and file name of the log file to be used by this command. The kinds of events that are logged to the file are specified with the hsmlogeventflags option. Error events are not logged to the file.
- filesystemspec
- The name of the file system for which you want to display information. The default is all file systems to which you added space management. You can specify more than one file system name, and you can use wildcard characters within a file system name. If you specify more than one file system name, separate each name with one or more blank spaces.
Examples
| Task | Command |
|---|---|
| Display information for all file systems to which you added space management. | dsmdf |
Display information for the /home file
system. |
dsmdf /home |
| Specify the log file to be used by the dsmdf command | |