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

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

Revision 1.4, Thu Jan 25 19:55:31 2001 UTC (16 years, 8 months ago) by xfs
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +72 -78 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="#PRACTICAL USE">PRACTICAL USE</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<!-- Creator     : groff version 1.16.1  -->
<!-- CreationDate: Wed Jan 24 01:42:53 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_growfs, xfs_info - expand an XFS filesystem</font></p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><p style="margin-left: 18%"><font size=3><B>xfs_growfs</B></font> <font size=3>[</font> <font size=3><B>-dilnrxV</B></font> <font size=3>] [</font> <font size=3><B>-D</B></font> <font size=3>size ] [</font> <font size=3><B>-e</B></font> <font size=3>rtextsize ]</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="33%">
</p>
</td>
<td valign="top" align="left" width="66%">
<p><font size=3>[</font> <font size=3><B>-L</B></font> <font size=3>size ] [</font> <font size=3><B>-m</B></font> <font size=3>maxpct ] [</font> <font size=3><B>&shy;t</B></font> <font size=3>mtab ]</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="33%">
</p>
</td>
<td valign="top" align="left" width="66%">
<p><font size=3>[</font> <font size=3><B>-R</B></font> <font size=3>size ] mount&shy;point</font></p>
</td>
</tr>
</table>
<br>
<font size=3><B>xfs_info</B></font> <font size=3>[</font> <font size=3><B>&shy;t</B></font> <font size=3>mtab ] mount&shy;point</font></p>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p style="margin-left: 18%"><font size=3><I>xfs_growfs</I></font> <font size=3>expands an existing XFS filesystem (see</font> <font size=3><I>xfs</I></font><font size=3>(5)). The</font> <font size=3><I>mount&shy;point</I></font> <font size=3>argument is the pathname of the directory where the filesystem is mounted. The filesystem must be mounted to be grown (see</font> <font size=3><I>mount</I></font><font size=3>(8)). The existing contents of the filesystem are undisturbed, and the added space becomes available for additional file storage.</font></p>
<p style="margin-left: 18%"><font size=3><I>xfs_info</I></font> <font size=3>is equivalent to invoking</font> <font size=3><I>xfs_growfs</I></font> <font size=3>with the</font> <font size=3><B>-n</B></font> <font size=3>option (see discussion below).</font></p>
<p style="margin-left: 18%"><font size=3>The options to</font> <font size=3><I>xfs_growfs</I></font> <font size=3>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>-d</B></font><font size=3>,</font> <font size=3><B>-D</B></font> <font size=3><I>size</I></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Specifies that the data section of the filesystem should be grown. If the</font> <font size=3><B>-D</B></font> <font size=3><I>size</I></font> <font size=3>option is given, the data section is grown to that size, otherwise the data section is grown to the largest size possible. The size is expressed in filesystem blocks.</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>-e</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Allows the real&shy;time extent size to be specified. In</font> <font size=3><I>mkfs.xfs</I></font><font size=3>(8) this is specified with</font> <font size=3><B>-r extsize=</B></font><font size=3><I>nnnn.</I></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>-i</B></font></p>
<p><font size=3><B>-l</B></font><font size=3>,</font> <font size=3><B>-L</B></font> <font size=3><I>size</I></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>The new log is an internal log (inside the data section).</font></p>
<p><font size=3>Specifies that the log section of the filesystem should be grown, shrunk, or moved. If the</font> <font size=3><B>-L</B></font> <font size=3><I>size</I></font> <font size=3>option is given, the log section is changed to be that size, if possible. The size is expressed in filesystem blocks. The size of an internal log must be smaller than the size of an allocation group (this value is printed at</font> <font size=3><I>mkfs</I></font><font size=3>(8) time). If neither</font> <font size=3><B>-i</B></font> <font size=3>nor</font> <font size=3><B>-x</B></font> <font size=3>is given with</font> <font size=3><B>-l</B></font><font size=3>, the log continues to be internal or external as it was before.</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>-m</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Specify a new value for the maximum percentage of space in the filesystem that can be allocated as inodes. In</font> <font size=3><I>mkfs.xfs</I></font> <font size=3>this is specified with</font> <font size=3><B>&shy;i maxpct=</B></font><font size=3><I>nn.</I></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>-n</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Specifies that no change to the filesystem is to be made. The filesystem geometry is printed, and argument checking is performed, but no growth occurs.</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><font size=3>,</font> <font size=3><B>-R</B></font> <font size=3><I>size</I></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Specifies that the real&shy;time section of the filesystem should be grown. If the</font> <font size=3><B>-R</B></font> <font size=3><I>size</I></font> <font size=3>option is given, the real&shy;time section is grown to that size, otherwise the real&shy;time section is grown to the largest size possible. The size is expressed in filesystem blocks. The filesystem does not need to have contained a real&shy;time section before the</font> <font size=3><I>xfs_growfs</I></font> <font size=3>operation.</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>-t</B></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Specifies an alternate mount table file (default is</font> <font size=3><I>/etc/mtab</I></font><font size=3>). This is used when working with filesystems mounted without writing to</font> <font size=3><I>/etc/mtab</I></font> <font size=3>file &shy; refer to</font> <font size=3><B>mount</B></font><font size=3>(8) for further details.</font></p>
<p><font size=3><I>xfs_growfs<br>
</I>is most often used in conjunction with logical volumes (see</font> <font size=3><I>lvm</I></font><font size=3>(8) ). However, it can also be used on a regular disk partition, for example if a partition has been enlarged while retaining the same starting block.</font></p>
</td>
</tr>
</table>
</p>
<a name="PRACTICAL USE"></a><h2>PRACTICAL USE</h2><p style="margin-left: 18%"><font size=3>Filesystems normally occupy all of the space on the device where they reside. In order to grow a filesystem, it is necessary to provide added space for it to occupy. Therefore there must be at least one spare new disk partition available. Adding the space is done through the mechanism of logical volumes.</font></p>
<a name="SEE ALSO"></a><h2>SEE ALSO</h2><p style="margin-left: 18%"><font size=3>mkfs.xfs(8), lvm(8), mount(8).</font><br>
</p>
</body>
</html>