VERITAS Volume Manager 3.1 Administrator's Guide

Recovery
Creating RAID-5 Volumes
Chapter 8366
Creating RAID-5 Volumes
NOTE You may need an additional license to use this feature.
You can create RAID-5 volumes by using either the vxassist command
(recommended) or the vxmake command. Both approaches are described
in this section.
A RAID-5 volume contains a RAID-5 plex that consists of two or more
subdisks located on two or more physical disks. Only one RAID-5 plex
can exist per volume.
vxassist Command and RAID-5 Volumes
Create a RAID-5 volume by using the following command:
# vxassist make
volume_name length
layout=raid5
For example, to create a 10M RAID-5 volume named volraid, use the
following command:
# vxassist make volraid 10m layout=raid5
This command creates a RAID-5 volume with the default stripe unit size
on the default number of disks.
vxmake Commandand RAID-5 Volumes
You can create a RAID-5 volume by using the vxmake command, which is
similar to the command used to create other volumes (see “Creating
Volumes”). Also see the vxmake(1M) manual page for details on creating
other volumes. Subdisks for use in a RAID-5 volume are created using
the same method as other subdisks.
Creating a RAID-5 plex for a RAID-5 volume is similar to creating
striped plexes, except that the layout attribute is set to raid5. Subdisks
can be implicitly associated in the same way as with striped plexes. For
example. to create a four-column RAID-5 plex with a stripe unit size of
32 sectors, use the following command:
# vxmake plex raidplex layout=raid5 stwidth=32