Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)

Table 27-3
LVM and VxVM task comparisons (continued)
ExampleDescriptionTask type
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
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.
LVM
The DMP feature in VxVM sets up links
automatically. It is not required to set up links
separately.
See manual page vxdmp (7).
See the Veritas Volume Manager
Administrators Guide for more information
on DMP.
The Dynamic Multi-Pathing disk devices in the
Volume Manager represent virtual devices with
one or more physical access paths to a
particular physical disk. Dynamic
Multi-Pathing provides reliability of disk access
by dynamically switching to another physical
path in the event of failure of a path.
VxVM
lvcreate -l num_log_extents -m 1 \
-n mirr_lv /dev/vol_grp
Create a mirrored logical volume.LVM
vxplex att vol_name plex_name
Create a mirrored volume/plex or add a mirror
to an existing volume.
VxVM
lvreduce -m 0 /dev/vol_grp/mirr_lv
lvremove /dev/vol_grp/mirr_lv
Reduce a single/double mirrored logical volume
to an unmirrored logical volume.
Remove a mirrored logical volume.
LVM
vxplex -o rm dis plex_name
vxedit -rf rm vol_name
Remove mirrors or reduce the number of
plexes/mirrors.
Remove a volume with the plexes associated
with it.
VxVM
lvextend -m 2 /dev/vol_grp/lvol_nameIncrease the number of mirror copies.LVM
vxassist mirror vol_nameAdd mirrors to a volume or increase the
number of plexes.
VxVM
lvsplit -s backup /dev/vol_grp/
lvol_name
Convert a mirrored logical volume into two
logical volumes.
Split a logical volume.
LVM
445Offline data migration
Command differences