<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Transitional//EN">
<HTML>
<HEAD>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

      For third-party license citations, please see the bottom of this file.
    *************************************************************************************
  -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="TEMPLATEBASE" content="vx_vxhelp_2005c">
<meta name="LASTUPDATED" content="06/13/05 10:02:17">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="A.quickstart.fm">
     
<title>Resizing a File System</title>

</HEAD>

<BODY bgcolor="#FFFFFF" link="#000066" vlink="#0000ff" marginheight="0" topmargin="0">
<basefont=1>

<a name="125934"></a>

<div align="left">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
   <td height="2" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#000000">
   </td>
 </tr>
 <tr>
   <td height="15" width="50%" border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc">
    <img src="images/vxsymbol.gif" height="20" width="31" border="0" cellspacing="0" cellpadding="0" align="left">
     
     
   </td>
   <td align="right" width="50%" bgcolor="#cccccc">

<!-- Header Breadcrumbs -->
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="A_quickstart_vxfs100_331072.html" title="Previous - Identifying File System Types">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="A_quickstart_vxfs102_75496.html" title="Next - Backing Up and Restoring a File System">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
   </td>
 </tr>

 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vxfs_splashpage_docCD_vxfs1_103036.vxhd" title="File System Guides title page ">File System Guides</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>
 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="vxfs_admin_titlepage_docCD_vxfs2_73700.vxhd" title="File System 4.1 Administrator's Guide title page ">File System 4.1 Administrator's Guide</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>


</table>
</div>

<div align="left">
 <table border="0" width="100%" bgcolor="#FFFFFF">
  <tr>
   <td width="100%" valign="top" bgcolor="#FFFFFF">

<!-- Start Main Topic Content -->
        <a name="startcontent"></a>
	
<h1><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="+1" color="#000000"><a name="125934"></a> Resizing a File System</font>
</h1>
         
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="476827"></a>You can extend or shrink mounted VxFS file systems using the <font face="Courier New, Courier, sansserif, sans serif" size="2">fsadm</font> command. Use the <font face="Courier New, Courier, sansserif, sans serif" size="2">extendfs</font> command to extend the size of an unmounted file system. A file system using the Version 4 disk layout can be up to two terabytes in size. A file system using the Version 5 disk layout can be up to 32 terabytes in size. A file system using the Version 6 disk layout can be up to 256 terabytes in size. The size to which a Version 5 or Version 6 disk layout file system can be increased depends on the file system block size (as shown in the tables under <a href="C_layout_vxfs110_129207.html#129207">VxFS Version 5 Disk Layout</a> and <a href="C_layout_vxfs111_83439.html#83439">VxFS Version 6 Disk Layout</a>). See the following manual pages for more information about resizing file systems:</font>
</p>

<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="476834"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">extendfs</font>(1M) </font>
</blockquote>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75356"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">fsadm_vxfs</font>(1M)</font>
</blockquote>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="75359"></a>How to Extend a File System Using fsadm</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="476895"></a>If a VxFS file system is not large enough, you can increase its size. The size of the file system is specified in units of 1024-byte blocks (or sectors).</font>
</p>

<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="75368"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">If a file system is full, busy, or too fragmented,  the resize operation may fail.
</font>
<hr noshade size="2" width="100%" color="#000000">
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75369"></a>To extend a VxFS file system, use the syntax:</font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119568"></a>	fsadm [-F vxfs] [-b <em>newsize</em>] [-r <em>rawdev</em>] <em>mount_point</em>
<Table width="100%" border="0" cellpadding="1" cellspacing="0" >
<tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119572"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">vxfs</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119575"></a>The file system type.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119577"></a><em>newsize</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119579"></a>The size (in sectors) to which the file system will increase.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119581"></a><em>mount_point</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119583"></a>The file system's mount point.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119585"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-r</font><em> </em><em>rawdev</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="119587"></a>Specifies the path name of the raw device if there is no entry in <font face="Courier New, Courier, sansserif, sans serif" size="2">/etc/fstab</font> and <font face="Courier New, Courier, sansserif, sans serif" size="2">fsadm</font> cannot determine the raw device.</font>
</p>

</td></tr>
</Table>


<Table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td>
</Table></font>
</p>

<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="476955"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">The device must have enough space to contain the larger file system. See the <font face="Courier New, Courier, sansserif, sans serif" size="2">format</font>(1M) manual page or the <em>VERITAS Volume Manager Administrator's Guide</em> for more information.
</font>
<hr noshade size="2" width="100%" color="#000000">
<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="75392"></a><b>Example</b></font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75393"></a>To extend the VxFS file system mounted on <font face="Courier New, Courier, sansserif, sans serif" size="2">/ext</font> to 22528 sectors, enter:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="75394"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsadm&nbsp;-F&nbsp;vxfs&nbsp;-b&nbsp;22528&nbsp;/ext&nbsp;</b></font>
</font>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="75397"></a>How to Shrink a File System</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75398"></a>You can decrease the size of the file system using <font face="Courier New, Courier, sansserif, sans serif" size="2">fsadm</font>, even while the file system is mounted.</font>
</p>

