Veritas Volume Manager 5.0 Migration Guide, HP-UX 11i v3, First Edition, May 2008

56 Command differences
Comparison of LVM and VxVM tasks
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 Veritas Volume Manager. You can
perform the LVM tasks by using SMH or the command line interface. Similarly,
you can choose to perform VxVM tasks by using the Veritas Enterprise
Administrator (VEA) or 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 Enterprise Administrator. For more information, refer to the Veritas
Enterprise Administrator User’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.
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.
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
Example for a disk_group = veritasdg, medianame = disk01, vol_name -= veritasvol, plex name
= veritasvol-01, subdisk -= disk01-01, devicename = c0t0d0.