[BACK]Return to quotacheck.html CVS log [TXT][DIR] Up to [Development] / xfs-website.orig / manpages

File: [Development] / xfs-website.orig / manpages / quotacheck.html (download) (as text)

Revision 1.1, Thu Jan 25 19:55:30 2001 UTC (16 years, 9 months ago) by xfs
Branch: MAIN
CVS Tags: HEAD

Man pages update.

<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="#OPTIONS">OPTIONS</a><br>
<a href="#NOTE">NOTE</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<a href="#FILES">FILES</a><br>
<a href="#quota.user or quota.group">quota.user or quota.group</a><br>
<a href="#AUTHOR">AUTHOR</a><br>
<!-- Creator     : groff version 1.16.1  -->
<!-- CreationDate: Wed Jan 24 01:42:50 2001
 -->
<!-- Total number of pages: 1 -->
<!-- Page: 1 -->
<!-- left  margin: 220 -->
<!-- right margin: 750 -->
<a name="NAME"></a><h2>NAME</h2><p style="margin-left: 18%"><font size=3>quotacheck - scan a filesystem for disk usages</font></p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><p style="margin-left: 18%"><font size=3><B>quotacheck</B></font> <font size=3>[&shy;g] [&shy;u] [&shy;v] &shy;a<br>
<B>quotacheck</B></font> <font size=3>[&shy;g] [&shy;u] [&shy;v] filesys ...</font></p>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p style="margin-left: 18%"><font size=3><I>Quotacheck</I></font> <font size=3>performs a filesystems scan for usage of files and directories, used by either user or group. XFS filesystems are ignored by</font> <font size=3><I>quotacheck</I></font><font size=3>, since the XFS quota system is journalled and therefore inherently consistent.</font></p>
<p style="margin-left: 18%"><font size=3>The output is the quota file for the corresponding filesystem. By default the names for these files are:<br>
- A user scan:</font> <font size=3><I>quota.user<br>
</I>- A group scan:</font> <font size=3><I>quota.group</I></font></p>
<p style="margin-left: 18%"><font size=3>The resulting file consists of a</font> <font size=3><I>struct dqblk</I></font> <font size=3>for each possible id up to the highest existing uid or gid and contains the values for the disk file and block usage and possibly excess time for these values. ( for definitions of</font> <font size=3><I>struct dqblk</I></font> <font size=3>see</font> <font size=3><I>&lt;linux/quota.h&gt;</I></font> <font size=3>)</font></p>
<p style="margin-left: 18%"><font size=3><I>Quotacheck</I></font> <font size=3>should be run each time the system boots and mounts non&shy;valid filesystems. This is most likely to happen after a system crash.</font></p>
<p style="margin-left: 18%"><font size=3>The speed of the scan decreases with the number of directories increasing. The time needed doubles when disk usage is doubled as well. A 100 MB partition used for 94% is scanned in 1 minute, the same partition used for 50% is done in 25 seconds.</font></p>
<a name="OPTIONS"></a><h2>OPTIONS</h2>
<table width="99%" rules="none" frame="none" cols="3" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="18%">
<p><font size=3><B>-v</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>This way the program will give some useful information about what it is doing, plus some fancy stuff.</font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="18%">
<p><font size=3><B>-d</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>This means debug. It will result in a lot of information which can be used in debugging the program. The output is very verbose and the scan will not be fast.</font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="18%">
<p><font size=3><B>-u</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>This flag tells the program to scan the disk and to count the files and directories used by a certain uid. This is the default action.</font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="18%">
<p><font size=3><B>-g</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>This flag forces the program to count the files and directories used by a certain gid.</font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="18%">
<p><font size=3><B>-a</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Check all of the quotas for the filesystems mentioned in /etc/fstab. Both user and group quotas are checked as indicated by the /etc/fstab options.</font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="18%">
<p><font size=3><B>-R</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>When used in conjunction with</font> <font size=3><B>-a</B></font><font size=3>, all filesystems except the root filesystem are checked for quotas.</font></p>
</td>
</tr>
</table>
<a name="NOTE"></a><h2>NOTE</h2><p style="margin-left: 18%"><font size=3><I>Quotacheck</I></font> <font size=3>should only be run as Super User. Non&shy;privilidged users are presumably not allowed to read all the directories on the given filesystem.</font></p>
<a name="SEE ALSO"></a><h2>SEE ALSO</h2><p style="margin-left: 18%"><font size=3>quota(1), quotactl(2), fstab(5), quotaon(8), quotaoff(8), edquota(8), repquota(8), fsck(8)</font></p>
<a name="FILES"></a><h2>FILES</h2><a name="quota.user or quota.group"></a><h2>quota.user or quota.group</h2>
<table width="99%" rules="none" frame="none" cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="36%">
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>quota file at the filesystem root</font></p>
</td>
</tr>
</table>

<table width="99%" rules="none" frame="none" cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="81%">
<p><font size=3><B>/etc/fstab</B></font></p>
</td>
</tr>
</table>
<a name="AUTHOR"></a><h2>AUTHOR</h2><p style="margin-left: 18%"><font size=3>Edvard Tuinder &lt;ed@elm.net&gt;<br>
Marco van Wieringen &lt;mvw@planets.elm.net&gt;</font><br>
</p>
</body>
</html>