Displays metadata information about the specified files.
>>-statfile--+--------+--+-----------------------------+--------> +- -?----+ | .-default----------. | +- -h----+ '- -fmt--+-delim--character-+-' '- -help-' '-xml--------------' >--+--------------+--+----------------+--+-------------+--------> | .-off-. | | .-on--. | '- -r--number-' '- -p--+-on--+-' '- -hdr--+-off-+-' .-----------. V | >--+--------------+--+-----+--+---file_path-+-+---------------->< | .-off-. | +- -l-+ '- - -----------' '- -v--+-on--+-' '- -s-'
You must be logged in to the operating system on the engine hosting the master metadata server to run this command.
No data is available if the fileset is detached.
You can use this command to ensure that a specific file was correctly placed into a storage pool when it was created. This helps to validate policy rules. You can also use this command to validate metadata information viewed through a client.
After a metadata server failure and recover, there is a grace period where new locks for metadata are not granted. If the fileset is in a grace period, the fileset cannot access the metadata or file information, and this command fails.
This command displays information about files, not directories or symbolic links.
sfscli> statfile sanfs/fileset_AP/notes/tips.nsf Name Pool Fileset Size (MB) Server ================================================================== resources.txt DEFAULT_POOL FS1 0.7 ST1 sales.lwp pool_1 OS 3.6 ST2 File Modified ====================== Oct 15, 2003 1:22:22PM Oct 25, 2003 5:19:03PM
Parent topic: Administrative commands
Related tasks
Viewing information about a file