NAME
vxresize — change the length of a volume containing a file system
SYNOPSIS
/etc/vx/bin/vxresize
[-bnsx]
[-F fstype]
[-g diskgroup]
[-t tasktag]
volume new_length [medianame...]
DESCRIPTION
The
vxresize
command either grows or shrinks both the file system and
its underlying volume to match the specified new volume length.
The ability to grow or shrink is file system dependent.
Some file system types may require that the
file system be unmounted for the operation to succeed,
as shown in the following table:
Note: vxresize works with JFS (VxFS) and HFS file systems only.
In some situations, when resizing large volumes,
vxresize
may take a long time to complete.
You cannot resize volumes comprised of different layout types.
If you try to do so, an error message displays stating that the
volume contains a different organization.
The new_length operand can begin with a plus (+) or minus (-)
to indicate that the new length is added to or subtracted from
from the current volume length.
The medianame operands name disks to use for allocating new space
for a volume. These arguments can be a simple name for a disk
media record, or they can be of the form medianame, offset
to specify an offset within the named disk. If an offset is specified,
then regions from that offset to the end of the disk are considered
candidates for allocation.
OPTIONS
- -b
Performs the resize operation in the background.
The command returns quickly, but the resize will be
in progress. Use the vxprint command to determine when the
operation completes.
- -F fstype
Supplies the type of the file system to be resized.
- -g diskgroup
Limits operation of the command to the given disk group, as specified
by disk group ID or disk group name. The volume operand
is evaluated relative to
the given disk group.
- -n
Prevents resizing of a volume if it does not contain a file system.
- -s
Requires that the operation represent a decrease in the volume length.
- -t tasktag
If any tasks are registered to track the progress of the operation,
mark them with the tag tasktag.
The tag specified by tasktag is a sequence of
up to 16 alphanumeric characters.
- -x
Requires that the operation represent
an increase in the volume length. Fail the operation otherwise.