vxresize - change the length of a volume containing a file system


/etc/vx/bin/vxresize [ -g diskgroup ] [ -F fstype ] [ -xsb ] volume new_length [ medianame ... ]


The vxresize command will either grow or shrink 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.

NOTE: vxresize works with vxfs and ufs file systems only.

In some situations, when resizing large volumes, this command may take some time to complete.

The new_length operand can begin with + or - to indicate that the new length should be computed by adding to or subtracting from the current volume length.

The medianame operands name disks to use for allocating new space for a volume. These arguments can be either 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.


-g diskgroup
Limit operation of the command to the given disk group, as specified by disk group ID or disk group name. The volume operand will be evaluated relative to the given disk group.

Require that the operation represent an increase in the volume length. Fail the operation otherwise.

Require that the operation represent a decrease in the volume length.

Cause the resize operation to be performed in the background. The command will return quickly but the resize will be in progress. Use the vxprint command to determine when the operation has completed.

-F fstype
This option supplies the type of the file system to be resized.


The name of the command that will perform the resize, depending on the usage type of the volume.


vxintro(1M), vxprint(1M)

© 1997 The Santa Cruz Operation, Inc. All rights reserved.