VERITAS Volume Manager 3.1 Migration Guide

Command Differences
Comparison of LVM and VxVM Tasks
Chapter 3 71
VxVM Back up volume group
configuration information.
dgcfgbackup -f
/
pathname
/
filename vol_grp
LVM Restore volume group
configuration to a particular
physical volume.
vgcfgrestore -n /dev/
vol_grp
/dev/rdsk/
disk_name
VxVM Restore volume group
configuration to a particular
physical volume.
dgcfgrestore -n /dev/
vol_grp
/dev/rdsk/
disk_name
LVM Increase or decrease secondary
swap space.
Enlarge an existing swap logical
volume, or add a new swap
logical volume.
lvextend—to increase swap space
lvreduce—to decrease swap space
VxVM Add a newswap volume (HP-UX
11i Version 1.5 only).
vxassist make
swapvol2 size
(HP-UX 11i Version 1.5 only)
LVM Remove a volume group.
This destroys a volume group by
removing its last disk and
removing it from /etc/lvmtab.
vgremove /dev/
vol_grp
This is preceded by lvremove and
vgreduce down to the last disk.
VxVM Destroy a disk group. vxdg deport
disk_group
vxdg init
disk_group
LVM Extend a volume group by
adding LVM disks to the volume
group.
vgextend /dev/
vol_grp
/\
/dev/dsk/
disk_name
VxVM Add one or more disks to the
disk group.
vxdiskadd
disk_name
Option 1 in the vxdiskadm main menu
performs this task.
Table 3-2LVM and VxVM Task Comparison
Task
Type
Description Example