Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

Specifying a plex for relayout
If you have enough disks and space in the disk group, you can change any layout
to RAID-5 . To convert a mirrored volume to RAID-5, you must specify which plex
is to be converted. When the conversion finishes, all other plexes are removed,
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. Specify the
plex to be converted by naming it in place of a volume as follows:
# vxassist [-g diskgroup] relayout plex [layout=layout] \
[relayout_options]
Tagging a relayout operation
To control the progress of a relayout operation, for example to pause or reverse
it, use the -t option to vxassist to specify a task tag for the operation. For
example, the following relayout is performed as a background task and has the
tag myconv:
# vxassist -b -g dbasedg -t myconv relayout vol04 layout=raid5 \
ncol=4
See Viewing the status of a relayout on page 345.
See Controlling the progress of a relayout on page 346.
Viewing the status of a relayout
Online relayout operations take time to perform. You can use the vxrelayout
command to obtain information about the status of a relayout operation. For
example, the following command:
# vxrelayout -g mydg status vol04
might display output similar to the following:
STRIPED, columns=5, stwidth=128--> STRIPED, columns=6,
stwidth=128
Relayout running, 68.58% completed.
In this example, the reconfiguration is in progress for a striped volume from 5 to
6 columns, and is over two-thirds complete.
See the vxrelayout(1M) manual page.
345Administering volumes
Performing online relayout