Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
VERITAS Volume Manager 3.2 Administrator's Guide: for HP-UX 11i and HP-UX 11i Version 1.5 > Chapter 7 Creating Volumes

Creating a Striped Volume

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

NOTE: You may need an additional license to use this feature.

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)”.

NOTE: A striped volume requires space to be available on at least as many disks in the disk group as the number of columns in the volume.

To create a striped volume, use the following command:

# vxassist [-g diskgroup] make volume length layout=stripe

For example, to create the 10-gigabyte striped volume volzebra, use the following command:

# vxassist 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 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 make stripevol 30g layout=stripe stripeunit=32k ncol=5

Creating a Mirrored-Stripe Volume

A mirrored-stripe volume mirrors several striped data plexes.

NOTE: A mirrored-stripe volume requires space to be available on at least as many disks in the disk group as the number of mirrors multiplied by the number of columns in the volume.

To create a striped-mirror volume, use the following command:

# vxassist [-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.

Creating a Striped-Mirror Volume

A striped-mirror volume is an example of a layered volume which stripes several underlying mirror volumes.

NOTE: A striped-mirror volume requires space to be available on at least as many disks in the disk group as the number of columns multiplied by the number of stripes in the volume.

To create a striped-mirror volume, use the following command:

# vxassist [-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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2001 Hewlett-Packard Development Company, L.P.