VERITAS Volume Manager 4.1 Migration Guide

Command Differences
Comparison of LVM and VxVM Tasks
Chapter 3 57
Comparison of LVM and VxVM Tasks
This section contains a list of tasks that 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).
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.
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