VERITAS Volume Manager 3.5 Migration Guide (August 2002)
Chapter 3, Command Differences
Final 24 July 2002 Comparison of LVM and VxVM Tasks
49
LVM Exportand deactivate anLVM 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 Restorevolume groupconfigurationto
a particular physical volume.
vgrestore -n /dev/vol_grp
/dev/rdsk/disk_name
VxVM Restorevolume group configurationto
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 precededby lvremove andvgreduce
down to the last disk.
VxVM Destroy a disk group. vxdg deport disk_group
vxdg init disk_group
Table 3. 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.