Veritas Volume Manager 5.0 Migration Guide, HP-UX 11i v3, First Edition, May 2008
59Command differences
Comparison of LVM and VxVM tasks
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.
VxVM Destroy a disk group. vxdg deport disk_group
vxdg init 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.