HPlogo HP-UX Reference Volume 2 of 5 > e

extendfs_vxfs(1M)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

extendfs (vxfs) — extend a VxFS file system size

SYNOPSIS

/usr/sbin/extendfs [-F vxfs] [-q] [-v] [-s size] special

DESCRIPTION

If the original VxFS file system image created on special does not make use of all of the available space, extendfs can be used to increase the capacity of a VxFS file system by updating the file system structure to include the extra space.

The command-line parameter special specifies the device special file of either a logical volume or a disk partition. If special refers to a mounted file system, special must be unmounted before extendfs can be run (see mount(1M)).

Options

extendfs recognizes the following options:

-F vxfs

Specify the VxFS file system type.

-q

Query the size of special. No file system extension will be done.

-v

Verbose flag.

-s size

Specifies the number of DEV_BSIZE blocks to be added to the file system. If size is not specified, the maximum possible size is used.

EXAMPLES

To increase the capacity of a file system created on a logical volume, enter:

  • umount /dev/vg00/lvol1

  • lvextend -L larger_size /dev/vg00/lvol1

  • extendfs -F vxfs /dev/vg00/rlvol1

    mount /dev/vg00/lvol1 mount_directory

© Hewlett-Packard Development Company, L.P.