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}] [--commandprofile ProfileName]
10 [-d|--debug] [-h|-?|--help] [--restoremissing] [-f|--force] [-t|--test]
11 [-v|--verbose] [PHYSICAL DEVICE OPTIONS] VolumeGroupName PhysicalDevi‐
12 cePath [PhysicalDevicePath...]
13
15 vgextend allows you to add one or more initialized physical volumes
16 (see pvcreate(8)) to an existing volume group to extend it in size.
17 Moreover, it allows you to re-add a physical volume that has gone miss‐
18 ing previously, due to a transient device failure, without re-initial‐
19 ising it. Use vgextend --restoremissing to that effect.
20
21 If PhysicalDevicePath was not previously configured for LVM with pvcre‐
22 ate(8), the device will be initialized with the same default values
23 used with pvcreate(8). If non-default pvcreate(8) values are desired,
24 they may be given on the commandline with the same options as pvcre‐
25 ate(8). See PHYSICAL DEVICE OPTIONS for available options. Note that
26 the restore-related options such as --restorefile, --uuid and --physi‐
27 calvolumesize are not available. If a restore operation is needed, use
28 pvcreate(8) and vgcfgrestore(8).
29
31 See lvm(8) for common options.
32
34 The following options are available for initializing physical devices
35 in the volume group. These options are further described in the pvcre‐
36 ate(8) man page.
37
38 -f, --force
39
40 -y, --yes
41
42 -Z, --zero {y|n}
43
44 --labelsector sector
45
46 --metadatasize size
47
48 --metadataignore {y|n}
49
50 --pvmetadatacopies copies
51
52 --dataalignment alignment
53
54 --dataalignmentoffset alignment_offset
55
57 Extends the existing volume group "vg00" by the new physical volumes
58 (see pvcreate(8)) "/dev/sda4" and "/dev/sdn1".
59
60 vgextend vg00 /dev/sda4 /dev/sdn1
61
63 lvm(8), vgcreate(8), vgreduce(8), pvcreate(8)
64
65
66
67Sistina Software UKLVM TOOLS 2.02.143(2)-RHEL6 (2016-12-13) VGEXTEND(8)