VERITAS Volume Manager 3.5 Migration Guide (August 2002)
Chapter 3, Command Differences
Final 24 July 2002 Comparison of LVM and VxVM Tasks
53
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
VERITASs 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
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
Table 3. LVM and VxVM Task Comparison
Task
Type
Description Example
Example for a disk_group = veritasdg, medianame = disk01, vol_name -= veritasvol, plex name =
veritasvol-01, subdisk -= disk01-01, devicename = c0t0d0.