VERITAS Volume Manager 4.1 Migration Guide

Command Differences
Comparison of LVM and VxVM Tasks
Chapter 360
LVM Export and deactivate an LVM
volume group, and its
associated logical volumes.
vgchange -a n
vol_group
vgexport /dev/
vol_group
VxVM Deport a disk group to disable
access to the specified disk
group. A disk group cannot be
deported if any volumes in the
disk group are currently open.
vxdg deport
disk_group
Option 9 in the vxdiskadm menu performs
this task.
LVM Back up volume group
configuration information.
vgcfgbackup -f /
pathname
/
filename vol_grp
VxVM Back up volume group
configuration information.
dgcfgbackup -f /
pathname
/
filename
vol_grp
LVM Restore volume group
configuration to a particular
physical volume.
vgrestore -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 new swap 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.
Table 3-2 LVM and VxVM Task Comparison (Continued)
Task
Type
Description Example