500 Commands summary

Table A-6

Creating volumes

 

 

Command

Description

 

 

vxassist -b [-g diskgroup] make \ volume length layout=mirror \ mirror=ctlr [attributes]

Creates a volume with mirrored data plexes on separate controllers.

See “Mirroring across targets, controllers or enclosures” on page 255.

Example:

#vxassist -b -g mydg make \ mymcvol 20g layout=mirror \ mirror=ctlr

vxmake -b[-gdiskgroup] -Uusage_type \

Creates a volume from existing plexes.

vol volume [len=length] plex=plex,...

See “Creating a volume using vxmake

 

on page 258.

 

Example:

 

# vxmake -g mydg -Uraid5\

 

vol r5vol \

 

plex=raidplex,raidlog1,\

 

raidlog2

 

 

vxvol [-g diskgroup] start volume

Initializes and starts a volume for use.

 

See “Initializing and starting a

 

volume” on page 260.

 

See “Starting a volume” on page 271.

 

Example:

 

# vxvol -g mydg start r5vol

 

 

vxvol [-g diskgroup] init zero volume

Initializes and zeros out a volume for

 

use.

 

See “Initializing and starting a

 

volume” on page 260.

 

Example:

 

# vxvol -g mydg init zero \

 

myvol

 

 

Page 499
Image 499
HP Veritas Volume Manager 5.0 -UX 11i v3 # vxmake -g mydg -Uraid5, Vol r5vol, Plex=raidplex,raidlog1, Raidlog2, Myvol