VERITAS Volume Manager 3.1 Migration Guide

Command Differences
Comparison of LVM and VxVM Tasks
Chapter 374
LVM Remove disks from a volume
group or reduce the number of
disks in the volume group.
vgreduce /dev/
vol_grp
/dev/dsk/
disk_name
VxVM Remove disks from a disk group. vxdisk rm
disk_group
vxdg rmdisk
disk_name
vxdg -g
group_name
rmdisk
disk_name
LVM Remove an entire volume group.
Before attempting to remove the
volume group, you must remove
the logical volumes using
lvremove, and all physical
volumes except the last one
using vgreduce.
vgremove /dev/
vol_grp
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
Table 3-2LVM and VxVM Task Comparison
Task
Type
Description Example