VERITAS Volume Manager 3.5 Migration Guide (September 2004)

Chapter 3
Command Differences
LVM and VxVM Command Equivalents
40
pvmove Moves allocated physical
extents from source to
destination within a
volume group.
vxevac Moves volumes off a disk.
vxsd mv Performs volume operations on a
subdisk. Moves the contents of old
subdisk onto the new subdisks and
replaces old sub disk with the new
subdisks for any associations.
vxdiskadm The vxdiskadm script presents a menu
of possible operations to the user.
Option 7 in the vxdiskadm menu
moves volumes.
pvremove Removes the LVM
header information and
releases the disk from
LVM control.
vxdiskunsetup Removes the VxVM header
information and releases the disk from
VxVM control.
vgcreate Creates a volume group. vxdiskadd
vxdg init
Creates a new disk group and/or adds
disks to a disk group.
vgdisplay Displays information on
all volume groups.
vxdg list Displays the contents of a disk group.
vxprint Displays information about all objects
or a subset of objects.
vgchange Activates or deactivates
one or more volume
groups.
vxdg -g
diskgroup
set
activation=
mode
Activates a shared disk group.
vgextend Extends a volume group
by adding one or more
disks to it.
vxdiskadd Adds a disk to the disk group.
vxdiskadm Option 1 in the vxdiskadm menu adds
disks to the disk group.
vgreduce Reduces a volume group
by removing one or more
disks from it.
vxdg rmdisk Removes disks from a disk group.
vxdisk rm Removes the specified disk access
record by disk access name.
vxdiskadm Option 3 in the vxdiskadm menu
removes disks.
vgscan Scans all disks and looks
for logical volume groups.
vxinfo Displays information about volumes.
vxprint Displays complete or partial
informationfromrecordsin VxVM
disk group configurations.
vxdiskadm Option list in the vxdiskadm menu
displays disk information.
Table 3-1 Command Comparison (Continued)
LVM Description/Action VxVM Description/Action