[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.1, Mon Apr 24 19:46:05 2000 UTC (17 years, 6 months ago) by cattelan
Branch: MAIN

Added man pages

<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.15  -->
<!-- CreationDate: Mon Apr 24 10:40:32 2000
 -->
<!-- Total number of pages: 1 -->
<!-- Page: 1 -->
<!-- left  margin: 100 -->
<!-- right margin: 750 -->
<a name="NAME"></a><h2>NAME</h2><p><font size=3>xfs_estimate - estimate the space that an XFS filesystem will take</p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><p><font size=3><B>xfs_estimate</B> <font size=3>[ <font size=3><B>-h?</B> <font size=3>] [ <font size=3><B>-b</B> <font size=3>blocksize ] [ <font size=3><B>-i</B> <font size=3>logsize ] [ <font size=3><B>-e</B> <font size=3>logsize ] [ <font size=3><B>-v</B> <font size=3>] directory ...</p>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p><font size=3>For each <font size=3><I>directory</I> <font size=3>argument, <font size=3><I>xfs_estimate</I> <font size=3>estimates the space that directory would take if it were copied to an XFS filesystem. <font size=3><I>xfs_estimate</I> <font size=3>does not cross mount points. The following definitions are used:<br>
<span style=" text-indent: 1.3000in;"></span>KB = *1024<br>
<span style=" text-indent: 1.3000in;"></span>MB = *1024*1024<br>
<span style=" text-indent: 1.3000in;"></span>GB = *1024*1024*1024</p>
<p><font size=3>The <font size=3><I>xfs_estimate</I> <font size=3>options are:</p>

<table width="100%"  rules="none"  frame="none"  cols="3">
<tr valign="top" align="left">
<td valign="top" align="left"  width="11.8462%">
<p><font size=3><B>-b</B> <font size=3><I>blocksize</p>
</I></td>
<td valign="top" align="left"  width="8.1538%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Use <font size=3><I>blocksize</I> <font size=3>instead of the default blocksize of 4096 bytes. The modifier <font size=3><B>k</B> <font size=3>can be used after the number to indicate multiplication by 1024. For example,</p>
<p><span style=" text-indent: 0.5000in;"></span><font size=3><EM>xfs_estimate -b 64k /</p>
</EM><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.</p>
</td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="11.8462%">
<p><font size=3><B>-v</p>
</B><p><font size=3><B>-h</p>
</B><p><font size=3><B>-?</p>
</B><p><font size=3><B>-i, -e</B> <font size=3><I>logsize</p>
</I></td>
<td valign="top" align="left"  width="8.1538%">
</td>
<td valign="top" align="left"  width="80.0000%">
<p><font size=3>Display more information, formatted.</p>
<p><font size=3>Display usage message.</p>
<p><font size=3>Display usage message.</p>
<p><font size=3>Use <font size=3><I>logsize</I> <font size=3>instead of the default log size of 10 MB. <font size=3><B>-i</B> <font size=3>refers to an internal log, while <font size=3><B>-e</B> <font size=3>refers to an external log. The modifiers <font size=3><B>k</B> <font size=3>or <font size=3><B>m</B> <font size=3>can be used after the number to indicate multiplication by 1024 or 1048576, respectively.</p>
<p><font size=3>For example,</p>
<p><span style=" text-indent: 0.5000in;"></span><font size=3><EM>xfs_estimate -i 1m /</p>
</EM><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.</p>
</td>
</tr>
</table>
<p><font size=3>If <font size=3><EM>xfs_estimate</EM> <font size=3>is run on an XFS filesystem, the estimate is less reliable than on an EFS filesystem.</p>
<a name="EXAMPLES"></a><h2>EXAMPLES</h2>
<table width="100%"  rules="none"  frame="none"  cols="2">
<tr valign="top" align="left">
<td valign="top" align="left"  width="63.8462%">
<p><font size=3>% <font size=3><EM>xfs_estimate -e 10m /var/tmp</EM> <font size=3><I>/var/tmp will take about 4.2 megabytes<br>
<span style=" text-indent: 0.2400in;"></span>with the external log using 2560 blocks or about 10.0 megabytes</p>
</I><p><font size=3><I>%</I> <font size=3><EM>xfs_estimate -v -e 10m /var/tmp</EM> <font size=3><I>directory bsize blocks</p>
</I></td>
<td valign="top" align="left"  width="35.6923%">
<p><font size=3><I>blocks megabytes logsize /var/tmp</p>
</I></td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="63.8462%">
<p><font size=3><I>4096 792 4.0MB 10485760</p>
</I><p><font size=3><I>%</I> <font size=3><EM>xfs_estimate -v /var/tmp</EM> <font size=3><I>directory bsize blocks megabytes</p>
</I></td>
<td valign="top" align="left"  width="29.5385%">
<p><font size=3><I>logsize /var/tmp 4096</p>
</I></td>
</tr>
<tr valign="top" align="left">
<td valign="top" align="left"  width="63.8462%">
<p><font size=3><I>3352 14.0MB 10485760</p>
</I><p><font size=3><I>%</I> <font size=3><EM>xfs_estimate /var/tmp</EM> <font size=3><I>/var/tmp will take about 14.0 megabytes</p>
</I></td>
<td valign="top" align="left"  width="36.1538%">
</td>
</tr>
</table>
</body>
</html>