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 as follows:

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

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

Note:

If a relayout operation is done on a volume that has SmartIO VxVM caching enabled, the contents of the cache for the volume may be invalidated.

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 the concatenated volume vol02, in disk group mydg, to a striped volume. By default, the striped volume has 2 columns and a 64 KB striped unit size.:

# vxassist -g mydg relayout vol02 layout=stripe

Sometimes, you may need to perform a relayout on a plex rather than on a volume.

More Information

Permitted relayout transformations

Specifying a plex for relayout