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

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

Revision 1.4, Thu Jan 25 19:55:31 2001 UTC (16 years, 9 months ago) by xfs
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +104 -62 lines

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="#EXAMPLES">EXAMPLES</a><br>
<!-- Creator     : groff version 1.16.1  -->
<!-- CreationDate: Wed Jan 24 01:42:51 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>xfs_estimate - estimate the space that an XFS filesystem will take</font></p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><p style="margin-left: 18%"><font size=3><B>xfs_estimate</B></font> <font size=3>[</font> <font size=3><B>-h?</B></font> <font size=3>] [</font> <font size=3><B>-b</B></font> <font size=3>blocksize ] [</font> <font size=3><B>-i</B></font> <font size=3>logsize ] [</font> <font size=3><B>-e</B></font> <font size=3>logsize ] [</font> <font size=3><B>-v</B></font> <font size=3>] directory ...</font></p>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p style="margin-left: 18%"><font size=3>For each</font> <font size=3><I>directory</I></font> <font size=3>argument,</font> <font size=3><I>xfs_estimate</I></font> <font size=3>estimates the space that directory would take if it were copied to an XFS filesystem.</font> <font size=3><I>xfs_estimate</I></font> <font size=3>does not cross mount points. The following definitions are used:</font>
<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%">
</p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>KB = *1024</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="36%">
</p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>MB = *1024*1024</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="36%">
</p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>GB = *1024*1024*1024</font></p>
</td>
</tr>
</table>
</p>
<p style="margin-left: 18%"><font size=3>The</font> <font size=3><I>xfs_estimate</I></font> <font size=3>options are:</font>
<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%">
</p>
</td>
<td valign="top" align="left" width="18%">
<p><font size=3><B>-b</B></font> <font size=3><I>blocksize</I></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Use</font> <font size=3><I>blocksize</I></font> <font size=3>instead of the default blocksize of 4096 bytes. The modifier</font> <font size=3><B>k</B></font> <font size=3>can be used after the number to indicate multiplication by 1024. For example,</font></p>
<p><span style=" text-indent: 7%;"></span><font size=3><EM>xfs_estimate &shy;b 64k /</EM></font></p>
<p><font size=3>requests an estimate of the space required by the directory / on an XFS filesystem using a blocksize of 64K (65536) bytes.</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>-v</B></font></p>
<p><font size=3><B>-h</B></font></p>
<p><font size=3><B>-?</B></font></p>
<p><font size=3><B>-i, -e</B></font> <font size=3><I>logsize</I></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Display more information, formatted.</font></p>
<p><font size=3>Display usage message.</font></p>
<p><font size=3>Display usage message.</font></p>
<p><font size=3>Use</font> <font size=3><I>logsize</I></font> <font size=3>instead of the default log size of 10 MB.</font> <font size=3><B>-i</B></font> <font size=3>refers to an internal log, while</font> <font size=3><B>-e</B></font> <font size=3>refers to an external log. The modifiers</font> <font size=3><B>k</B></font> <font size=3>or</font> <font size=3><B>m</B></font> <font size=3>can be used after the number to indicate multiplication by 1024 or 1048576, respectively.</font></p>
<p><font size=3>For example,</font></p>
<p><span style=" text-indent: 7%;"></span><font size=3><EM>xfs_estimate &shy;i 1m /</EM></font></p>
<p><font size=3>requests an estimate of the space required by the directory / on an XFS filesystem using an internal log of 1 megabyte.</font></p>
</td>
</tr>
</table>
</p>
<a name="EXAMPLES"></a><h2>EXAMPLES</h2>
<table width="99%" rules="none" frame="none" cols="4" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="73%">
<p><font size=3>%</font> <font size=3><EM>xfs_estimate &shy;e 10m /var/tmp</EM></font> <font size=3><I>/var/tmp will take about 4.2 megabytes<br>
<span style=" text-indent: 3%;"></span>with the external log using 2560 blocks or about 10.0 megabytes</I></font></p>
</td>
<td valign="top" align="left" width="2%">
</td>
<td valign="top" align="left" width="6%">
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="73%">
<p><font size=3><I>%</I></font> <font size=3><EM>xfs_estimate &shy;v &shy;e 10m /var/tmp</EM></font> <font size=3><I>directory bsize blocks megabytes<br>
/var/tmp 4096 792 4.0MB 10485760</I></font></p>
</td>
<td valign="top" align="left" width="2%">
</td>
<td valign="top" align="left" width="6%">
<p><font size=3><I>logsize</I></font></p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="73%">
<p><font size=3><I>%</I></font> <font size=3><EM>xfs_estimate &shy;v /var/tmp</EM></font> <font size=3><I>directory bsize blocks megabytes<br>
/var/tmp 4096 3352 14.0MB 10485760</I></font></p>
<p><font size=3><I>%</I></font> <font size=3><EM>xfs_estimate /var/tmp</EM></font> <font size=3><I>/var/tmp will take about 14.0 megabytes</I></font></p>
</td>
<td valign="top" align="left" width="2%">
</td>
<td valign="top" align="left" width="6%">
<p><font size=3><I>logsize</I></font></p>
</td>
</tr>
</table>
</body>
</html>