VERITAS Volume Manager 3.5 Migration Guide (September 2004)

Chapter 3
Command Differences
LVM and VxVM Command Equivalents
39
lvremove Removes one or more
logical volumes from a
volume group.
vxedit Removes volumes with the -rf rm
parameters.
Example: vxedit -rf rm
vol_name
vxassist Removes a volume with the remove
volume parameters.
Example: vxassist remove volume
vol_name
lvsplit Splits a mirrored logical
volume into two logical
volumes.
vxassist
snapshot
The snapshot operation takes one of
the attached temporary mirrors and
creates a new volume with the
temporary mirror as its one plex.
Example: vxassist snapshot
vol_name new_volume
lvmerge Reverses and converts
the lvsplit logical
volumes to a single
logical volume.
The snapback operation returns the
snapshot plex to the original volume
from which it was snapped.
Example: vxassist snapback
new_volume
lvsync Synchronizes mirrors
that are stale in one or
more logical volumes.
vxrecover
vxvol start
The vxrecover command performs
resynchronize operations for the
volumes, or for volumes residing on the
named disks (medianame or the VxVM
name for the disk).
Example: vxrecover
vol_name
media_name
pvcreate Makes a disk an LVM
disk.
vxdisksetup Brings a disk under VxVM control.
Example: vxdisksetup c0t3d0
Option 1 in the vxdiskadm menu adds
or initializes one or more disks.
pvdisplay Displays information
about physical volumes
in a volume group.
vxdisk list Lists information about VxVM disks.
Example: vxdisk list
disk_name
pvchange Sets physical volume
characteristics to
allow/deny allocation of
additional physical
extents from this disk.
vxdisk
vxdisk set
vxedit
The vxdisk utility performs basic
administrative operations on VxVM
disks. Operations include initializing
and replacing disks, as well as taking
care of some book-keeping necessary
for the disk model presented by the
Volume Manager.
Table 3-1 Command Comparison (Continued)
LVM Description/Action VxVM Description/Action