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

Performing Online Relayout
222 VERITAS Volume Manager Administrator’s Guide
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 examplesof using vxassist tochange the stripe widthand 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 nextexample changes a concatenated volumeto a RAID-5 volume with fourcolumns:
# 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, releasingtheir
space for other purposes. If you convert a mirroredvolume toa layoutother thanRAID-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]
Tagging a Relayout Operation
If you wanttocontrolthe progressof arelayoutoperation,for example to pauseorreverse
it, usethe -t option to vxassist to specify a task tag forthe operation. For example, this
relayout is performed as a background task and has the tag myconv:
# vxassist -b -g fsgrp -t myconv relayout vol04 layout=raid5 ncol=4
See the following sections, “Viewing the Status of a Relayout” and “Controlling the
Progressof aRelayout,” for more information about trackingand controlling the progress
of relayout.