Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)

You can do the following operations on volumes:
Determining the Maximum Size of a Volume
Determine the maximum size of a volume:
# vxassist -g <diskgroup> maxsize layout=<layout [attributes]>
See vxassist (1M), for more information on the supported options.
Creating volumes
You can create volumes in two ways:
— Assisted Approach
— Advanced Approach
Assisted Approach
Assisted approach is based on the vxassist command.
Table 4-2 Following types of volume creation operations are supported:
SyntaxDescriptionVolume Creation Task
# vxassist [-b] -g <diskgroup> make volume
length
See vxassist (1M), for more information on the supported
options.
By default, the
vxassist make
command creates a
concatenated volume
that uses one or more
sections of disk space.
On a fragmented disk,
this allows you to put
together a volume larger
than any individual
section of free disk space
available.
Creating volumes on any
disk
# vxassist [-b] -g <diskgroup> make volume
length [layout=layout] \
<diskname ...>
See vxassist (1M), for more information on the supported
options.
VxVM automatically
selects the disks on
which each volume
resides, unless you
specify otherwise. If you
want a volume to be
created on specific disks,
you must designate
those disks to VxVM.
More than one disk can
be specified.
Creating volumes on
specific disk
# vxassist [-b] -g <diskgroup> make volume
length layout=mirror \
[nmirror=number] [init=active]
See vxassist (1M), for more information on the supported
options.
A mirrored volume
provides data
redundancy by
containing more than
one copy of its data.
Each copy (or mirror) is
stored on different disks
from the original copy
of the volume and from
other mirrors. Mirroring
a volume ensures that
its data is not lost if a
disk in one of its
component mirrors fails.
Creating mirrored volumes
# vxassist [-b] -g <diskgroup> make volume
length \
layout=mirror-concat [nmirror=number]
See vxassist (1M), for more information on the supported
options.
A
mirrored-concatenated
volume mirrors several
concatenated plexes.
Creating a
Mirrored-Concatenated
Volume
Setting up and managing VxVM 4.1 39