Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
434 VERITAS Volume Manager Administrator’s Guide
Administering Volumes
Command Description
vxassist [-g diskgroup] mirror volume \
[attributes]
Adds a mirror to a volume. See “Adding a
Mirror to a Volume” on page 231.
Example:
# vxassist -g mydg mirror myvol \
mydg10
vxassist [-g diskgroup] remove mirror \
volume [attributes]
Removes a mirror from a volume. See
“Removing a Mirror” on page 233.
Example:
# vxassist -g mydg remove \
mirror myvol
!mydg11
vxassist [-g diskgroup] {growto|growby}\
volume length
Grows a volume to a specified size or by a
specified amount. See “Resizing Volumes
using vxassist” on page 247.
Example:
# vxassist -g mydg growby myvol \
10g
vxassist [-g diskgroup] \
{shrinkto|shrinkby} volume length
Shrinks a volume to a specified size or by a
specified amount. See “Resizing Volumes
using vxassist” on page 247.
Example:
# vxassist -g mydg shrinkto myvol
\ 20g
vxresize -b -F xvfs [-g diskgroup] \
volume length diskname ...
Resizes a volume and the underlying
VERITAS File System. See “Resizing
Volu mes us ing vx resize” on page 246.
Example:
# vxassist -b -F vxfs -g mydg \
myvol 20g mydg10 mydg11
vxsnap [-g diskgroup] prepare volume \
[drl=on|sequential|off]
Prepares a volume for instant snapshots and
for DRL logging. See “Preparing a Volume
for DRL and Instant Snapshots” on
page 235.
Example:
# vxsnap -g mydg prepare myvol \
drl=on