Converting between layered and non-layered volumes

The vxassist convert command transforms volume layouts between layered and non-layered forms. The command has the following syntax

# vxassist [-b] [-g diskgroup] convert volume [layout=layout] \

If you specify the -b option, the conversion of the volume is a background task.

The following conversion layouts are supported:


Mirrored-stripe to striped-mirror


Striped-mirror to mirrored-stripe


Mirrored-concatenated to concatenated-mirror


Concatenated-mirror to mirrored-concatenated

You can use volume conversion before or after you perform an online relayout to achieve more transformations than would otherwise be possible. During relayout process, a volume may also be converted into an intermediate layout. For example, to convert a volume from a 4-column mirrored-stripe to a 5-column mirrored-stripe, first use vxassist relayout to convert the volume to a 5-column striped-mirror as follows:

# vxassist -g mydg relayout vol1 ncol=5

When the relayout finishes, use the vxassist convert command to change the resulting layered striped-mirror volume to a non-layered mirrored-stripe:

# vxassist -g mydg convert vol1 layout=mirror-stripe


If the system crashes during relayout or conversion, the process continues when the system is rebooted. However, if the system crashes during the first stage of a two-stage relayout and conversion, only the first stage finishes. To complete the operation, you must run vxassist convert manually.