1SETQUOTA(8)                 System Manager's Manual                SETQUOTA(8)
2
3
4

NAME

6       setquota - set disk quotas
7

SYNOPSIS

9       setquota  [  -rm  ] [ -u | -g ] [ -F quotaformat ] name block-softlimit
10       block-hardlimit inode-softlimit inode-hardlimit -a | filesystem...
11
12       setquota [ -rm ] [ -u | -g ] [ -F quotaformat ] [ -p protoname  ]  name
13       -a | filesystem...
14
15       setquota -b [ -rm ] [ -u | -g ] [ -F quotaformat ] -a | filesystem...
16
17       setquota  -t  [  -m ] [ -u | -g ] [ -F quotaformat ] block-grace inode-
18       grace -a | filesystem...
19
20       setquota -T [ -m ] [ -u | -g ] [  -F  quotaformat  ]  name  block-grace
21       inode-grace -a | filesystem...
22

DESCRIPTION

24       setquota  is  a  command line quota editor.  The filesystem, user/group
25       name and new quotas for this filesystem can be specified on the command
26       line.  Note that if a number is given in the place of a user/group name
27       it is treated as an UID/GID.
28
29       -r, --remote
30              Edit also remote quota use rpc.rquotad on remote server  to  set
31              quota.  This  option  is available only if quota tools were com‐
32              piled with enabled support for setting quotas over RPC.
33
34       -m, --no-mixed-pathnames
35              Currently, pathnames of NFSv4 mountpoints are sent without lead‐
36              ing slash in the path.  rpc.rquotad uses this to recognize NFSv4
37              mounts and properly prepend pseudoroot of NFS filesystem to  the
38              path.  If  you  specify  this  option, setquota will always send
39              paths with a trailing slash. This can be useful for legacy  rea‐
40              sons  but  be aware that quota over RPC will stop working if you
41              are using new rpc.rquotad.
42
43       -F, --format=quotaformat
44              Perform setting for specified format (ie. don't  perform  format
45              autodetection).   Possible  format  names are: vfsold (version 1
46              quota), vfsv0 (version 2  quota),  rpc  (quota  over  NFS),  xfs
47              (quota on XFS filesystem)
48
49       -u, --user
50              Set user quotas for named user. This is the default.
51
52       -g, --group
53              Set group quotas for named group.
54
55       -p, --prototype=protoname
56              Use  quota  settings of user or group protoname to set the quota
57              for the named user or group.
58
59       -b, --batch
60              Read information to set from stdin (input format is name  block-
61              softlimit  block-hardlimit  inode-softlimit  inode-hardlimit  ).
62              Empty lines and lines starting with # are ignored.
63
64       -c, --continue-batch
65              If parsing of an input line in batch mode fails,  continue  with
66              processing the next line.
67
68       -t, --edit-period
69              Set  grace  times for users/groups. Times block-grace and inode-
70              grace are specified in seconds.
71
72       -T, --edit-times
73              Alter  times  for  individual  user/group  when   softlimit   is
74              enforced.  Times  block-grace  and  inode-grace are specified in
75              seconds or can be string 'unset'.
76
77       -a, --all
78              Go through all filesystems with quota in /etc/mtab  and  perform
79              setting.
80
81       To disable a quota, set the coresponding parameter to 0. To change quo‐
82       tas for several filesystems, invoke once for each filesystem.
83
84       Only the super-user may edit quotas.
85

FILES

87       aquota.user or aquota.group
88                           quota file at the filesystem root (version 2 quota,
89                           non-XFS filesystems)
90       quota.user or quota.group
91                           quota file at the filesystem root (version 1 quota,
92                           non-XFS filesystems)
93       /etc/mtab           mounted filesystem table
94

SEE ALSO

96       edquota(8),   quota(1),   quotactl(2),    quotacheck(8),    quotaon(8),
97       repquota(8)
98
99
100
101                                                                   SETQUOTA(8)
Impressum