2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
fs_examine - Shows data about the volume containing a directory or file
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<fs examine> S<<< [B<-path> <I<dir/file path>>+] >>> [B<-help>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<fs exa> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-h>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<fs listvol> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-h>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<fs listv> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-h>]
|
|
|
|
|
|
|
|
B<fs lv> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-h>]
|
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The fs examine command displays information about the volume containing
|
|
|
|
each specified directory or file, including its volume ID number, quota
|
|
|
|
and the percentage of its quota that is used.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
This command provides the most information about a volume, but the B<fs
|
|
|
|
listquota> command displays similar information in tabular format, and the
|
|
|
|
B<fs quota> command reports only the percentage of quota used.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
To set volume quota, use the B<fs setquota> or B<fs setvol> command.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 CAUTIONS
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The partition-related statistics in this command's output do not always
|
|
|
|
agree with the corresponding values in the output of the standard UNIX
|
|
|
|
B<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 B<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.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-path> <I<dir/file path>>+
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Names a file or directory that resides in the volume about which to
|
2005-12-09 14:48:56 +00:00
|
|
|
produce output. Partial pathnames are interpreted relative to the current
|
|
|
|
working directory, which is also the default value if this argument is
|
2005-12-08 12:14:33 +00:00
|
|
|
omitted.
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OUTPUT
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The output displays information about the volume that houses each
|
|
|
|
specified directory or file, in the following format
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
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>
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
where the first line specifies the volume's ID number and name. The
|
|
|
|
C<Current offline message> line appears only if an administrator has
|
|
|
|
included the B<-offlinemsg> argument to the B<fs setvol> command. The
|
|
|
|
remaining lines report, respectively,
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The volume's quota in kilobytes, or the string C<unlimited> to indicate an
|
|
|
|
unlimited quota.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The volume's current size in kilobytes.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The number of blocks available and total size of the host partition, both
|
2005-12-08 12:14:33 +00:00
|
|
|
in kilobytes.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The following example shows the output for the volume C<user.smith> and
|
|
|
|
the partition housing it:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% fs examine -path /afs/example.com/usr/smith
|
2005-12-08 12:14:33 +00:00
|
|
|
Volume status for vid = 50489902 named user.smith
|
|
|
|
Current maximum quota is 15000
|
|
|
|
Current blocks used are 5073
|
2005-12-21 00:41:17 +00:00
|
|
|
The partition has 336662 blocks available out of 4177920
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2016-03-18 14:22:33 +00:00
|
|
|
The issuer must have the C<l> (list) permission on the ACL of each directory
|
|
|
|
that precedes the file or directory named by the B<-path> argument.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<fs_listquota(1)>,
|
|
|
|
L<fs_quota(1)>,
|
|
|
|
L<fs_setquota(1)>,
|
|
|
|
L<fs_setvol(1)>
|
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
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.
|