VERITAS Volume Manager 4.1 Migration Guide
Command Differences
Comparison of LVM and VxVM Tasks
Chapter 3 65
VxVM Remove mirrors or reduce the
number of plexes/mirrors.
Remove a volume with the
plexes associated with it.
vxplex -o rm dis
plex_name
vxedit -rf rm
vol_name
LVM Increase the number of mirror
copies.
lvextend -m 2 /dev/
vol_grp
/
lvol_name
VxVM Add mirrors to a volume or
increase the number of plexes.
vxassist mirror
vol_name
LVM Convert a mirrored logical
volume into two logical
volumes.
Split a logical volume.
lvsplit -s backup
/dev/
vol_grp
/
lvol_name
VxVM Snapshot a volume and create a
new volume.
vxassist snapshot
vol_name
new_vol_name
LVM Combine two logical volumes
back into a mirrored logical
volume
lvmerge /dev/
vol_grp
/
split_vol_name
\
/dev/
vol_grp
/
lvol_name
split_vol_name
= active logical
volume
VxVM Returns the snapshot plex to
the original volume from which
it was snapped.
vxassist snapback
new_vol_name
LVM Move a mirrored logical volume
from one disk to another.
pvmove -n /dev/
vol_grp
/
lvol_name
\
/dev/dsk/
disk_name
/dev/dsk/
disk_name2
VxVM Move a plex. vxplex mv
orig_plex new_plex
LVM Synchronize a mirrored logical
volume.
Synchronize extents within a
mirrored logical volume.
lvsync /dev/
vol_grp
/
lvol_name
Table 3-2 LVM and VxVM Task Comparison (Continued)
Task
Type
Description Example