<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="75399"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">In cases where data is allocated towards the end of the file system, shrinking may not be possible. If a file system is full, busy, or too fragmented,  the resize operation may fail.
</font>
<hr noshade size="2" width="100%" color="#000000">
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75400"></a>To decrease the size of a VxFS file system, use the syntax: </font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="75418"></a>&nbsp;fsadm&nbsp;[-F&nbsp;vxfs]&nbsp;[-b&nbsp;<em>newsize</em>]&nbsp;[-r&nbsp;<em>rawdev</em>]&nbsp;<em>mount_point</em>&nbsp;
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483335"></a>
<Table width="100%" border="0" cellpadding="1" cellspacing="0" >
<tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483367"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">vxfs</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483369"></a>The file system type.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483371"></a><em>newsize</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483373"></a>The size (in sectors) to which the file system will shrink.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483375"></a><em>mount_point</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483377"></a>The file system's mount point.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483379"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-r</font><em> </em><em>rawdev</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483381"></a>Specifies the path name of the raw device if there is no entry in <font face="Courier New, Courier, sansserif, sans serif" size="2">/etc/fstab</font> and <font face="Courier New, Courier, sansserif, sans serif" size="2">fsadm</font> cannot determine the raw device.</font>
</p>

</td></tr>
</Table>


<Table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td>
</Table></font>
</p>

<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="75419"></a><b>Example</b></font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75420"></a>To shrink a VxFS file system mounted at <font face="Courier New, Courier, sansserif, sans serif" size="2">/ext</font> to 20480 sectors, enter:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="75421"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsadm&nbsp;-F&nbsp;vxfs&nbsp;-b&nbsp;20480&nbsp;/ext&nbsp;</b></font>
</font>
<hr noshade size="2" width="100%" color="#000000">
<img src="images/caution.gif" alt="Caution " height="16" width="16">&nbsp;<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000"><a name="75422"></a><b>Caution  &nbsp;&nbsp;</b></font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000"> After this operation, there is unused space at the end of the device. You can then resize the device, but be careful not to make the device smaller than the new size of the file system.</font>
<hr noshade size="2" width="100%" color="#000000">



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="75427"></a>How to Reorganize a File System</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75428"></a>You can reorganize (or compact) a fragmented file system using <font face="Courier New, Courier, sansserif, sans serif" size="2">fsadm</font>, even while the file system is mounted. This may help shrink a file system that could not previously be decreased. </font>
</p>

<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="75429"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">If a file system is full or busy,  the reorg operation may fail.
</font>
<hr noshade size="2" width="100%" color="#000000">
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75430"></a>To reorganize a VxFS file system, use the syntax: </font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="75460"></a>&nbsp;fsadm&nbsp;[-F&nbsp;vxfs]&nbsp;[-e]&nbsp;[-d]&nbsp;[-E]&nbsp;[-D]&nbsp;[-r&nbsp;<em>rawdev</em>]&nbsp;<em>mount_point</em>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483470"></a>
<Table width="100%" border="0" cellpadding="1" cellspacing="0" >
<tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483498"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">vxfs</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483500"></a>The file system type</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483502"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-d</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483504"></a>Reorders directory entries to put subdirectory entries first, then all other entries in decreasing order of time of last access. Also compacts directories to remove free space.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483506"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-D</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483508"></a>Reports on directory fragmentation.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483510"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-e</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483512"></a>Minimizes file system fragmentation. Files are reorganized to have the minimum number of extents.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483514"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-E</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483516"></a>Reports on extent fragmentation.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483518"></a><em>mount_point</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483520"></a>The file system's mount point.</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483522"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-r</font><em> </em><em>rawdev</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483524"></a>Specifies the path name of the raw device if there is no entry in /etc/<font face="Courier New, Courier, sansserif, sans serif" size="2">fstab</font> and fsadm cannot determine the raw device.</font>
</p>

</td></tr>
</Table>


<Table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td>
</Table></font>
</p>

<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="75461"></a><b>Example</b></font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="75462"></a>To reorganize the VxFS file system mounted at <font face="Courier New, Courier, sansserif, sans serif" size="2">/ext</font>, enter:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="75463"></a>&nbsp;#&nbsp;<font face="Courier New, Courier, sansserif, sans serif" size="2"><b>fsadm&nbsp;-F&nbsp;vxfs&nbsp;-EeDd&nbsp;/ext</b></font>
</font>



<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="477015"></a>How to Extend a File System Using extendfs</font>
</h2>
 
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="477016"></a>If a VxFS file system is not mounted, you can use the <font face="Courier New, Courier, sansserif, sans serif" size="2">extendfs</font> command to increase the size of the file system. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="477017"></a>To extend a VxFS file system, use the syntax:</font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="477039"></a>&nbsp;&nbsp;extendfs&nbsp;[-F&nbsp;vxfs]&nbsp;[-q]&nbsp;[-v]&nbsp;[-s&nbsp;<em>size</em>]&nbsp;<em>special</em>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483601"></a><em>
<Table width="100%" border="0" cellpadding="1" cellspacing="0" >
<tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483625"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">vxfs</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483627"></a>The file system type</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483629"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-q</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483631"></a>Displays the size of <em>special</em> without resizing it</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483633"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-v</font></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483635"></a>Specifies verbose mode</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483637"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">-s</font> <em>size</em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483639"></a>Specifies the number of blocks to add to the file system (maximum if not specified)</font>
</p>

