Previous  |  Next  >  
Product: File System Manual Pages for Storage Foundation   
Manual: Maintenance Commands (1m)   

extendfs_vxfs

NAME

extendfs_vxfs - extend the size of a VxFS file system

SYNOPSIS


extendfs [ -F vxfs ] [ -q ] [ -v ] [ -s size ] special

AVAILABILITY

VRTSvxfs

DESCRIPTION

If the VxFS file system image created on special does not use all of the available space, the extendfs command increases the capacity by updating the file system structure to include the extra space.

special specifies the device special file of either a logical volume or a disk partition. If special refers to a mounted file system, you must unmount the file system before running extendfs (see the mount (1M) manual page).

NOTES

The Version 5 disk layout supports file systems up to 32 terabytes. The size to which a Version 5 disk layout file system can be increased depends on the file system block size:

  • 1024 bytes 4,294,967,039 sectors (4 TB)
  • 2048 bytes 8,589,934,078 sectors (8 TB)
  • 4096 bytes 17,179,868,156 sectors (16 TB)
  • 8192 bytes 34,359,736,312 sectors (32 TB)

The Version 6 disk layout supports file systems up to 256 terabytes. The size to which a Version 6 disk layout file system can be increased depends on the file system block size:

  • 1024 bytes 34,359,736,312 sectors (32 TB)
  • 2048 bytes 68,719,472,624 sectors (64 TB)
  • 4096 bytes 137,438,945,248 sectors (128 TB)
  • 8192 bytes 274,877,890,496 sectors (256 TB)

The maximum file system size supported is 2 terabytes. For a file system's size to be increased to 32 terabytes or greater, the file system must be on a 64-bit kernel operating system and must reside on a VERITAS Volume Manager volume.

If the file system resides on a volume set, extendfs will fail. Use the fsvoladm(1M) command to extend a multi-volume file system.

When the file system size is grown with the extendfs command, the intent log size is not automatically increased.

CLUSTER FILE SYSTEM ISSUES

The extendfs command reserves a shared volume when invoked. If the shared volume is in use by another command, the extendfs command will fail.

Be careful when accessing shared volumes with other utilities, such as dd, that can write data to disk. It is possible to destroy data on other nodes.

OPTIONS

-F vxfs

Specifies the VxFS file system type.

-q

Queries special to determine the size. The file system is not extended.

-s " size"

Specifies the number of DEV_BSIZE blocks to add to the file system. If size is omitted, the maximum possible size is used.

-v

Specifies verbose mode.

EXAMPLES

This example shows how to increase the capacity of a file system created on a logical volume.


umount /dev/vg00/lvol1
lvextend -L  larger_size  /dev/vg00/lvol1
extendfs -F vxfs /dev/vg00/rlvol1
mount /dev/vg00/lvol1 mount_point

SEE ALSO

extendfs (1M), lvextend (1M), mkfs (1M), mount (1M), umount (1M), fs (4)
 ^ Return to Top Previous  |  Next  >  
Product: File System Manual Pages for Storage Foundation  
Manual: Maintenance Commands (1m)  
VERITAS Software Corporation
www.veritas.com