VERITAS Volume Manager 5.0 Migration Guide (September 2006)

59Command differences
Comparison of LVM and VxVM tasks
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
Table 3-2 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.