4 quotaon, quotaoff \- turn filesystem quotas on and off
13 .IR filesystem .\|.\|.
31 .IR filesystem .\|.\|.
39 .IX "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
40 .IX "user quotas" "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
41 .IX "disk quotas" "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
42 .IX "quotas" "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
43 .IX "filesystem" "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
46 announces to the system that disk quotas should be enabled on one or
47 more filesystems. The filesystem quota files must be present in the root
48 directory of the specified filesystem and be named either
50 (for version 2 user quota),
52 (for version 1 user quota),
54 (for version 2 group quota), or
56 (for version 1 group quota).
58 XFS filesystems are a special case - XFS considers quota
59 information as filesystem metadata and uses journaling to provide
60 a higher level guarantee of consistency.
61 There are two components to the XFS disk quota system:
62 accounting and limit enforcement.
63 XFS filesystems require that quota accounting be turned on at mount time.
64 It is possible to enable and disable limit enforcement on an XFS
65 filesystem after quota accounting is already turned on.
66 The default is to turn on both accounting and enforcement.
68 The XFS quota implementation does not maintain quota information in
69 user-visible files, but rather stores this information internally.
71 .IX "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
72 .IX "user quotas" "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
73 .IX "disk quotas" "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
74 .IX "quotas" "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
75 .IX "filesystem" "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
78 announces to the system that the specified filesystems should
79 have any disk quotas turned off.
83 .B -F, --format=\f2format-name\f1
84 Report quota for specified format (ie. don't perform format autodetection).
85 Possible format names are:
87 Original quota format with 16-bit UIDs / GIDs,
89 Quota format with 32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits,
91 Quota format with 64-bit quota limits and usage,
93 (quota on XFS filesystem)
96 All automatically mounted (no
98 option) non-NFS filesystems in
100 with quotas will have their quotas turned on.
101 This is normally used at boot time to enable quotas.
104 Display a message for each filesystem where quotas are turned on.
107 Manipulate user quotas. This is the default.
110 Manipulate group quotas.
113 Instead of turning quotas on just print state of quotas (ie. whether. quota is on or off)
118 behave like being called as
122 .B -F, --format=\f2format-name\f1
123 Report quota for specified format (ie. don't perform format autodetection).
124 Possible format names are:
130 (quota on XFS filesystem)
133 Force all filesystems in
135 to have their quotas disabled.
138 Display a message for each filesystem affected.
141 Manipulate user quotas. This is the default.
144 Manipulate group quotas.
147 Instead of turning quotas off just print state of quotas (ie. whether. quota is on or off)
149 .B -x, --xfs-command delete
150 Free up the space used to hold quota information (maintained
151 internally) within XFS.
152 This option is only applicable to XFS, and is silently
153 ignored for other filesystem types.
154 It can only be used on a filesystem with quota previously turned off.
156 .B -x, --xfs-command enforce
157 Switch on/off limit enforcement for XFS filesystems (perform
158 quota accounting only).
159 This option is only applicable to XFS, and is silently
160 ignored for other filesystem types.
161 .SH "NOTES ON XFS FILESYSTEMS"
162 To enable quotas on an XFS filesystem, use
166 quota option to enable both accounting and limit enforcement.
168 utility cannot be used for this purpose.
170 Turning on quotas on an XFS root filesystem requires the quota mount
171 options be passed into the kernel at boot time through the Linux
175 To turn off quota limit enforcement on any XFS filesystem, first make
176 sure that quota accounting and enforcement are both turned on using
182 to disable limit enforcement.
183 This may be done while the filesystem is mounted.
185 Turning on quota limit enforcement on an XFS filesystem is
189 This may be done while the filesystem is mounted.
193 .B aquota.user or aquota.group
194 quota file at the filesystem root (version 2 quota, non-XFS filesystems)
196 .B quota.user or quota.group
197 quota file at the filesystem root (version 1 quota, non-XFS filesystems)