1VGEXTEND(8) System Manager's Manual VGEXTEND(8)
2
3
4
6 vgextend - add physical volumes to a volume group
7
9 vgextend [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--restore‐
10 missing] [-f|--force] [-t|--test] [-v|--verbose] [ PHYSICAL DEVICE
11 OPTIONS ] VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]
12
14 vgextend allows you to add one or more initialized physical volumes (
15 see pvcreate(8) ) to an existing volume group to extend it in size.
16 Moreover, it allows you to re-add a physical volume that has gone miss‐
17 ing previously, due to a transient device failure, without re-initial‐
18 ising it. Use vgextend --restoremissing to that effect.
19
20 If PhysicalDevicePath was not previously configured for LVM with pvcre‐
21 ate (8), the device will be initialized with the same default values
22 used with pvcreate. If non-default pvcreate values are are desired,
23 they may be given on the commandline with the same options as pvcreate.
24 See PHYSICAL DEVICE OPTIONS for available options. Note that the
25 restore-related options such as --restorefile, --uuid, and --physi‐
26 calvolumesize are not available. If a restore operation is needed, use
27 pvcreate (8) and vgcfgrestore (8).
28
30 See lvm for common options.
31
33 The following options are available for initializing physical devices
34 in the volume group. These options are further described in the pvcre‐
35 ate man page.
36
37 -f, --force
38
39 -y, --yes
40
41 -Z, --zero y|n
42
43 --labelsector sector
44
45 --metadatasize size
46
47 [--metadataignorey|n]
48
49 --pvmetadatacopies copies
50
51 --dataalignment alignment
52
53 --dataalignmentoffset alignment_offset
54
56 "vgextend vg00 /dev/sda4 /dev/sdn1" tries to extend the existing volume
57 group "vg00" by the new physical volumes (see pvcreate(8) ) "/dev/sdn1"
58 and /dev/sda4".
59
61 lvm(8), vgcreate(8), vgreduce(8), pvcreate(8)
62
63
64
65Sistina Software UK LVM TOOLS 2.02.84(2) (2011-02-09) VGEXTEND(8)