Commands summary

501

Table A-7

Administering volumes

 

 

Command

Description

 

 

vxassist [-g [attributes]

diskgroup] mirror volume \ Adds a mirror to a volume.

See “Adding a mirror to a volume” on page 271.

Example:

#vxassist -g mydg mirror \ myvol mydg10

vxassist [-g diskgroup] remove \

Removes a mirror from a volume.

mirror volume [attributes]

See “Removing a mirror” on page 273.

 

 

Example:

 

# vxassist -g mydg remove \

 

mirror myvol !mydg11

 

 

vxassist [-g diskgroup] \

Grows a volume to a specified size or

{growtogrowby} volume length

by a specified amount.

 

See “Resizing volumes using vxassist

 

on page 286.

 

Example:

 

# vxassist -g mydg growby \

 

myvol 10g

 

 

vxassist [-g diskgroup] \

Shrinks a volume to a specified size or

{shrinktoshrinkby} volume length

by a specified amount.

 

See “Resizing volumes using vxassist

 

on page 286.

 

Example:

 

# vxassist -g mydg shrinkto \

 

myvol 20g

 

 

vxresize -b -F vxfs [-g diskgroup] \

Resizes a volume and the underlying

volume length diskname ...

Veritas File System.

 

See “Resizing volumes using vxresize

 

on page 285.

 

Example:

 

# vxassist -b -F vxfs \

 

-g mydg myvol 20g mydg10 \

 

mydg11

 

 

Page 500
Image 500
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Table A-7 Administering volumes Command Description