VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Creating a RAID-5 Volume
176 VERITAS Volume Manager Administrator’s Guide
The attribute mirror=ctlr specifies that disks in one mirror should not be on the same
controller as disks in other mirrors within the same volume.
Note Both paths of an active/passive array are not considered to be on different
controllers when mirroring across controllers.
The following command creates a mirrored volume with two data plexes:
# vxassist -b make volspec 10g layout=mirror nmirror=2 \
mirror=ctlr ctlr:c2 ctlr:c3
The disks in one data plex are all attached to controller c2, and the disks in the other data
plex are all attached to controller c3. This arrangement ensures continued availability of
the volume should either controller fail.
The attribute mirror=enclr specifies that disks in one mirror should not be in the same
enclosure as disks in other mirrors within the same volume.
The following command creates a mirrored volume with two data plexes:
# vxassist -b make volspec 10g layout=mirror nmirror=2 \
mirror=enclr enclr:enc1 enclr:enc2
The disks in one data plex are all taken from enclosure enc1, and the disks in the other
data plex are all taken from enclosure enc2. This arrangement ensures continued
availability of the volume should either enclosure become unavailable.
See “Specifying Ordered Allocation of Storage to Volumes” on page 167 for a description
of other ways in which you can control how volumes are laid out on the specified storage.
Creating a RAID-5 Volume
Note VxVM supports this feature for private disk groups, but not for shareable disk
groups in a cluster environment.
Note You may need an additional license to use this feature.
You can create RAID-5 volumes by using eitherthe vxassist command (recommended)
or the vxmake command. Both approaches are described below.
Note A RAID-5 volume requires space to be available on at least as many disks in the
disk group as the number of columns in the volume. Additional disks may be
required for any RAID-5 logs that are created.