Commands summary

493

Table A-3

Creating and administering disk groups

 

 

 

Command

 

Description

 

 

vxdg [-o expand] listmove sourcedg \

Lists the objects potentially affected

targetdg object ...

 

by moving a disk group.

 

 

See “Listing objects potentially

 

 

affected by a move” on page 200.

 

 

Example:

 

 

# vxdg -o expand listmove \

 

 

mydg newdg myvol1

 

 

vxdg [-o expand] move sourcedg \

Moves objects between disk groups.

targetdg object ...

 

See “Moving objects between disk

 

 

 

 

groups” on page 203.

 

 

Example:

 

 

# vxdg -o expand move mydg \

 

 

newdg myvol1

 

 

vxdg [-o expand] split sourcedg \

Splits a disk group and moves the

targetdg object ...

 

specified objects into the target disk

 

 

group.

 

 

See “Splitting disk groups” on

 

 

page 205.

 

 

Example:

 

 

# vxdg -o expand split mydg \

 

 

newdg myvol2 myvol3

 

 

vxdg join sourcedg targetdg

Joins two disk groups.

 

 

See “Joining disk groups” on page 206.

 

 

Example:

 

 

# vxdg join newdg mydg

 

 

vxdg -g diskgroup set \

Sets the activation mode of a shared

activation=ewrosrswoff

disk group in a cluster.

See “Changing the activation mode on a shared disk group” on page 425.

Example:

# vxdg -g mysdg set \ activation=sw

Page 492
Image 492
HP Veritas Volume Manager 5.0 -UX 11i v3 # vxdg -o expand listmove, Mydg newdg myvol1, Newdg myvol1, Newdg myvol2 myvol3