HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

e
extendfs_vxfs(1M) extendfs_vxfs(1M)
NAME
extendfs (vxfs) - extend a VxFS file system size
SYNOPSIS
/usr/sbin/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.
-v Specify verbose mode, which displays the resulting size of file system along with fsck
out-
put of the newly sized file system. Without
-v there is no output.
-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.
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
SEE ALSO
extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M), fs(4).
HP-UX 11i Version 1: September 2005 1 Hewlett-Packard Company Section 1M213