| United States-English |
|
|
|
![]() |
VERITAS Volume Manager 3.5 Administrator's Guide > Chapter 7 Creating
VolumesCreating a Striped Volume |
|
A striped volume contains at least one plex that consists of two or more subdisks located on two or more physical disks. For more information on striping, see “Striping (RAID-0)”.
To create a striped volume, use the following command: # vxassist [-b] [-g diskgroup] make volume length layout=stripe
For example, to create the 10-gigabyte striped volume volzebra, use the following command: # vxassist -b make volzebra 10g layout=stripe This creates a striped volume with the default stripe unit size (64 kilobytes) and the default number of stripes (2). You can specify the disks on which the volumes are to be created by including the disk names on the command line. For example, to create a 30-gigabyte striped volume on three specific disks, disk03, disk04, and disk05, use the following command: # vxassist -b make stripevol 30g layout=stripe disk03 disk04 disk05 To change the default number of columns from 2, or the stripe width from 64 kilobytes, use the ncolumn and stripeunit modifiers with vxassist. For example, the following command creates a striped volume with 5 columns and a 32-kilobyte stripe size: # vxassist -b make stripevol 30g layout=stripe stripeunit=32k \ ncol=5 A mirrored-stripe volume mirrors several striped data plexes.
To create a striped-mirror volume, use the following command: # vxassist [-b] [-g diskgroup] make volume length layout=mirror-stripe [nmirror=number_mirrors] [ncol=number_columns] [stripewidth=size]
Alternatively, first create a striped volume, and then mirror it as described in “Adding a Mirror to a Volume ”. In this case, the additional data plexes may be either striped or concatenated. A striped-mirror volume is an example of a layered volume which stripes several underlying mirror volumes.
To create a striped-mirror volume, use the following command: # vxassist [-b] [-g diskgroup] make volume length layout=stripe-mirror [nmirror=number_mirrors] [ncol=number_columns] [stripewidth=size]
By default, VxVM attempts to create the underlying volumes by mirroring subdisks rather than columns if the size of each column is greater than the value for the attribute stripe-mirror-col-split-trigger-pt that is defined in the vxassist defaults file. If there are multiple subdisks per column, you can choose to mirror each subdisk individually instead of each column. To mirror at the subdisk level, specify the layout as stripe-mirror-sd rather than stripe-mirror. To mirror at the column level, specify the layout as stripe-mirror-col rather than stripe-mirror. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||