VERITAS Volume Manager 4.1 Migration Guide

Command Differences
Comparison of LVM and VxVM Tasks
Chapter 362
LVM Mirroring an LVM 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
/
lvol_name
VxVM Mirroring the VxVM root disk. vxrootmir [-v] [-t tasktag]
disk_access_name
|
disk_media_name
LVM Create a logical volume in LVM
volume group.
lvcreate -L
vol_size
/dev/
vol_grp
VxVM Create a volume of one of these
layout types:
A concatenated volume
A striped mirror volume
A RAID-5 volume
vxassist make
vol_name length
vxassist make
vol_name length
layout=mirror, stripe
vxassist make
vol_name length
layout=raid5
LVM Display information about
logical volumes
lvdisplay /dev/
vol_grp
/
lvol_name
VxVM Display all volume information.
Display information about a
specific volume.
vxprint -vt
vxprint -ht
vol_name
Table 3-2 LVM and VxVM Task Comparison (Continued)
Task
Type
Description Example