VERITAS Volume Manager 4.1 Migration Guide
Command Differences
Comparison of LVM and VxVM Tasks
Chapter 3 61
VxVM Destroy a disk group. vxdg deport
disk_group
vxdg init
disk_group
LVM Extend a volume group by
adding LVM disks to the
volume group.
vgextend /dev/
vol_grp
/\
/dev/dsk/
disk_name
VxVM Add one or more disks to the
disk group.
vxdiskadd
disk_name
Option 1 in the vxdiskadm main menu
performs this task.
LVM Reduce a volume group by
reducing the number of disks in
a volume group
vgreduce /dev/
vol_grp
/dev/dsk/
disk_name
VxVM Remove a disk from disk group. vxdg -g
disk_group
-k rmdisk
disk_name
LVM Mirroring a disk involves
several steps.
1. pvcreate /dev/rdsk/
second_disk
2. vgextend /dev/
vol_grp
\
/dev/dsk/second_disk
3. lvextend -m \
/dev/vol_grp/
lvol_name
\
/dev/dsk/
second_disk
VxVM Mirroring a disk
To mirror volumes on a disk or
control default mirroring and
causes a disk to have its
contents mirrored to available
space on another disk.
vxmirror -g
disk_group
-d yes|no \
disk_name
[
new_disk_name
] vxmirror
-d yes
disk_name
. Option 6 in the
vxdiskadm menu performs this task.
Table 3-2 LVM and VxVM Task Comparison (Continued)
Task
Type
Description Example