Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)

Table 6-2 Command Comparison (continued)
Description/ActionVxVMDescription/ActionLVM
Deports a disk group from the
system.
Use option 9 in the vxdiskadm
menu to remove a disk group.
vxdg deport
vxdiskadm
Removes the definition of a
volume group from the
system.
vgremove
Deports a disk group from the
system.
Use option 9 in the vxdiskadm
menu to remove a disk group.
vxdg deport
vxdiskadm
Removes a volume group
from the system.
vgexport
Imports a disk group.
vxdg import
vxdiskadm
Adds a volume group to the
system by scanning physical
volumes which have been
exported using vgexport.
vgimport
Operates on plex objects.
vxplex
No equivalent LVM
command
Operates on subdisk objects.
vxsd
No equivalent LVM
command
lvchange
lvextend
lvcreate
Fixes simple misconfigurations.
vxmend
No equivalent LVM
command
Comparison of LVM and VxVM Tasks
The following table lists the comparison between tasks that you can perform using LVM, and
Veritas Volume Manager:
Table 6-3 LVM and VxVM Task Comparison
ExampleDescriptionTask TypeExampleDescription
Task
Type
vxdiskadd
<device_name>
Option 1 in the
vxdiskadm menu adds a
disk and initializes it.
Bring a disk
under Volume
Manager
control.
VxVM
pvcreate
/dev/rdsk/disk_name
Create an
LVM disk.
LVM
vxdg init
<disk_group>
<disk_name>
Option 1 in the
vxdiskadm menu
performs this task.
Create a disk
group.
VxVM
vgcreate /dev/vol_grp
/dev/dsk/disk_name
Create a
volume
group
LVM
vxdg -g <disk_group>
adddisk
disk=<devicename>
Add a disk to
an existing disk
group.
VxVM
vgextend /dev/vol_grp
/dev/rdsk/disk_name
Add a new
disk to the
existing
volume
group.
LVM
Comparison of LVM and VxVM Tasks 57