294Administering volumes

Performing online relayout

Performing online relayout

Note: You need a full license to use this feature.

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][-gdiskgroup] relayout volume [layout=layout] \ [relayout_options]

Note: If specified, the -boption makes relayout of the volume a background task.

The following are valid destination layout configurations as determined by the tables in “Permitted relayout transformations” on page 295:

concat-mirror—concatenated-mirror

concat or span, nostripe, nomirror—concatenatedraid5—RAID-5 (not supported for shared disk groups) stripe—stripedstripe-mirror—striped-mirror

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. See “Specifying a plex for relayout” on page 298 for more information.

Page 293
Image 293
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Performing online relayout, # vxassist -g mydg relayout vol02 layout=stripe