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

NAME

6       setquota - set disk quotas
7

SYNOPSIS

9       setquota  [  -r  ]  [ -u | -g ] [ -F quotaformat ] name block-softlimit
10       block-hardlimit inode-softlimit inode-hardlimit -a | filesystem...
11
12       setquota [ -r ] [ -u | -g ] [ -F quotaformat ] [ -p protoname ] name -a
13       | filesystem...
14
15       setquota -b [ -r ] [ -u | -g ] [ -F quotaformat ] -a | filesystem...
16
17       setquota -t [ -u | -g ] [ -F quotaformat ] block-grace inode-grace -a |
18       filesystem...
19
20       setquota -T [ -u | -g ] [ -F quotaformat ] name block-grace inode-grace
21       -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       -F, --format=quotaformat
35              Perform setting for specified format (ie. don't  perform  format
36              autodetection).   Possible  format  names are: vfsold (version 1
37              quota), vfsv0 (version 2  quota),  rpc  (quota  over  NFS),  xfs
38              (quota on XFS filesystem)
39
40       -u, --user
41              Set user quotas for named user. This is the default.
42
43       -g, --group
44              Set group quotas for named group.
45
46       -p, --prototype=protoname
47              Use  quota  settings of user or group protoname to set the quota
48              for the named user or group.
49
50       -b, --batch
51              Read information to set from stdin (input format is name  block-
52              softlimit block-hardlimit inode-softlimit inode-hardlimit ).
53
54       -t, --edit-period
55              Set  grace  times for users/groups. Times block-grace and inode-
56              grace are specified in seconds.
57
58       -T, --edit-times
59              Alter  times  for  individual  user/group  when   softlimit   is
60              enforced.  Times  block-grace  and  inode-grace are specified in
61              seconds or can be string 'unset'.
62
63       -a, --all
64              Go through all filesystems with quota in /etc/mtab  and  perform
65              setting.
66
67       To disable a quota, set the coresponding parameter to 0. To change quo‐
68       tas for several filesystems, invoke once for each filesystem.
69
70       Only the super-user may edit quotas.
71

FILES

73       aquota.user or aquota.group
74                           quota file at the filesystem root (version 2 quota,
75                           non-XFS filesystems)
76       quota.user or quota.group
77                           quota file at the filesystem root (version 1 quota,
78                           non-XFS filesystems)
79       /etc/mtab           mounted filesystem table
80

SEE ALSO

82       edquota(8),   quota(1),   quotactl(2),    quotacheck(8),    quotaon(8),
83       repquota(8)
84
85
86
87                                                                   SETQUOTA(8)
Impressum