498 Commands summary

Table A-5

Creating and administering plexes

 

 

 

Command

 

Description

 

 

vxplex [-gdiskgroup] cp volume newplex

Copies a volume onto a plex.

 

 

See “Copying volumes to plexes” on

 

 

page 233.

 

 

Example:

 

 

# vxplex -g mydg cp vol02 \

 

 

vol03-01

 

 

vxmend [-g diskgroup] fix clean plex

Sets the state of a plex in an

 

 

unstartable volume to CLEAN.

 

 

See “Reattaching plexes” on page 231.

 

 

Example:

 

 

# vxmend -g mydg fix clean \

 

 

vol02-02

 

 

vxplex [-g diskgroup] -o rm dis plex

Dissociates and removes a plex from a

 

 

volume.

 

 

See “Dissociating and removing

 

 

plexes” on page 233.

 

 

Example:

 

 

# vxplex -g mydg -o rm dis \

 

 

vol03-01

 

 

 

Table A-6

Creating volumes

 

 

 

 

Command

 

Description

 

 

vxassist [-g diskgroup] maxsize \

Displays the maximum size of volume

layout=layout

[attributes]

that can be created.

See “Discovering the maximum size of a volume” on page 242.

Example:

# vxassist -g mydg maxsize \ layout=raid5 nlog=2

Page 497
Image 497
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Table A-6 Creating volumes Command Description, # vxplex -g mydg cp vol02