VERITAS Volume Manager 4.1 Migration Guide
Command Differences
Comparison of LVM and VxVM Tasks
Chapter 364
VxVM Deport a disk group. You must
unmount and stop any volumes
in the disk group first.
vxdg deport
disk_group
LVM Set up alternate links to a
physical volume.
If a disk has two controllers,
you can make one primary and
the other an alternate link.
vgcreate /dev/
vol_grp
\
/dev/dsk/
disk_name
/dev/dsk/
disk_name_2
To remove the link:
vgreduce /dev/vol_grp
/dev/dsk/disk_name
VxVM The Multipathing disk devices
in the Volume Manager
represent virtual devices with
one or more physical access
paths to a particular physical
disk. Dynamic Multipathing
provides reliability of disk
access by dynamically
switching to another physical
path in the event of failure of a
path.
The DMP feature in VxVM sets up links
automatically. It is not required to set up
links separately.
Refer to the manual page
vxdmp
(7) and the
VERITAS Volume Manager Administrator’s
Guide for more information on DMP.
LVM Create a mirrored logical
volume.
lvcreate -l
num_log_extents
-m 1 -n
mirr_lv
/dev/
vol_grp
VxVM Create a mirrored volume/plex
or add a mirror to an existing
volume.
vxassist make
vol_name length
layout=mirror
LVM Reduce a single/double
mirrored logical volume to an
unmirrored logical volume.
Remove a mirrored logical
volume.
lvreduce -m 0 /dev/
vol_grp
/
mirr_lv
lvremove /dev/
vol_grp
/
mirr_lv
Table 3-2 LVM and VxVM Task Comparison (Continued)
Task
Type
Description Example