fs_examine - Shows data about the volume containing a directory or file
fs examine [-path <dir/file path>+] [-nofollow] [-help]
The fs examine command (aliases fs listvol and fs lv) displays information about the specified directory, file, mount point or symlink and the containing volume. The reported information includes the File ID, the cell, volume name, current disk quota, the number of used blocks, the available space on the partition, as well as the current volume status.
On Windows the output will also include the owner, group, and UNIX mode.
This command provides the most information about a volume, but the fs listquota command displays similar information in tabular format, and the fs quota command reports only the percentage of quota used.
To set volume quota, use the fs setquota or fs setvol command.
On Windows, to set the owner, group and UNIX mode use the fs chown, fs chgrp, or fs chmod commands.
The partition-related statistics in this command's output do not always agree with the corresponding values in the output of the standard UNIX df command. The statistics reported by this command can be up to five minutes old, because the Cache Manager polls the File Server for partition information at that frequency. Also, on some operating systems, the df command's report of partition size includes reserved space not included in this command's calculation, and so is likely to be about 10% larger.
Names each AFS file or directory to run the command on. Partial pathnames are interpreted relative to the current working directory, which is also the default value if this argument is omitted.
When specified, the targets of symlinks and mountpoints are not resolved.
This permits information about the symlink or mountpoint to be displayed.
Prints the online help for this command. All other valid options are ignored.
The output displays information about the volume that houses each specified 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. The
Current offline message line appears only if an administrator has included the -offlinemsg argument to the fs setvol command. The remaining lines report, respectively,
The volume's quota in kilobytes, or the string
unlimited to indicate an unlimited quota.
The volume's current size in kilobytes.
The number of blocks available and total size of the host partition, both in kilobytes.
The following example shows the output for the volume
user.smith and the partition housing it:
% fs examine -path /afs/example.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
r (read) permission on the ACL of the root directory of the volume that houses the file or directory named by the -path argument, and
l (list) permission on the ACL of each directory that precedes it in the pathname.
fs_chgrp(1), fs_chmod(1), fs_chown(1), fs_listquota(1), fs_quota(1), fs_setquota(1), fs_setvol(1)
IBM Corporation 2000. http://www.ibm.com/ All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.