LVM
|
Description/Action
|
VxVM
|
Description/Action
|
lvchange
|
Changes the characteristics of logical volumes.
|
vxedit
or
vxvol set
|
Creates, removes, and modifies Volume Manager records.
|
|
There is no single equivalent LVM command.
|
vxresize
|
Resizes a file system and its underlying volume at the same time.
|
lvlnboot
|
Creates root, primary and secondary swap and dump volumes. It also creates boot areas on the disk.
|
|
There is no equivalent command for this release.
|
lvcreate
|
Creates a logical volume.
|
vxassist
|
Creates volumes with the make parameter.
Example: vxassist make vol_name 100M layout=stripe
|
lvextend
|
Increases disk space allocated to a logical volume.
|
vxassist
|
Increases a volume in size with the growto or growby parameter.
Example: vxassist growto vol_name 200M,
vxassist growby vol_name 100M
vxassist creates and modifies volumes.
|
lvreduce
|
Decreases disk space allocated to a logical volume.
|
vxassist
|
Decreases a volume in size with the shrinkto or shrinkby parameters.
Example: vxassist shrinkto vol_name 200M
Make sure you shrink the file system before shrinking the volume.
|
lvremove
|
Removes one or more logical volumes from a volume group.
|
vxedit
vxassist
|
Removes volumes with the -rf rm parameters.
Example: vxedit -rf rm vol_name
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.
|
vxassist snapback
|
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.
|
pvmove
|
Moves allocated physical extents from source to destination within a volume group.
|
vxevac
vxsd mv
vxdiskadm
|
Moves volumes off a disk.
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.
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
vxprint
|
Displays the contents of a disk group.
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
vxdiskadm
|
Adds a disk to the disk group.
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
vxdisk rm
vxdiskadm
|
Removes disks from a disk group.
Removes the specified disk access record by disk access name.
Option 3 in the vxdiskadm menu removes disks.
|
vgscan
|
Scans all disks and looks for logical volume groups.
|
vxinfo
vxprint
vxdiskadm
|
Displays information about volumes.
Displays complete or partial information from records in VxVM disk group configurations.
Option list in the vxdiskadm menu displays disk information.
|
vgsync
|
Synchronizes mirrors that are stale in one or more logical volumes.
|
vxrecover
|
Starts resynchronization and recovery of volumes.
|
vgremove
|
Removes the definition of a volume group from the system.
|
vxdg deport
vxdiskadm
|
Deports a disk group from the system.
Option 9 in the vxdiskadm menu removes a disk group.
|
vgexport
|
Removes a volume group from the system.
|
vxdg deport
vxdiskadm
|
Deports a disk group from the system.
Option 9 in the vxdiskadm menu removes a disk group.
|
vgimport
|
Adds a volume group to the system by scanning physical volumes which have been exported using vgexport.
|
vxdg import
vxdiskadm
|
Imports a disk group.
Option 8 in the vxdiskadm menu imports a disk group.
|
|
No LVM command
|
vxplex
|
Operates on plex objects.
|
lvchange, lvextend, lvcreate, lvreduce
|
Performs operations on logical volumes.
|
vxvol
|
Operates on volume objects.
|
|
No LVM command
|
vxsd
|
Operates on subdisk objects.
|
|
No LVM command
|
vxmend
|
Fixes simple misconfigurations.
|