Performing online relayout

You can use the vxassist relayout command to reconfigure the layout of a volume without taking it offline. The general form of this command is:

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

If specified, the -b option makes relayout of the volume a background task.

The following destination layout configurations are supported.

concat-mirror

concatenated-mirror

concat

concatenated

nomirror

concatenated

nostripe

concatenated

raid5

RAID-5 (not supported for shared disk groups)

span

concatenated

stripe

striped

For example, the following command changes a concatenated volume, vol02, in disk group, mydg, to a striped volume with the default number of columns, 2, and default stripe unit size, 64 kilobytes:

# vxassist -g mydg relayout vol02 layout=stripe

On occasions, it may be necessary to perform a relayout on a plex rather than on a volume.

More Information

Permitted relayout transformations

Specifying a plex for relayout