2008-10-08 16:50:13 +04:00
.TH VGEXTEND 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2002-01-04 23:35:19 +03:00
.SH NAME
vgextend \- add physical volumes to a volume group
.SH SYNOPSIS
.B vgextend
2008-11-12 18:01:35 +03:00
[\- A|\- \- autobackup y|n] [\- d|\- \- debug] [\- h|\- ?|\- \- help]
2010-10-13 14:34:31 +04:00
[\- \- restoremissing]
2010-07-07 23:14:57 +04:00
[\- f|\- \- force]
2008-11-12 18:01:35 +03:00
[\- t|\- \- test]
[\- v|\- \- verbose]
2009-10-26 05:36:29 +03:00
[ \fI PHYSICAL DEVICE OPTIONS\fP ]
2002-01-04 23:35:19 +03:00
VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]
.SH DESCRIPTION
vgextend allows you to add one or more initialized physical volumes ( see
.B pvcreate(8)
2010-10-13 14:34:31 +04:00
) to an existing volume group to extend it in size. Moreover, it allows you to
re-add a physical volume that has gone missing previously, due to a transient
device failure, without re-initialising it. Use vgextend \- \- restoremissing to
that effect.
2009-10-06 00:04:21 +04:00
.sp
If \fI PhysicalDevicePath\fP was not previously configured for LVM with
\fB pvcreate (8)\fP , the device will be initialized with the same
default values used with \fB pvcreate\fP . If non-default
\fP pvcreate\fP values are are desired, they may be given on the
commandline with the same options as \fP pvcreate\fP . See
\fB PHYSICAL DEVICE OPTIONS\fP for available options. Note
that the restore-related options such as --restorefile, --uuid,
and --physicalvolumesize are not available. If a restore operation
is needed, use \fB pvcreate (8)\fP and \fB vgcfgrestore (8)\fP .
2002-01-04 23:35:19 +03:00
.SH OPTIONS
See \fB lvm\fP for common options.
2009-10-06 00:04:21 +04:00
.SH PHYSICAL DEVICE OPTIONS
The following options are available for initializing physical devices in the
volume group. These options are further described in the pvcreate man page.
.TP
.BR \- f ", " \- \- force
.TP
.BR \- y ", " \- \- yes
.TP
.BR \- Z ", " \- \- zero " y|n"
.TP
.BR \- \- labelsector " sector"
.TP
.BR \- \- metadatasize " size"
.TP
2010-06-30 17:03:48 +04:00
.RB [ \- \- metadataignore y|n ]
.TP
2009-10-06 00:55:56 +04:00
.BR \- \- pvmetadatacopies " copies"
2009-10-06 00:04:21 +04:00
.TP
.BR \- \- dataalignment " alignment"
.TP
.BR \- \- dataalignmentoffset " alignment_offset"
2002-01-04 23:35:19 +03:00
.SH Examples
"vgextend vg00 /dev/sda4 /dev/sdn1" tries to extend the existing volume
group "vg00" by the new physical volumes (see
.B pvcreate(8)
) "/dev/sdn1" and /dev/sda4".
.SH SEE ALSO
2008-10-08 16:50:13 +04:00
.BR lvm (8),
.BR vgcreate (8),
.BR vgreduce (8),
2002-01-04 23:35:19 +03:00
.BR pvcreate (8)