1LVRESIZE(8) System Manager's Manual LVRESIZE(8)
2
3
4
6 lvresize - resize a logical volume
7
9 lvresize [--alloc AllocationPolicy] [-A/--autobackup y/n] [-d/--debug]
10 [-h/-?/--help] [-i/--stripes Stripes [-I/--stripesize StripeSize]]
11 {-l/--extents [+]LogicalExtentsNumber[%{VG|LV|FREE}] | -L/--size
12 [+]LogicalVolumeSize[kKmMgGtT]} [-t/--test] [-v/--verbose] LogicalVol‐
13 umePath [PhysicalVolumePath...]
14
16 lvresize allows you to resize a logical volume. Be careful when reduc‐
17 ing a logical volume's size, because data in the reduced part is
18 lost!!! You should therefore ensure that any filesystem on the volume
19 is shrunk first so that the extents that are to be removed are not in
20 use. Resizing snapshot logical volumes (see lvcreate(8) for informa‐
21 tion about creating snapshots) is supported as well. But to change the
22 number of copies in a mirrored logical volume use lvconvert(8).
23
25 See lvm for common options.
26
27 -l, --extents [+/-]LogicalExtentsNumber[%{VG|LV|FREE}]
28 Change or set the logical volume size in units of logical
29 extents. With the + or - sign the value is added to or sub‐
30 tracted from the actual size of the logical volume and without
31 it, the value is taken as an absolute one. The number can also
32 be expressed as a percentage of the total space in the Volume
33 Group with the suffix %VG or relative to the existing size of
34 the Logical Volume with the suffix %LV or as a percentage of the
35 remaining free space in the Volume Group with the suffix %FREE.
36
37 -L, --size [+/-]LogicalVolumeSize[kKmMgGtTpPeE]
38 Change or set the logical volume size in units of megabytes. A
39 size suffix of M for megabytes, G for gigabytes, T for ter‐
40 abytes, P for petabytes or E for exabytes is optional. With the
41 + or - sign the value is added to or subtracted from the actual
42 size of the logical volume and without it, the value is taken as
43 an absolute one.
44
45 -i, --stripes Stripes
46 Gives the number of stripes to use when extending a Logical Vol‐
47 ume. Defaults to whatever the last segment of the Logical Vol‐
48 ume uses. Not applicable to LVs using the original metadata LVM
49 format, which must use a single value throughout.
50
51 -I, --stripesize StripeSize
52 Gives the number of kilobytes for the granularity of the
53 stripes. Defaults to whatever the last segment of the Logical
54 Volume uses. Not applicable to LVs using the original metadata
55 LVM format, which must use a single value throughout.
56 StripeSize must be 2^n (n = 2 to 9)
57
59 lvm(8), lvconvert(8), lvcreate(8), lvreduce(8), lvchange(8)
60
61
62
63Sistina Software UK LVM TOOLS LVRESIZE(8)