Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
VERITAS Volume Manager 3.1 Reference Guide: for HP-UX 11i and HP-UX 11i Version 1.5 > Chapter 1 Volume Manager Commands

vxmake - creating VM objects

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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 object to 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 -Uusage_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_fileoption 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
readpol=prefer prefname=db-02
comment="Uses mem1 for hot spot in last 5m

This description file specifies a volume with two plexes. The first plex has five subdisks on physical disks. The second plex is preferred and has one subdisk on a volatile memory disk.

For detailed information about how to use vxmake, refer to the vxmake(1M) manual page.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2000 Hewlett-Packard Development Company, L.P.