1 .\" Japanese Version Copyright (c) 2000 Kazuyoshi Furutaka and Yuichi SATO
2 .\" all rights reserved.
3 .\" Translated Fri Feb 14 1997
4 .\" by Kazuyoshi Furutaka <furutaka@Flux.tokai.jaeri.go.jp>
5 .\" Updated and Modified Thu Nov 2 18:23:49 JST 2000
6 .\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
7 .\" Updated and Modified Fri May 14 23:47:04 JST 2004
8 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
14 .\"O quotaon, quotaoff \- turn filesystem quotas on and off
15 quotaon, quotaoff \- ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¤òµ¯Æ°¡¦Ää»ß¤¹¤ë
25 .IR filesystem .\|.\|.
43 .IR filesystem .\|.\|.
52 .IX "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
53 .IX "user quotas" "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
54 .IX "disk quotas" "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
55 .IX "quotas" "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
56 .IX "filesystem" "quotaon command" "" "\fLquotaon\fP \(em turn filesystem quotas on"
59 .\"O announces to the system that disk quotas should be enabled on one or
60 .\"O more filesystems. The filesystem quota files must be present in the root
61 .\"O directory of the specified filesystem and be named either
63 .\"O (for version 2 user quota),
65 .\"O (for version 1 user quota),
67 .\"O (for version 2 group quota), or
69 .\"O (for version 1 group quota).
71 ¤Ï¡¢1 ¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ
72 ¥Ç¥£¥¹¥¯ quota ¤òµ¯Æ°¤¹¤ë¤è¤¦¤Ë¥·¥¹¥Æ¥à¤ËÄÌÃΤ¹¤ë¡£
73 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¥Õ¥¡¥¤¥ë¤Ï¡¢
74 ¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¸ºß¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
75 ¤Þ¤¿¡¢¥æ¡¼¥¶¡¼¤Î quota ÍѤΥե¡¥¤¥ë¤Ï
77 (¥Ð¡¼¥¸¥ç¥ó 2 ¤Î¥æ¡¼¥¶¡¼ quota),
79 (¥Ð¡¼¥¸¥ç¥ó 1 ¤Î¥æ¡¼¥¶¡¼ quota),
80 (for version 1 user quota),
82 (¥Ð¡¼¥¸¥ç¥ó 2 ¤Î¥°¥ë¡¼¥× quota),
84 (¥Ð¡¼¥¸¥ç¥ó 1 ¤Î¥°¥ë¡¼¥× quota)
85 ¤È¤¤¤¦Ì¾Á°¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
87 .\"O XFS filesystems are a special case - XFS considers quota
88 .\"O information as filesystem metadata and uses journaling to provide
89 .\"O a higher level guarantee of consistency.
90 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÏÆüì¤Ê¥±¡¼¥¹¤Ç¤¢¤ë -
91 XFS ¤Ï quota ¾ðÊó¤ò¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥á¥¿¥Ç¡¼¥¿¤È¤·¤Æ°·¤¤¡¢
92 ¥¸¥ã¡¼¥Ê¥ë¤òÍѤ¤¤Æ¹â¥ì¥Ù¥ë¤Ç°ì´ÓÀ¤òÊݾڤ¹¤ë¡£
93 .\"O There are two components to the XFS disk quota system:
94 .\"O accounting and limit enforcement.
95 XFS ¥Ç¥£¥¹¥¯ quota ¥·¥¹¥Æ¥à¤Ë¤Ï¡¢
96 ½¸·× (accounting) ¤ÈÀ©¸Â¤Î¶¯À© (limit enforcement) ¤ò¹Ô¤¦
97 2 ¤Ä¤Î¥³¥ó¥Ý¡¼¥Í¥ó¥È¤¬¤¢¤ë¡£
98 .\"O XFS filesystems require that quota accounting be turned on at mount time.
99 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ï quota ¤Î½¸·×¤ò¥Þ¥¦¥ó¥È»þ¤Ë͸ú¤Ë¤¹¤ëɬÍפ¬¤¢¤ë¡£
100 .\"O It is possible to enable and disable limit enforcement on an XFS
101 .\"O filesystem after quota accounting is already turned on.
102 quota ½¸·×¤ò͸ú¤Ë¤·¤¿¸å¤Ç¡¢
103 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÀ©¸Â¤Î¶¯À©¤ò͸ú¤Ë¤·¤¿¤ê̵¸ú¤Ë¤·¤¿¤ê¤Ç¤¤ë¡£
104 .\"O The default is to turn on both accounting and enforcement.
105 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï½¸·×¤È¶¯À©¤ÎξÊý¤¬Í¸ú¤Ë¤µ¤ì¤ë¡£
107 .\"O The XFS quota implementation does not maintain quota information in
108 .\"O user-visible files, but rather stores this information internally.
109 XFS ¤Î quota ¤Î¼ÂÁõ¤Ç¤Ï¡¢¥æ¡¼¥¶¡¼¤«¤é¸«¤¨¤ë¥Õ¥¡¥¤¥ë¤Ç¤Ï¤Ê¤¯
110 (¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î) ÆâÉô¤Ë quota ¾ðÊó¤ò³ÊǼ¤¹¤ë¡£
112 .IX "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
113 .IX "user quotas" "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
114 .IX "disk quotas" "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
115 .IX "quotas" "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
116 .IX "filesystem" "quotaoff command" "" "\fLquotaoff\fP \(em turn filesystem quotas off"
119 .\"O announces to the system that the specified filesystems should
120 .\"O have any disk quotas turned off.
122 ¤Ï¡¢»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ
123 Á´¤Æ¤Î quota ¤òÄä»ß¤¹¤ë¤è¤¦¤Ë¥·¥¹¥Æ¥à¤ËÄÌÃΤ¹¤ë¡£
129 .\"O All automatically mounted (no
131 .\"O option) non-NFS filesystems in
133 .\"O with quotas will have their quotas turned on.
134 .\"O This is normally used at boot time to enable quotas.
136 ¤Ç quota ¤¬»ØÄꤵ¤ì¤¿ NFS °Ê³°¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¤¦¤Á¡¢
137 ¼«Æ°Åª¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤¿
139 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤)
140 Á´¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ quota ¤òµ¯Æ°¤¹¤ë¡£
141 Ä̾ï¤Ï¥Ö¡¼¥È»þ¤Ë quota ¤ò͸ú¤Ë¤¹¤ë¤¿¤á¤ËÍѤ¤¤é¤ì¤ë¡£
144 .\"O Display a message for each filesystem where quotas are turned on.
145 quota ¤¬µ¯Æ°¤µ¤ì¤ë³Æ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àËè¤Ë¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
148 .\"O Manipulate user quotas. This is the default.
149 ¥æ¡¼¥¶¡¼¤Î quota ¤ÎÁàºî¤ò¹Ô¤Ê¤¦¡£¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
152 .\"O Manipulate group quotas.
153 ¥°¥ë¡¼¥×¤Î quota ¤ÎÁàºî¤ò¹Ô¤Ê¤¦¡£
156 .\"O Instead of turning quotas on just print state of quotas (ie. whether. quota is on or off)
157 quota ¤ò͸ú¤Ë¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
158 quota ¤Î¾õÂÖ (¤Ä¤Þ¤ê quota ¤¬Í¸ú¤«Ìµ¸ú¤«) ¤Îɽ¼¨¤À¤±¤ò¹Ô¤¦¡£
163 .\"O behave like being called as
166 ¤¬¸Æ¤Ð¤ì¤¿¤«¤Î¤è¤¦¤Ë¡¢
171 .B \-F \f2format-name\f1
172 .\"O Report quota for specified format (ie. don't perform format autodetection).
173 »ØÄꤵ¤ì¤¿¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç quota ¤òɽ¼¨¤¹¤ë
174 (¤Ä¤Þ¤ê¡¢¥Õ¥©¡¼¥Þ¥Ã¥È¤Î¼«Æ°È½Äê¤ò¹Ô¤ï¤Ê¤¤)¡£
175 .\"O Possible format names are:
177 .\"O (version 1 quota),
179 .\"O (version 2 quota),
181 .\"O (quota on XFS filesystem)
182 »ØÄê²Äǽ¤Ê¥Õ¥©¡¼¥Þ¥Ã¥È̾¤Ï°Ê²¼¤ÎÄ̤ê:
184 (¥Ð¡¼¥¸¥ç¥ó 1 ¤Î quota),
186 (¥Ð¡¼¥¸¥ç¥ó 2 ¤Î quota),
188 (XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¾å¤Î quota)¡£
191 .\"O Force all filesystems in
193 .\"O to have their quotas disabled.
195 ¤Ë¤¢¤ëÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¤òÄä»ß¤¹¤ë¡£
198 .\"O Display a message for each filesystem affected.
199 quota ¤¬Ää»ß¤µ¤ì¤ë³Æ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àËè¤Ë¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
202 .\"O Manipulate user quotas. This is the default.
203 ¥æ¡¼¥¶¡¼¤Î quota ¤ÎÁàºî¤ò¹Ô¤Ê¤¦¡£¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
206 .\"O Manipulate group quotas.
207 ¥°¥ë¡¼¥×¤Î quota ¤ÎÁàºî¤ò¹Ô¤Ê¤¦¡£
210 .\"O Instead of turning quotas off just print state of quotas (ie. whether. quota is on or off)
211 quota ¤ò̵¸ú¤Ë¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
212 quota ¤Î¾õÂÖ (¤Ä¤Þ¤ê quota ¤¬Í¸ú¤«Ìµ¸ú¤«) ¤Îɽ¼¨¤À¤±¤ò¹Ô¤¦¡£
215 .\"O Free up the space used to hold quota information (maintained
216 .\"O internally) within XFS.
217 XFS ¤Ë¤ª¤¤¤Æ¡¢(ÆâÉô¤Ç´ÉÍý¤µ¤ì¤ë) quota ¾ðÊó¤òÊÝ»ý¤¹¤ë¤¿¤á¤Ë
218 »ÈÍѤ·¤Æ¤¤¤ëÎΰè¤ò²òÊü¤¹¤ë¡£
219 .\"O This option is only applicable to XFS, and is silently
220 .\"O ignored for other filesystem types.
221 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï XFS ¤Ë¤Î¤ßŬÍѲÄǽ¤Ç¡¢
222 ¾¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥¿¥¤¥×¤Ç¤ÏÌۤäÆ̵»ë¤µ¤ì¤ë¡£
223 .\"O It can only be used on a filesystem with quota previously turned off.
224 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï°ÊÁ°¤Ë quota ¤ò̵¸ú¤Ë¤·¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Î¤ß
228 .\"O Switch off limit enforcement for XFS filesystems (perform
229 .\"O quota accounting only).
230 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ÎÀ©¸Â¤Î¶¯À©¤ò̵¸ú¤Ë¤¹¤ë
231 (quota ¤Î½¸·×¤Î¤ß¤ò¼Â¹Ô¤¹¤ë)¡£
232 .\"O This option is only applicable to XFS, and is silently
233 .\"O ignored for other filesystem types.
234 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï XFS ¤Ë¤Î¤ßŬÍѲÄǽ¤Ç¡¢
235 ¾¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¥¿¥¤¥×¤Ç¤ÏÌۤäÆ̵»ë¤µ¤ì¤ë¡£
236 .\"O .SH "NOTES ON XFS FILESYSTEMS"
237 .SH "XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ¤ÎÃí°Õ"
238 .\"O To enable quotas on an XFS filesystem, use
242 .\"O quota option to enable both accounting and limit enforcement.
243 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¤ò͸ú¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
247 ¤Î quota ¥ª¥×¥·¥ç¥ó¤ò»È¤¤¡¢½¸·×¤ÈÀ©¸Â¤Î¶¯À©¤ÎξÊý¤ò͸ú¤Ë¤¹¤ë¡£
249 .\"O utility cannot be used for this purpose.
251 ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¤³¤ÎÌÜŪ¤Ë»È¤¦¤³¤È¤Ï¤Ç¤¤Ê¤¤¡£
253 .\"O Turning on quotas on an XFS root filesystem requires the quota mount
254 .\"O options be passed into the kernel at boot time through the Linux
257 XFS ¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¤ò͸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢
260 ¥Ö¡¼¥È¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¡¢
261 ¥Ö¡¼¥È»þ¤Ë¥«¡¼¥Í¥ë¤Ë quota ¤Î¥Þ¥¦¥ó¥È¥ª¥×¥·¥ç¥ó¤òÅϤ¹É¬Íפ¬¤¢¤ë¡£
263 .\"O To turn off quota limit enforcement on any XFS filesystem, first make
264 .\"O sure that quota accounting and enforcement are both turned on using
265 .\"O .BR "repquota -s" .
266 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota À©¸Â¤Î¶¯À©¤ò̵¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢
268 ¤ò»È¤Ã¤Æ quota ¤Î½¸·×¤È¶¯À©¤¬¤È¤â¤Ë͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤»¤è¡£
270 .\"O .B "quotaoff -vo"
271 .\"O to disable limit enforcement.
274 ¤ò»È¤Ã¤ÆÀ©¸Â¤Î¶¯À©¤ò̵¸ú¤Ë¤¹¤ë¤³¤È¡£
275 .\"O This may be done while the filesystem is mounted.
276 ¤³¤ì¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë´Ö¤Ë¤â¼Â¹Ô¤Ç¤¤ë¡£
278 .\"O Turning on quota limit enforcement on an XFS filesystem is
280 .\"O .BR "quotaon -v" .
281 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota À©¸Â¤Î¶¯À©¤ò͸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢
284 .\"O This may be done while the filesystem is mounted.
285 ¤³¤ì¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë´Ö¤Ë¤â¼Â¹Ô¤Ç¤¤ë¡£
290 .\"O .B aquota.user or aquota.group
291 .BR aquota.user " ¤Þ¤¿¤Ï " aquota.group
292 .\"O quota file at the filesystem root (version 2 quota, non-XFS filesystems)
293 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ë¡¼¥È¤ËÃÖ¤«¤ì¤¿ quota ¥Õ¥¡¥¤¥ë
294 (¥Ð¡¼¥¸¥ç¥ó 2 ¤Î quota, XFS °Ê³°¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à)¡£
296 .\"O .B quota.user or quota.group
297 .BR quota.user " ¤Þ¤¿¤Ï " quota.group
298 .\"O quota file at the filesystem root (version 1 quota, non-XFS filesystems)
299 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ë¡¼¥È¤ËÃÖ¤«¤ì¤¿ quota ¥Õ¥¡¥¤¥ë
300 (¥Ð¡¼¥¸¥ç¥ó 1 ¤Î quota, XFS °Ê³°¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à)¡£
303 .\"O default filesystems
304 ¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¡£