Sei sulla pagina 1di 2

extendfs(1M)

extendfs(1M)

NAME
extendfs - extend a le system size (generic)
SYNOPSIS

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


DESCRIPTION
If the original le 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 le system by updating the le system structure to
include the extra space.
The command-line parameter special species the device special le of either a logical volume or a disk
partition. The special must be un-mounted before extendfs can be run (see mount (1M)).
Options

extendfs recognizes the following options:


-F FStype
Specify the le system type on which to operate (see fstyp (1M) and fs_wrapper (5)). If
this option is not included on the command line, then the le system type is determined
from the le /etc/default/fs.

-q

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

-v

Verbose ag.

-s size

Species the number of DEV_BSIZE blocks to be added to the le system. If size is not
specied, the maximum possible size is used.

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

umount /dev/vg00/lvol1
lvextend -L larger_size /dev/vg00/lvol1
extendfs -F hfs /dev/vg00/rlvol1
mount /dev/vg00/lvol1 mount_directory
SEE ALSO
fstyp(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M), fs_wrapper(5).

HP-UX 11i Version 3: September 2010

Hewlett-Packard Company

(Notes)

(Notes)

Hewlett-Packard Company

HP-UX 11i Version 3: September 2010

Potrebbero piacerti anche