VERITAS Volume Manager 3.1 Administrator's Guide
Volume Tasks
Creating a Volume
Chapter 6 239
For example. to create the volume voldefault with a length of 10
megabytes, use the following command:
# vxassist make voldefault 10m
Creating a Concatenated Volume on a Specific Disk
The Volume Manager automatically selects the disk(s) each volume
resides on, unless you specify otherwise. If you want a volume to reside
on a specific disk, you must designate that disk for the Volume Manager.
More than one disk can be specified.
To create a volume on a specific disk, use the following command:
# vxassist make
volume_name length diskname
[...]
For example, to create the volume volspecific on disk03, use the
following command:
# vxassist make volspecific 3m disk03
Creating 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)” and “Striping Guidelines”.
To create a striped volume, use the following command:
# vxassist make
volume_name length
layout=stripe
For example, to create the striped volume volzebra, use the following
command:
# vxassist make volzebra 10m layout=stripe
This creates a striped volume with the default stripe unit size on the
default number of disks.
Indicate the disks on which the volumes are to be created by specifying
the disk names at the end of the command line. For example, to create a
30 megabyte striped volume on three specific disks (disk03, disk04, and
disk05), use the following command:
# vxassist make stripevol 30m layout=stripe disk03
disk04\