<html>
<head>
<meta name="Content-Style" content="text/css">
</head>
<body>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#quotaon">quotaon</a><br>
<a href="#quotaoff">quotaoff</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#quotaon">quotaon</a><br>
<a href="#quotaoff">quotaoff</a><br>
<a href="#EXAMPLES">EXAMPLES</a><br>
<a href="#Turning on quotas on a non­root XFS filesystem">Turning on quotas on a non­root XFS filesystem</a><br>
<a href="#Turning on quotas on an XFS root filesystem">Turning on quotas on an XFS root filesystem</a><br>
<a href="#Turning off quota limit enforcement on any XFS filesystem">Turning off quota limit enforcement on any XFS filesystem</a><br>
<a href="#Turning on quota limit enforcement on any XFS filesystem">Turning on quota limit enforcement on any XFS filesystem</a><br>
<a href="#FILES">FILES</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<!-- Creator : groff version 1.16.1 -->
<!-- CreationDate: Wed Jan 24 01:42:50 2001
-->
<!-- Total number of pages: 2 -->
<!-- Page: 1 -->
<!-- left margin: 220 -->
<!-- right margin: 750 -->
<a name="NAME"></a><h2>NAME</h2><p style="margin-left: 18%"><font size=3>quotaon, quotaoff - turn filesystem quotas on and off</font></p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><p style="margin-left: 18%"><font size=3><B>/usr/sbin/quotaon</B></font> <font size=3>[</font> <font size=3><B>-vug</B></font> <font size=3>]</font> <font size=3><I>filesystem</I></font><font size=3>...<br>
<B>/usr/sbin/quotaon</B></font> <font size=3>[</font> <font size=3><B>-avug</B></font> <font size=3>]</font></p>
<p style="margin-left: 18%"><font size=3><B>/usr/sbin/quotaoff</B></font> <font size=3>[</font> <font size=3><B>-vugdo</B></font> <font size=3>]</font> <font size=3><I>filesystem</I></font><font size=3>...<br>
<B>/usr/sbin/quotaoff</B></font> <font size=3>[</font> <font size=3><B>-avugdo</B></font> <font size=3>]</font></p>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><a name="quotaon"></a><h2>quotaon</h2><p style="margin-left: 16%"><font size=3><B>quotaon</B></font> <font size=3>announces to the system that disk quotas should be enabled on one or more filesystems. The filesystem quota files must be present in the root directory of the specified filesystem and be named</font> <font size=3><I>quota.user</I></font> <font size=3>for userquota or</font> <font size=3><I>quota.group</I></font> <font size=3>for groupquota.</font></p>
<p style="margin-left: 16%"><font size=3>XFS filesystems are a special case ­ XFS considers quota information as filesystem metadata and uses journalling to provide a higher level guarantee of consistency. There are two components to the XFS disk quota system: accounting and limit enforcement. Except in the case of the root filesystem, XFS filesystems require that quota accounting be turned on at mount time. It is possible to enable and disable limit enforcement on any XFS filesystem after quota accounting is already turned on. The default is to turn on both accounting and enforcement.</font></p>
<p style="margin-left: 16%"><font size=3>The XFS quota implementation does not maintain quota information in</font> <font size=3><I>quota.user</I></font> <font size=3>and</font> <font size=3><I>quota.group</I></font> <font size=3>files, but rather stores this information internally.</font></p>
<a name="quotaoff"></a><h2>quotaoff</h2><p style="margin-left: 16%"><font size=3><B>quotaoff</B></font> <font size=3>announces to the system that the specified filesystems should have any disk quotas turned off.</font></p>
<a name="OPTIONS"></a><h2>OPTIONS</h2><a name="quotaon"></a><h2>quotaon</h2>
<table width="98%" rules="none" frame="none" cols="4" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="16%">
</td>
<td valign="top" align="left" width="2%">
<p><font size=3><B>-a</B></font></p>
</td>
<td valign="top" align="left" width="16%">
</td>
<td valign="top" align="left" width="64%">
<p><font size=3>All filesystems in</font> <font size=3><B>/etc/fstab</B></font> <font size=3>marked read­write with quotas will have their quotas turned on. This is normally used at boot time to enable quotas.</font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="16%">
</td>
<td valign="top" align="left" width="2%">
<p><font size=3><B>-v</B></font></p>
<p><font size=3><B>-u</B></font></p>
<p><font size=3><B>-g</B></font></p>
</td>
<td valign="top" align="left" width="16%">
</td>
<td valign="top" align="left" width="64%">
<p><font size=3>Display a message for each filesystem where quotas are turned on. Manipulate user quotas. This is the default.</font></p>
<p><font size=3>Manipulate group quotas.</font></p>
</td>
</tr>
</table>
<a name="quotaoff"></a><h2>quotaoff</h2>
<table width="98%" rules="none" frame="none" cols="4" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="16%">
</td>
<td valign="top" align="left" width="2%">
<p><font size=3><B>-a</B></font></p>
<p><font size=3><B>-v</B></font></p>
<p><font size=3><B>-u</B></font></p>
<p><font size=3><B>-g</B></font></p>
<p><font size=3><B>-d</B></font></p>
</td>
<td valign="top" align="left" width="16%">
</td>
<td valign="top" align="left" width="64%">
<p><font size=3>Force all filesystems in</font> <font size=3><B>/etc/fstab</B></font> <font size=3>to have their quotas disabled.</font></p>
<p><font size=3>Display a message for each filesystem affected.</font></p>
<p><font size=3>Manipulate user quotas. This is the default.</font></p>
<p><font size=3>Manipulate group quotas.</font></p>
<p><font size=3>Free up the space used to hold quota information (maintained internally) within XFS. This option is only applicable to XFS, and is silently ignored for other filesystem types.</font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="16%">
</td>
<td valign="top" align="left" width="2%">
<p><font size=3><B>-o</B></font></p>
</td>
<td valign="top" align="left" width="16%">
</td>
<td valign="top" align="left" width="64%">
<p><font size=3>Switch off limit enforcement for XFS filesystems (perform quota accounting only). This option is only applicable to XFS, and is silently ignored for other filesystem types.</font></p>
</td>
</tr>
</table>
<a name="EXAMPLES"></a><h2>EXAMPLES</h2><a name="Turning on quotas on a non­root XFS filesystem"></a><h2>Turning on quotas on a non­root XFS filesystem</h2><p style="margin-left: 18%"><font size=3>Use</font> <font size=3><I>mount</I></font><font size=3>(8) or</font> <font size=3><B>/etc/fstab</B></font> <font size=3>option quota to enable both accounting and limit enforcement.</font> <font size=3><B>quotaon</B></font> <font size=3>utility cannot be used for this purpose.</font></p>
<a name="Turning on quotas on an XFS root filesystem"></a><h2>Turning on quotas on an XFS root filesystem</h2><p style="margin-left: 18%"><font size=3>Use</font> <font size=3><B>quotaon ­v /</B></font><font size=3>, and</font> <font size=3><I>reboot</I></font><font size=3>(8). This procedure will enable both accounting and limit enforcement.</font></p>
<a name="Turning off quota limit enforcement on any XFS filesystem"></a><h2>Turning off quota limit enforcement on any XFS filesystem</h2><p style="margin-left: 18%"><font size=3>Make sure that quota accounting and enforcement are both turned on using</font> <font size=3><B>repquota ­s</B></font><font size=3>. Use</font> <font size=3><B>quotaoff ­vo</B></font> <font size=3>to disable limit enforcement. This may be done while the filesystem is mounted.</font><br>
</p>
<!-- Page: 2 -->
<!-- left margin: 220 -->
<!-- right margin: 750 -->
<a name="Turning on quota limit enforcement on any XFS filesystem"></a><h2>Turning on quota limit enforcement on any XFS filesystem</h2><p style="margin-left: 18%"><font size=3>Make sure that quota accounting is turned on using</font> <font size=3><B>repquota ­s</B></font><font size=3>. Use</font> <font size=3><B>quotaon ­v</B></font><font size=3>. This may be done while the filesystem is mounted.</font></p>
<a name="FILES"></a><h2>FILES</h2>
<table width="98%" rules="none" frame="none" cols="5" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="10%">
<p><font size=3><B>quota.user<br>
quota.group /etc/fstab</B></font></p>
</td>
<td valign="top" align="left" width="7%">
</td>
<td valign="top" align="left" width="29%">
<p><font size=3>user quota file at filesystem root<br>
group quota file at filesystem root<br>
default filesystems</font></p>
</td>
<td valign="top" align="left" width="34%">
</td>
</tr>
</table>
<a name="SEE ALSO"></a><h2>SEE ALSO</h2><p style="margin-left: 18%"><font size=3><B>quotactl</B></font><font size=3>(2),</font> <font size=3><B>fstab</B></font><font size=3>(5),</font> <font size=3><B>repquota</B></font><font size=3>(8).</font><br>
</p>
</body>
</html>