![]() |
![]() |
The dsmdu command displays space usage information for files and directories. For migrated files, the dsmdu command uses the actual size of the files that are stored in TSM storage to calculate space usage. In contrast, the du command (provided with your operating system) uses the size of the stub files that are stored in your local file system.
For AIX GPFS file systems only: Migrating newly-created files of less then five minutes might display incorrect results (resident size) when you use the dsmdf and dsmdu commands. This is because GPFS 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 can cause deviation from assumed disk usage if many small files are migrated and blocksize is high.
Syntax
>>-+-dsmdu-+--+---------+--+--------------------+-------------->< '-ddu---' '- option-' | .----------------. | | V | | '--- directoryspec-+-'
Parameters
Examples
Task | Command |
---|---|
Display space usage information for the current directory and all of its subdirectories. | dsmdu |
Display space usage information for the /migfs3/test directory and all of its subdirectories. | dsmdu /migfs3/test |
Display space usage information for each file in the /migfs2/test directory and in all of its subdirectories. | dsmdu -a /migfs2/test |
Display the total number of 1 KB blocks that the /migfs2/test directory and all of it subdirectories use. | dsmdu -Summary /migfs2/test |