Symantec logo

Changing the stripe unit size of volumes

To change the stripe unit size of a striped or RAID-5 volume, use the following command:

# vxassist [-g diskgroup] [-b] setstwidth volume \

  stripeunit=size [tmplen=length] [attributes...]

If specified, the -b option changes the stripe width in the background.

This operation creates a temporary 2-way mirror volume that requires at least two disks, and therefore twice as much disk space as the size of the temporary volume. The size of the temporary volume is based on the size of the volume that is being changed. If required, you can use the tmplen attribute to specify the size of the temporary volume.

For example, the following command changes the stripe unit size of the volume vol1 to 32 KB:

# vxassist -g mydg -b setstwidth vol1 stripeunit=32k