VERITAS Volume Manager 3.1 Administrator's Guide

Volume Manager Operations
Common Volume Manager Commands
Chapter 3136
active/passive disk arrays. You can change the path type from
primary to secondary and vice-versa through the utilities provided by
disk array vendors
For more information, see the vxdctl (1M) manual page.
vxmake Command
You can use the vxmake command to add a new volume, plex, or subdisk
to the set of objects managed by Volume Manager. The vxmake command
adds a new record for that object to the Volume Manager configuration
database. You can create records from parameters specified on the
command line or by using a description file.
Specify operands on the command line as shown in this example:
# vxmake -U
usage_type
vol
volume_name
len=l
ength
plex=
plex_name
,..
where:
the first operand (keyword) determines the kind of object to be
created
the second operand is the name given to that object
additional operands specify attributes for the object
If no operands are specified on the command line, then a description file
is used to specify the records to create.
A description file is a file that contains plain text that describes the
objects to be created with vxmake. A description file can contain several
commands, and can be edited to perform a list of tasks. The description
file is read from standardinput, unlessthe -d
description_file
option
specifies a filename.
The following is a sample description file:
#rectyp #name #options
sd disk3-01 disk=disk3 offset=0 len=10000
sd disk3-02 disk=disk3 offset=25000 len=10480
sd disk4-01 disk=disk4 offset=0 len=8000
sd disk4-02 disk=disk4 offset=15000 len=8000
sd disk4-03 disk=disk4 offset=30000 len=4480
plex db-01 layout=STRIPE ncolumn=2 stwidth=16k
sd=disk3-01:0/0,disk3-02:0/10000,disk4-01:1/0,\