1LVEXTEND(8)                 System Manager's Manual                LVEXTEND(8)
2
3
4

NAME

6       lvextend - extend the size of a logical volume
7

SYNOPSIS

9       lvextend  [--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

DESCRIPTION

16       lvextend  allows you to extend the size of a logical volume.  Extension
17       of snapshot logical volumes (see lvcreate(8) for information to  create
18       snapshots) is supported as well.  But to change the number of copies in
19       a mirrored logical volume use lvconvert(8).
20

OPTIONS

22       See lvm for common options.
23
24       -l, --extents [+]LogicalExtentsNumber[%{VG|LV|FREE}]
25              Extend or set the  logical  volume  size  in  units  of  logical
26              extents.   With the + sign the value is added to the actual size
27              of the logical volume and without it, the value is taken  as  an
28              absolute  one.  The number can also be expressed as a percentage
29              of the total space in the Volume Group with the  suffix  %VG  or
30              relative  to  the  existing  size of the Logical Volume with the
31              suffix %LV or as a percentage of the remaining free space in the
32              Volume Group with the suffix %FREE.
33
34       -L, --size [+]LogicalVolumeSize[kKmMgGtTpPeE]
35              Extend  or set the logical volume size in units of megabytes.  A
36              size suffix of M for megabytes, G  for  gigabytes,  T  for  ter‐
37              abytes, P for petabytes or E for exabytes is optional.  With the
38              + sign the value is added to the actual size of the logical vol‐
39              ume and without it, the value is taken as an absolute one.
40
41       -i, --stripes Stripes
42              Gives  the  number of stripes for the extension.  Not applicable
43              to LVs using the original metadata LVM format, which must use  a
44              single value throughout.
45
46       -I, --stripesize StripeSize
47              Gives  the  number  of  kilobytes  for  the  granularity  of the
48              stripes.  Not applicable to LVs using the original metadata  LVM
49              format, which must use a single value throughout.
50              StripeSize must be 2^n (n = 2 to 9)
51

Examples

53       "lvextend  -L  +54 /dev/vg01/lvol10 /dev/sdk3" tries to extend the size
54       of that logical volume by 54MB on physical volume /dev/sdk3.   This  is
55       only  possible  if /dev/sdk3 is a member of volume group vg01 and there
56       are enough free physical extents in it.
57

SEE ALSO

59       lvm(8),   lvcreate(8),    lvconvert(8),    lvreduce(8),    lvresize(8),
60       lvchange(8)
61
62
63
64Sistina Software UK                LVM TOOLS                       LVEXTEND(8)
Impressum