HPUX extendfs[1m]

extendfs(1M) Series 800 Only extendfs(1M)
NAME
extendfs - extend file system size
SYNOPSIS
/etc/extendfs [-q] [-v] [-s size] special
DESCRIPTION
If the original hfs filesystem image created on special does not make
use of all of the available space, extendfs can be used to increase
the capacity of an hfs filesystem by updating the filesystem structure
to include the extra space.
The command-line parameter special specifies the character device
special file of either a logical volume or a disk partition. If
special refers to a mounted filesystem, special must be un-mounted
before extendfs can be run (see mount(1M)).
Options
extendfs recognizes the following options:
-q Query the size of special. No file system extension
will be done.
-v Verbose flag.
-ssize Specifies the number of DEV_BSIZE blocks to be added to
the file system. If -ssize is not specified, the
maximum possible size is used.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If LANG is not specified or is set to the empty string, a default of
"C" (see lang(5)) is used instead of LANG.
If any internationalization variable contains an invalid setting,
lvchange behaves as if all internationalization variables are set to
"C". See environ(5).
EXAMPLES
To increase the capacity of a filesystem created on a logical volume,
enter:
umount /dev/vg00/lvol1
lvextend -L larger_size /dev/vg00/lvol1
extendfs /dev/vg00/rlvol1
Hewlett-Packard Company - 1 - HP-UX Release 9.0: August 1992
extendfs(1M) Series 800 Only extendfs(1M)
mount /dev/vg00/lvol1 mount_directory
WARNINGS
The root filesystem cannot be extended using the extendfs command
because the root filesystem is always mounted, and extendfs only works
on unmounted filesystems.
RETURN VALUE
extendfs returns the following values:
0 No errors were detected and filesystem was successfully
extended.
1 Command aborted.
REMARKS
In order to extend a filesystem to the 4-Gbyte maximum filesystem
size, enough Cylinder Group summary blocks must be reserved by mkfs
(see mkfs(1M)). For a filesystem created by an older version of mkfs
(prior to HP-UX Release 9.0 - see mkfs(1M)), the full 4-Gbyte
filesystem capacity may not be achievable by use of extendfs.
SEE ALSO
lvextend(1M), mkfs(1M), mount(1M), fs(4).
Hewlett-Packard Company - 2 - HP-UX Release 9.0: August 1992