VERITAS Volume Manager 3.5 Migration Guide (September 2004)
Chapter 3
Command Differences
Comparison of LVM and VxVM Tasks
47
LVM Display information about volume groups. vgdisplay -v /dev/
vol_grp
VxVM Display disk group information.
Display information about a specific disk
group.
vxdisk list
vxprint -g
disk_group
vxdg list
vxdisk list
disk_group
LVM Display information about physical
volumes.
pvdisplay /dev/dsk/
disk_name
VxVM Display information about Volume
Manager volumes.
vxinfo or vxprint
LVM Remove a logical volume. lvremove /dev/
vol_grp
/
lvol_name
VxVM Remove a volume. vxedit rm
vol_name
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-2 LVM and VxVM Task Comparison (Continued)
Task
Type
Description Example