</td></tr><tr valign="top"><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483641"></a><em>special</em><em> </em></font>
</p>

</td><td><p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="483643"></a>Either a logical volume or a disk partition</font>
</p>

</td></tr>
</Table>


<Table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td>
</Table></em></font>
</p>

<hr noshade size="2" width="100%" color="#000000">
<img src="images/note.gif" alt="Note " height="16" width="16">&nbsp;
<font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="477040"></a><b>Note  &nbsp;&nbsp;</b>
</font>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2" color="#000000">The device must have enough space to hold the new larger file system.<br><br>When the file system size is grown with the <font face="Courier New, Courier, sansserif, sans serif" size="2">extendfs</font> command, the intent log size is not automatically increased. This issue is most visible when upgrading file systems with disk layout Versions prior to 3 and of a size smaller than 8 MB. When such a file system is upgraded to disk layout Version 4 and then extended to a size greater than 8 MB with the <font face="Courier New, Courier, sansserif, sans serif" size="2">extendfs</font> command, the file system cannot be mounted since the minimum allowed intent log size is 256K.
</font>
<hr noshade size="2" width="100%" color="#000000">
<br>
<p>
<font face="Font_SingleByte;" size="2"><a name="477041"></a><b>Example</b></font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="477042"></a>To increase the capacity of a file system on a VM volume, enter:</font>
</p>

<a name="477043"></a><br><font face="Courier New, Courier, sansserif, sans serif" size="2">	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>umount /dev/vg00/lvol7<br></b></font>	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>lvextend -L larger_size /dev/vg00/lvol7<br></b></font>	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>extendfs -F vxfs /dev/vg00/rlvol7<br></b></font>	# <font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount -F vxfs /dev/vg00/lvol7 </b></font><font face="Courier New, Courier, sansserif, sans serif" size="2"><b>mount_point</b></font></font>

<!-- End Main Topic Content -->

   </td>
  </tr>
 </table>
</div>

<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
  <td height="18" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
  </td>
 </tr>
  <td align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&nbsp;&#94;&nbsp;<a href="A_quickstart_vxfs101_125934.html" title="Resizing a File System">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="A_quickstart_vxfs100_331072.html" title="Previous - Identifying File System Types">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="A_quickstart_vxfs102_75496.html" title="Next - Backing Up and Restoring a File System">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
  </td>
 <tr>
   <td height="9" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
   </td>
 </tr>

<!-- Footer Breadcrumbs -->
<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vxfs_splashpage_docCD_vxfs1_103036.vxhd" title="File System Guides title page ">File System Guides</a>&nbsp;&nbsp;</font></td>
</tr>

<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="vxfs_admin_titlepage_docCD_vxfs2_73700.vxhd" title="File System 4.1 Administrator's Guide title page ">File System 4.1 Administrator's Guide</a>&nbsp;&nbsp;</font></td>
</tr>


 <tr>
  <td colspan="2" align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" color="#000000" align="right" size="-2">
<em>VERITAS Software Corporation
</em></font><br>

<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">www.veritas.com</font><br>
  </td>
 </tr>
</table>
</div>

</BODY>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

    VERITAS, VERITAS SOFTWARE, the VERITAS Logo, and VERITAS Software Documentation 
    are trademarks or registered trademarks of VERITAS Software Corporation 
    or its affiliates in the U.S. and other countries. Other names may be 
    trademarks of their respective owners. 

    Apache Jakarta Lucene:
    Apache Software License
    Version 1.1

    Copyright (c) 2000 The Apache Software Foundation. All rights reserved.

    Redistribution and use in source and binary forms, with or without modification, 
    are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this 
    list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright notice, this 
    list of conditions and the following disclaimer in the documentation and/or other 
    materials provided with the distribution.

    3. The end-user documentation included with the redistribution, if any, must include 
    the following acknowledgment: "This product includes software developed by the Apache 
    Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may 
    appear in the software itself, if and wherever such third-party acknowledgments 
    normally appear.

    4. The names "Apache" and "Apache Software Foundation" must not be used to endorse or 
    promote products derived from this software without prior written permission. For 
    written permission, please contact apache@apache.org.

    5. Products derived from this software may not be called "Apache", nor may "Apache" 
    appear in their name, without prior written permission of the Apache Software Foundation.

    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, 
    BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION 
    OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    This software consists of voluntary contributions made by many individuals on behalf 
    of the Apache Software Foundation. For more information on the Apache Software Foundation, 
    please see <http://www.apache.org/>. Portions of this software are based upon public domain 
    software originally written at the National Center for Supercomputing Applications, University 
    of Illinois, Urbana-Champaign.
    
    This product includes WebWindow Software developed by Horst Heistermann.
    *************************************************************************************
  -->
</HTML>
