Section: AFS Command Reference (1)
fs examine - Shows data about the volume containing a directory or file
+] >>> [-help
fs exa << [-p <dir/file path+] >>> [-h]
fs listvol << [-p <dir/file path+] >>> [-h]
fs listv << [-p <dir/file path+] >>> [-h]
fs lv << [-p <dir/file path+] >>> [-h]
The fs examine command displays information about the volume containingeach specified directory or file, including its volume ID number, quotaand the percentage of its quota that is used.
This command provides the most information about a volume, but the fslistquota command displays similar information in tabular format, and thefs quota command reports only the percentage of quota used.
To set volume quota, use the fs setquota or fs setvol command.
The partition-related statistics in this command's output do not alwaysagree with the corresponding values in the output of the standard UNIXdf
command. The statistics reported by this command can be up to fiveminutes old, because the Cache Manager polls the File Server for partitioninformation at that frequency. Also, on some operating systems, the df
command's report of partition size includes reserved space not included inthis command's calculation, and so is likely to be about 10% larger.
- -path <dir/file path>+
- Names a file or directory that resides in the volume about which toproduce output. Partial pathnames are interpreted relative to the currentworking directory, which is also the default value if this argument isomitted.
- Prints the online help for this command. All other valid options areignored.
The output displays information about the volume that houses eachspecified directory or file, in the following format
Volume status for vid = I<volume ID> named I<volume name> Current offline message is I<message> Current disk quota is I<quota in kilobytes> Current blocks used are I<volume size in kilobytes> The partition has I<available partition> blocks available out of I<partition size>
where the first line specifies the volume's ID number and name. TheCurrent offline message
line appears only if an administrator hasincluded the -offlinemsg
argument to the fs setvol
command. Theremaining lines report, respectively,
- The volume's quota in kilobytes, or the string unlimited to indicate anunlimited quota.
- The volume's current size in kilobytes.
- The number of blocks available and total size of the host partition, bothin kilobytes.
The following example shows the output for the volume user.smith
andthe partition housing it:
% fs examine -path /afs/abc.com/usr/smith Volume status for vid = 50489902 named user.smith Current maximum quota is 15000 Current blocks used are 5073 The partition has 336662 blocks available out of 4177920
The issuer must have the l
(lookup) permission on the ACL of the rootdirectory of the volume that houses the file or directory named by the-path
argument, and on the ACL of each directory that precedes it inthe pathname.
IBM Corporation 2000. <http://www.ibm.com/
> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It wasconverted from HTML to POD by software written by Chas Williams and RussAllbery, based on work by Alf Wachsmann and Elizabeth Cassell.
- PRIVILEGE REQUIRED
- SEE ALSO
This document was created byman2html,using the manual pages.