VERITAS Volume Manager 3.5 Migration Guide (September 2004)
Chapter 3
Command Differences
LVM and VxVM Command Equivalents
38
LVM and VxVM Command Equivalents
The table below lists the LVM commands and a near equivalent command to use in VxVM. For more
information, refer to the Task Comparison chart. For information on VxVM commands, refer to the VERITAS
Volume Manager documentation package (see the “Preface” on page iii).
Table 3-1 Command Comparison
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.