VERITAS Volume Manager 3.1 Migration Guide
Command Differences
Comparison of LVM and VxVM Tasks
Chapter 372
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
no_of_mirrors\
/dev/
vol_grp
/
lvol_name
/dev/dsk/
second_disk
LVM Mirroring the root disk involves
several steps.
pvcreate -B
/dev/rdsk/
second_disk
mkboot -l /dev/dsk/
second_disk
vgextend /dev/
vol_grp
\
/dev/dsk/
second_disk
lvextend -m
no_of_mirrors\
/dev/
vol_grp
/
root_lvol
/dev/dsk/
second_disk
lvlnboot -r
/dev/
vol_grp
/l
vol_name
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.
Note: Root disk mirroring is
supported on HP-UX 11i Version
1.5 only.
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-2LVM and VxVM Task Comparison
Task
Type
Description Example