VERITAS Volume Manager 3.1 Administrator's Guide

Volume Tasks
Creating a Volume
Chapter 6 237
Creating a Volume
Volumes are createdto take advantage of theVolume Manager concept of
virtual disks. A file system can be placed on the volume to organize the
disk space with files and directories. In addition, applications such as
databases can be used to organize data on volumes.
The Volume Manager allows you to create volumes with the following
layout types:
Concatenated
Striped
RAID-5
Mirrored
Striped and Mirrored
Mirrored and Striped
Layered Volume
NOTE You may need an additional license to use this feature.
The vxassist command provides the simplest way to create new
volumes. To create a volume, use the following command:
# vxassist make
volume_name length
[
attributes
]
where make is the keyword for volume creation,
volume_name
is a name
you give to the volume, and
length
specifies the number of sectors (by
default) in the volume. The length can be specified in kilobytes,
megabytes, or gigabytes by using a suffix character of k, m, or g,
respectively. See the vxintro(1M) manual page for more information on
specifying units of length when creating volumes. Additional attributes
can be specified, as appropriate.
By default, the vxassist command creates volumes in the rootdg disk
group. Another disk group can be specified by including -g
diskgroup
in
the vxassist command line.
Creating a volume in the disk group rootdg creates two device node files