Veritas Volume Manager 5.0.1 Migration Guide, HP-UX 11i v3, First Edition, November 2009

Table 3-2
LVM and VxVM task comparisons (continued)
ExampleDescriptionTask type
vgimport -v /dev/vol_grp\ /dev/
dsk/disk_name
vgchange -a y /dev/vol_grp
Import and activate a volume group.LVM
vxdg -tfC -n newname import
disk_group
Option 8 in the vxdiskadm menu performs
this task
Import a disk group to make the specified disk
group accessible on the local machine.
VxVM
vgchange -a n vol_group
vgexport /dev/vol_group
Export and deactivate an LVM volume group,
and its associated logical volumes.
LVM
vxdg deport disk_group
Option 9 in the vxdiskadm menu performs
this task
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.
VxVM
vgcfgbackup -f /pathname/filename
vol_grp
Back up volume group configuration
information.
LVM
dgcfgbackup -f /pathname/filename
vol_grp
Back up volume group configuration
information.
VxVM
vgrestore -n /dev/vol_grp
/dev/rdsk/disk_name
Restore volume group configuration to a
particular physical volume.
LVM
dgcfgrestore -n /dev/vol_grp
/dev/rdsk/disk_name
Restore volume group configuration to a
particular physical volume.
VxVM
lvextend–to increase swap spac
lvreduce–to decrease swap space
Increase or decrease secondary swap space.
Enlarge an existing swap logical volume, or add
a new swap logical volume.
LVM
vxassist make swapvol2 size (HP-UX
11i Version 1.5 only)
Not supported for the current release. Add a
new swap volume (HP-UX 11i Version 1.5 only).
VxVM
vgremove /dev/vol_grp
This is preceded by lvremove and vgreduce
down to the last disk.
Remove a volume group.
This destroys a volume group by removing its
last disk and removing it from /etc/lvmtab.
LVM
vxdg deport disk_group
vxdg init disk_group
Destroy a disk group.VxVM
Command differences
Comparison of LVM and VxVM tasks
64