HPlogo HP-UX Reference > E

extendfs_vxfs(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

extendfs_vxfs: extendfs — extend VxFS file system size

SYNOPSIS

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

DESCRIPTION

If the VxFS file system image created on special does not use all of the available space, extendfs increases the capacity of a VxFS file system 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 special before running extendfs (see mount(1M)).

Options

extendfs recognizes the following options:

-F vxfs

Specify the VxFS file system type.

-q

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

-s size

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

-v

Specify verbose mode, which displays the resulting size of file system along with fsck output of the newly sized file system. Without -v there is no output.

Operands

extendfs recognizes the following operand:

special

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

Notes

The Version 5 disk layout supports file systems up to 32 terabytes. For you to increase a file system to 32 terabytes, it must be on a 64-bit kernel operating system and must reside on a VERITAS Volume Manager volume. 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 sectors (8 TB)

  • 4096 bytes 17,179,868,156 sectors sectors (16 TB)

  • 8192 bytes 34,359,736,312 sectors sectors (32 TB)

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_directory