Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
Table 27-3
LVM and VxVM task comparisons (continued)
ExampleDescriptionTask type
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 space
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
vgextend /dev/vol_grp/\
/dev/dsk/disk_name
Extend a volume group by adding LVM disks
to the volume group.
LVM
vxdiskadd disk_name
Option 1 in the vxdiskadm main menu
performs this task.
Add one or more disks to the disk group.VxVM
vgreduce /dev/vol_grp
/dev/dsk/disk_name
Reduce a volume group by reducing the number
of disks in a volume group
LVM
vxdg -g disk_group -k rmdisk
disk_name
Remove a disk from disk group.VxVM
Offline data migration
Command differences
442