VERITAS Volume Manager 3.1 Reference Guide

Chapter 1 25
Volume Manager Commands
vxmake - creating VM objects
vxmake - creating VM objects
You can use the vxmake command to add a new volume, plex, or subdisk
to the set of objects managed by Volume Manager. vxmake adds a new
record for that objectto the Volume Manager configuration database. You
can create records from parameters specified on the command line or by
using a description file.
You can specify operands on the command line as follows:
vxmake -U
usage_type
vol
volume_name
len=
length
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 standard input, unless the -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,\
disk4-02:1/8000, disk4-03:1/16000
sd ramd1-01 disk=ramd1 len=640
comment=”Hot spot for dbvol
plex db-02 sd=ramd1-01:40320
vol db usetype=gen plex=db-01,db-02