LVREDUCE(8) | System Manager's Manual | LVREDUCE(8) |
lvreduce - reduce the size of a logical volume
lvreduce [-A|--autobackup y|n] [-d|--debug] [-f|--force] [-h|-?|--help] {-l|--extents [-]LogicalExtentsNumber[%{VG|LV|FREE}] | -L|--size [-]LogicalVolumeSize[kKmMgGtT]} [-t|--test] [-v|--verbose] LogicalVolume[Path]
lvreduce allows you to reduce the size of a logical volume. Be
careful when reducing a logical volume's size, because data in the reduced
part is lost!!!
You should therefore ensure that any filesystem on the volume is resized
before running lvreduce so that the extents that are to be removed
are not in use.
Shrinking snapshot logical volumes (see lvcreate(8) for information to
create snapshots) is supported as well. But to change the number of copies
in a mirrored logical volume use lvconvert (8).
Sizes will be rounded if necessary - for example, the volume size must be an
exact number of extents and the size of a striped segment must be a multiple
of the number of stripes.
See lvm for common options.
"lvreduce -l -3 vg00/lvol1" reduces the size of logical volume lvol1 in volume group vg00 by 3 logical extents.
lvchange(8), lvconvert(8), lvcreate(8), lvextend(8), lvm(8), lvresize(8), vgreduce(8)
LVM TOOLS 2.02.44-cvs (02-17-09) | Sistina Software UK |