Home > Veritas Storage Foundation™ Volume Manager Manual Pages
VXRESIZE (1M) |
Maintenance Commands |
______________________________________________________________ | | Full-VxFS | Lite-VxFS | ext2, ext3, | | | | | reiserfs | |______________|_______________|_______________|_______________| | Mounted FS |Grow and shrink| Not allowed | Not allowed | |______________|_______________|_______________|_______________| | Unmounted FS | Not allowed | Not allowed |Grow and shrink| |______________|_______________|_______________|_______________|
Note:
- •
- vxresize works with Veritas File System (VxFS), ext2, ext3, and reiserfs file systems only.
- •
- In some situations, when resizing large volumes, vxresize may take a long time to complete.
- •
- Resizing a volume with a usage type other than FSGEN or RAID5 can result in loss of data. Use the -f option to force resizing of such a volume.
- •
- 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. Specify the new length, or change in length, in Veritas Volume Manager standard length units (see vxintro(1M)).
The vxresize command accepts the Intelligent Storage Provisioning (ISP) storage specification arguments that are used with the vxassist command, and other vxassist specification arguments such as mirror, stripe and alloc if the volume is not an ISP volume. The arguments are passed unmodified to the vxassist command.
For example, medianame operands can be specified to name the disks that are to be used 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. If a medianame operand is prefixed by !, the specified storage is excluded from the allocation process.
See the vxassist(1M) manual page for information about storage specification arguments.
Note: This option is only honored for grow operations on non-RAID5 volumes. Otherwise, it is ignored.
When a non-ISP volume is shrunk, its layout may be converted as a side effect if vxassist determines that the new volume is too small for the original layout. The values of the stripe-mirror-col-trigger-pt and stripe-mirror-col-split-trigger-pt attributes (by default, 1 gigabyte) control whether a new layout will be applied. A stripe-mirror volume that is smaller than the value of stripe-mirror-col-trigger-pt is converted to a mirror-stripe volume. A concat-mirror volume that is smaller than the value of stripe-mirror-col-split-trigger-pt is converted to a mirror-concat volume.
If the new layout of a non-ISP volume is inappropriate, use the vxassist convert operation to change the layout after the grow or shrink operation has finished.
For a CFS file system, the vxresize command must be executed on the master node, which must also be the CFS primary.
Veritas Volume Manager Administrator's Guide
Veritas Storage Foundation Intelligent Storage Provisioning Administrator's Guide
Last updated: 17 Jul 2008
Copyright ©2009 Symantec Corporation
All rights reserved.