3 fs_setquota - Sets the quota for the volume containing a file or directory
10 B<fs setquota> S<<< [B<-path> <I<dir/file path>>] >>>
11 S<<< B<-max> <I<max quota in kbytes>> >>> [B<-help>]
13 B<fs setq> S<<< [B<-p> <I<dir/file path>>] >>> S<<< B<-m> <I<max quota>> >>> [B<-h>]
15 B<fs sq> S<<< [B<-p> <I<dir/file path>>] >>> S<<< B<-m> <I<max quota>> >>> [B<-h>]
22 The B<fs setquota> command sets the quota (maximum possible size) of the
23 read/write volume that contains the directory or file named by the
26 To set the quota on multiple volumes at the same time, use the B<fs
29 To display a volume's quota, use the B<fs examine>, B<fs listquota>, or
34 =include fragments/volsize-caution.pod
40 =item B<-path> <I<dir/file path>>
42 Names the directory or file for which to set the host volume's
43 quota. Partial pathnames are interpreted relative to the current working
44 directory, which is also the default value if this argument is omitted.
46 Specify the read/write path to the file or directory, to avoid the failure
47 that results from attempting to change a read-only volume. By convention,
48 the read/write path is indicated by placing a period before the cell name
49 at the pathname's second level (for example, F</afs/.example.com>). For
50 further discussion of the concept of read/write and read-only paths
51 through the filespace, see the B<fs mkmount> reference page.
53 =item B<-max> <I<max quota>>
55 Sets the maximum amount of file server disk space the volume can occupy.
56 The quota value should be a positive integer followed by an optional
57 suffix: C<K> for kibibytes (1024 bytes, the default), C<M> for mebibytes
58 (1024 kibibytes), C<G> for gibibytes (1024 mebibytes), and C<T> for
59 tebibytes (1024 gibibytes). A value of C<0> sets an unlimited quota, but
60 the size of the disk partition that houses the volume places an absolute
61 limit on the volume's size.
63 If the B<-path> argument is omitted (to set the quota of the volume
64 housing the current working directory), the B<-max> switch must be
65 included with this argument.
69 Prints the online help for this command. All other valid options are
76 The following command imposes a maximum quota of 3000 kilobytes on the
77 volume that houses the F</afs/example.com/usr/smith> directory:
79 % fs setquota -path /afs/example.com/usr/smith -max 3000
81 =head1 PRIVILEGE REQUIRED
83 The issuer must belong to the system:administrators group.
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.