Veritas: Creating striped volumes

Title:

Veritas: Creating striped volumes

Author:

Douglas O’Leary <dkoleary@olearycomputers.com>

Description:

Veritas: Creating striped volumes

Date created:

08/2008

Date updated:

09/2009

Disclaimer:

Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…

vxassist -g ${group} make ${vol} ${length}m layout=stripe [ ${disks[*]} ]

For example:

vxassist -g doug make vol01 2048m layout=stripe ${disks[*]}

Notes:

  • ${length} will default to sectors, so make sure you put a ‘m’ after the number to indicate megs. The example above creates a 2 gig volume.

  • The ${disks[*]} array is used if you want to stripe the volume across specific disks. If you don’t put it in there, it will stripe across all disks in the disk group.

  • If you don’t specify either the disks or the disk group, the command will default to rootdg.