VERITAS Volume Manager 3.5 Administrator's Guide (September 2004)

Administering Volumes
Performing Online Relayout
Chapter 8 305
Specifying a Non-Default Layout
You can specify one or more relayout options to change the default layout
configuration. Examples of these options are:
ncol=number—specifies the number of columns
ncol=+number—specifies the number of columns to add
ncol=-number—specifies the number of colums to remove
stripeunit=size—specifies the stripe width
See the vxassist(1M) manual page for more information about relayout
options.
The following are some examples of using vxassist to change the stripe
width and number of columns for a striped volume in the disk group
dbaseg:
# vxassist -g dbaseg relayout vol03 stripeunit=64k ncol=6
# vxassist -g dbaseg relayout vol03 ncol=+2
# vxassist -g dbaseg relayout vol03 stripeunit=128k
The next example changes a concatenated volume to a RAID-5 volume
with four columns:
# vxassist -g fsgrp relayout vol04 layout=raid5 ncol=4
Specifying a Plex for Relayout
Any layout can be changed to RAID-5 if there are sufficient disks and
space in the disk group. If you convert a mirrored volume to RAID-5, you
must specify which plex is to be converted. All other plexes are removed
when the conversion has finished, releasing their space for other
purposes. If you convert a mirrored volume to a layout other than
RAID-5, the unconverted plexes are not removed. You can specify the
plex to be converted by naming it in place of a volume:
# vxassist relayout plex [layout=layout] [relayout_options]