VERITAS Volume Manager 3.5 Migration Guide (September 2004)

Chapter 3
Command Differences
Comparison of LVM and VxVM Tasks
42
Comparison of LVM and VxVM Tasks
This section contains a list of tasks which you can perform using LVM, and near equivalent tasks which you
can perform using the VERITAS Volume Manager. You can perform the LVM tasks by using SAM or the
command line interface. Similarly, you can choose to perform VxVM tasks by using the VERITAS Volume
Manager Storage Administrator or from the command line interface. This document focuses on the command
line interface.
NOTE The following features in VxVM require an additional license: Mirroring, Mirroring and
Striping, Dynamic Multipathing of Active/Active Devices, Hot-relocation, Online Migration,
and RAID-5.
All the VxVM tasks listed in the task comparison chart can be performed by the VERITAS Volume Manager
Storage Administrator. For more information, refer to the VERITAS Volume Manager Storage Administrator
Administrator’s Guide.
For more information on LVM commands, refer to HP-UX Managing Systems and Workgroups, and LVM
manual pages in the Reference Volumes 2, 3, and 5. For information on VxVM commands, refer to the
VERITAS Volume Manager documentation package (see the “Preface” on page iii).
NOTE Mirroring of a VxVM root disk is supported in this release.
Mirroring in LVM is supported only if you have MirrorDisk/UX already installed as an add-on
product. In addition, mirroring in VxVM requires an additional license.
NOTE Footnote for Table 3-2:
Example for a
disk_group
= veritasdg,
medianame
= disk01,
vol_name
-= veritasvol,
plex
name
= veritasvol-01,
subdisk
-= disk01-01,
devicename
= c0t0d0.
Table 3-2 LVM and VxVM Task Comparison
Task
Type
Description Example
LVM Create an LVM disk. pvcreate /dev/rdsk/
disk_name
VxVM Bring a disk under Volume Manager
control.
vxdiskadd
device_name
Option 1 in the vxdiskadm menu adds a disk and
initializes it.
LVM Create a volume group vgcreate /dev/
vol_grp
/dev/dsk/
disk_name
VxVM Create a disk group. vxdg init
disk_group disk_name
Option 1 in the vxdiskadm menu performs this
task.