Symantec logo

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:

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

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)