3 fs_quota - Displays the quota used in the volume containing a directory or file
10 B<fs quota> S<<< [B<-path> <I<dir/file path>>+] >>> [B<-help>]
12 B<fs q> S<<< [B<-p> <I<dir/file path>>+] >>> [B<-h>]
19 The B<fs quota> command displays the percent of quota consumed in the
20 volume that contains each specified directory or file.
22 To display more detailed information about the volume and the partition it
23 resides on, use the B<fs examine> and B<fs listquota> commands.
25 To set volume quota, use the B<fs setquota> or B<fs setvol> command.
29 Currently, the maximum size of a volume is 2 terabytes (2^31 bytes)
30 and the maximum size of a /vicepX partition on a fileserver is also 2
31 terabytes. The fileserver will not report an error when it has access
32 to a partition larger than 2 terabytes, but it will probably fail if
33 the administrator attempts to use more than 2 terabytes of space. In
34 addition, there are reports of erroneous disk usage numbers when
35 B<vos partinfo> or other OpenAFS disk reporting tools are used with
36 partitions larger than 2 terabytes.
42 =item B<-path> <I<dir/file path>>
44 Names each file or directory for which to display the quota consumed in
45 its parent volume. Partial pathnames are interpreted relative to the
46 current working directory, which is also the default value if this
51 Prints the online help for this command. All other valid options are
58 The output reports the percent of volume quota used, in the following
61 <percent>% of quota used.
65 The following command lists the percent quota used of the volume housing
66 the current working directory:
71 The following command lists the percent quota used of both the volume
72 housing the current working directory's parent directory and the volume
73 housing the directory F</afs/abc.com/usr/smith>:
75 % fs quota -path .. /afs/abc.com/usr/smith
79 =head1 PRIVILEGE REQUIRED
81 The issuer must have the C<l> (lookup) permission on the ACL of the root
82 directory of the volume that houses the file or directory named by the
83 B<-path> argument, and on the ACL of each directory that precedes it in
95 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
97 This documentation is covered by the IBM Public License Version 1.0. It was
98 converted from HTML to POD by software written by Chas Williams and Russ
99 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.