OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / quota / draft / man8 / quotaon.8
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>
9 .\"
10 .TH QUOTAON 8
11 .UC 4
12 .\"O .SH NAME
13 .SH Ì¾Á°
14 .\"O quotaon, quotaoff \- turn filesystem quotas on and off
15 quotaon, quotaoff \- ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¤òµ¯Æ°¡¦Ää»ß¤¹¤ë
16 .\"O .SH SYNOPSIS
17 .SH ½ñ¼°
18 .B /usr/sbin/quotaon
19 [
20 .B \-vugfp
21 ] [
22 .B \-F
23 .I format-name
24 ]
25 .IR filesystem .\|.\|.
26 .br
27 .B /usr/sbin/quotaon
28 [
29 .B \-avugfp
30 ] [
31 .B \-F
32 .I format-name
33 ]
34 .LP
35 .B /usr/sbin/quotaoff
36 [
37 .B \-vugp
38 ]
39 [
40 .B \-x
41 .I state
42 ]
43 .IR filesystem .\|.\|.
44 .br
45 .B /usr/sbin/quotaoff
46 [
47 .B \-avugp
48 ]
49 .\"O .SH DESCRIPTION
50 .SH ÀâÌÀ
51 .SS quotaon
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"
57 .LP
58 .\"O .B quotaon
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
62 .\"O .IR aquota.user
63 .\"O (for version 2 user quota),
64 .\"O .IR quota.user
65 .\"O (for version 1 user quota),
66 .\"O .IR aquota.group
67 .\"O (for version 2 group quota), or
68 .\"O .IR quota.group
69 .\"O (for version 1 group quota).
70 .B quotaon
71 ¤Ï¡¢1 ¤Ä°Ê¾å¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ
72 ¥Ç¥£¥¹¥¯ quota ¤òµ¯Æ°¤¹¤ë¤è¤¦¤Ë¥·¥¹¥Æ¥à¤ËÄÌÃΤ¹¤ë¡£
73 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¥Õ¥¡¥¤¥ë¤Ï¡¢
74 ¤½¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¸ºß¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
75 ¤Þ¤¿¡¢¥æ¡¼¥¶¡¼¤Î quota ÍѤΥե¡¥¤¥ë¤Ï
76 .IR aquota.user
77 (¥Ð¡¼¥¸¥ç¥ó 2 ¤Î¥æ¡¼¥¶¡¼ quota),
78 .IR quota.user
79 (¥Ð¡¼¥¸¥ç¥ó 1 ¤Î¥æ¡¼¥¶¡¼ quota),
80 (for version 1 user quota),
81 .IR aquota.group
82 (¥Ð¡¼¥¸¥ç¥ó 2 ¤Î¥°¥ë¡¼¥× quota),
83 .IR quota.group
84 (¥Ð¡¼¥¸¥ç¥ó 1 ¤Î¥°¥ë¡¼¥× quota)
85 ¤È¤¤¤¦Ì¾Á°¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
86 .PP
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 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï½¸·×¤È¶¯À©¤ÎξÊý¤¬Í­¸ú¤Ë¤µ¤ì¤ë¡£
106 .PP
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 ¾ðÊó¤ò³ÊǼ¤¹¤ë¡£
111 .SS quotaoff
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"
117 .LP
118 .\"O .B quotaoff
119 .\"O announces to the system that the specified filesystems should
120 .\"O have any disk quotas turned off.
121 .B quotaoff
122 ¤Ï¡¢»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ
123 Á´¤Æ¤Î quota ¤òÄä»ß¤¹¤ë¤è¤¦¤Ë¥·¥¹¥Æ¥à¤ËÄÌÃΤ¹¤ë¡£
124 .\"O .SH OPTIONS
125 .SH ¥ª¥×¥·¥ç¥ó
126 .SS quotaon
127 .TP
128 .B \-a
129 .\"O All automatically mounted (no
130 .\"O .B noauto
131 .\"O option) non-NFS filesystems in
132 .\"O .B /etc/fstab
133 .\"O with quotas will have their quotas turned on.
134 .\"O This is normally used at boot time to enable quotas.
135 .B /etc/fstab
136 ¤Ç quota ¤¬»ØÄꤵ¤ì¤¿ NFS °Ê³°¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¤¦¤Á¡¢
137 ¼«Æ°Åª¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤¿ 
138 .RB ( noauto
139 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤)
140 Á´¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ quota ¤òµ¯Æ°¤¹¤ë¡£
141 Ä̾ï¤Ï¥Ö¡¼¥È»þ¤Ë quota ¤òÍ­¸ú¤Ë¤¹¤ë¤¿¤á¤ËÍѤ¤¤é¤ì¤ë¡£
142 .TP
143 .B \-v
144 .\"O Display a message for each filesystem where quotas are turned on.
145 quota ¤¬µ¯Æ°¤µ¤ì¤ë³Æ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àËè¤Ë¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
146 .TP
147 .B \-u
148 .\"O Manipulate user quotas. This is the default.
149 ¥æ¡¼¥¶¡¼¤Î quota ¤ÎÁàºî¤ò¹Ô¤Ê¤¦¡£¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
150 .TP
151 .B \-g
152 .\"O Manipulate group quotas.
153 ¥°¥ë¡¼¥×¤Î quota ¤ÎÁàºî¤ò¹Ô¤Ê¤¦¡£
154 .TP
155 .B \-p
156 .\"O Instead of turning quotas on just print state of quotas (ie. whether. quota is on or off)
157 quota ¤òÍ­¸ú¤Ë¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
158 quota ¤Î¾õÂÖ (¤Ä¤Þ¤ê quota ¤¬Í­¸ú¤«Ìµ¸ú¤«) ¤Îɽ¼¨¤À¤±¤ò¹Ô¤¦¡£
159 .TP
160 .B \-f
161 .\"O Make
162 .\"O .B quotaon
163 .\"O behave like being called as
164 .\"O .BR quotaoff .
165 .B quotaoff
166 ¤¬¸Æ¤Ð¤ì¤¿¤«¤Î¤è¤¦¤Ë¡¢
167 .B quotaon
168 ¤òÆ°ºî¤µ¤»¤ë¡£
169 .SS quotaoff
170 .TP
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:
176 .\"O .B vfsold
177 .\"O (version 1 quota),
178 .\"O .B vfsv0
179 .\"O (version 2 quota),
180 .\"O .B xfs
181 .\"O (quota on XFS filesystem)
182 »ØÄê²Äǽ¤Ê¥Õ¥©¡¼¥Þ¥Ã¥È̾¤Ï°Ê²¼¤ÎÄ̤ê:
183 .B vfsold
184 (¥Ð¡¼¥¸¥ç¥ó 1 ¤Î quota),
185 .B vfsv0
186 (¥Ð¡¼¥¸¥ç¥ó 2 ¤Î quota),
187 .B xfs
188 (XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¾å¤Î quota)¡£
189 .TP
190 .B \-a
191 .\"O Force all filesystems in
192 .\"O .B /etc/fstab
193 .\"O to have their quotas disabled.
194 .B /etc/fstab
195 ¤Ë¤¢¤ëÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¤òÄä»ß¤¹¤ë¡£
196 .TP
197 .B \-v
198 .\"O Display a message for each filesystem affected.
199 quota ¤¬Ää»ß¤µ¤ì¤ë³Æ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àËè¤Ë¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤¹¤ë¡£
200 .TP
201 .B \-u
202 .\"O Manipulate user quotas. This is the default.
203 ¥æ¡¼¥¶¡¼¤Î quota ¤ÎÁàºî¤ò¹Ô¤Ê¤¦¡£¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
204 .TP
205 .B \-g
206 .\"O Manipulate group quotas.
207 ¥°¥ë¡¼¥×¤Î quota ¤ÎÁàºî¤ò¹Ô¤Ê¤¦¡£
208 .TP
209 .B \-p
210 .\"O Instead of turning quotas off just print state of quotas (ie. whether. quota is on or off)
211 quota ¤ò̵¸ú¤Ë¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢
212 quota ¤Î¾õÂÖ (¤Ä¤Þ¤ê quota ¤¬Í­¸ú¤«Ìµ¸ú¤«) ¤Îɽ¼¨¤À¤±¤ò¹Ô¤¦¡£
213 .TP
214 .B \-x delete
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 ¤ò̵¸ú¤Ë¤·¤¿¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë¤Î¤ß
225 »ÈÍѲÄǽ¤Ç¤¢¤ë¡£
226 .TP
227 .B \-x enforce
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
239 .\"O .IR mount (8)
240 .\"O or
241 .\"O .B /etc/fstab
242 .\"O quota option to enable both accounting and limit enforcement.
243 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¤òÍ­¸ú¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
244 .IR mount (8)
245 ¤Þ¤¿¤Ï
246 .B /etc/fstab
247 ¤Î quota ¥ª¥×¥·¥ç¥ó¤ò»È¤¤¡¢½¸·×¤ÈÀ©¸Â¤Î¶¯À©¤ÎξÊý¤òÍ­¸ú¤Ë¤¹¤ë¡£
248 .\"O .B quotaon
249 .\"O utility cannot be used for this purpose.
250 .B quotaon
251 ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢¤³¤ÎÌÜŪ¤Ë»È¤¦¤³¤È¤Ï¤Ç¤­¤Ê¤¤¡£
252 .PP
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
255 .\"O .B rootflags
256 .\"O boot option.
257 XFS ¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota ¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢
258 Linux ¤Î
259 .B rootflags
260 ¥Ö¡¼¥È¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¡¢
261 ¥Ö¡¼¥È»þ¤Ë¥«¡¼¥Í¥ë¤Ë quota ¤Î¥Þ¥¦¥ó¥È¥ª¥×¥·¥ç¥ó¤òÅϤ¹É¬Íפ¬¤¢¤ë¡£
262 .PP
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 À©¸Â¤Î¶¯À©¤ò̵¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢
267 .B "repquota -s"
268 ¤ò»È¤Ã¤Æ quota ¤Î½¸·×¤È¶¯À©¤¬¤È¤â¤ËÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤»¤è¡£
269 .\"O Then, use
270 .\"O .B "quotaoff -vo"
271 .\"O to disable limit enforcement.
272 ¤½¤ì¤«¤é
273 .B "quotaoff -vo"
274 ¤ò»È¤Ã¤ÆÀ©¸Â¤Î¶¯À©¤ò̵¸ú¤Ë¤¹¤ë¤³¤È¡£
275 .\"O This may be done while the filesystem is mounted.
276 ¤³¤ì¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë´Ö¤Ë¤â¼Â¹Ô¤Ç¤­¤ë¡£
277 .PP
278 .\"O Turning on quota limit enforcement on an XFS filesystem is
279 .\"O achieved using
280 .\"O .BR "quotaon -v" .
281 XFS ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î quota À©¸Â¤Î¶¯À©¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢
282 .B "quotaon -v"
283 ¤ò»È¤¦¡£
284 .\"O This may be done while the filesystem is mounted.
285 ¤³¤ì¤Ï¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤¬¥Þ¥¦¥ó¥È¤µ¤ì¤Æ¤¤¤ë´Ö¤Ë¤â¼Â¹Ô¤Ç¤­¤ë¡£
286 .\"O .SH FILES
287 .SH ¥Õ¥¡¥¤¥ë
288 .PD 0
289 .TP 20
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 °Ê³°¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à)¡£
295 .TP
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 °Ê³°¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à)¡£
301 .TP
302 .B /etc/fstab
303 .\"O default filesystems
304 ¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¡£
305 .PD
306 .\"O .SH "SEE ALSO"
307 .SH ´ØÏ¢¹àÌÜ
308 .BR quotactl (2),
309 .BR fstab (5),
310 .BR repquota (8).