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]
[\- t|\- \- test]
[\- v|\- \- verbose]
2009-10-06 00:04:21 +04:00
.RB [ PHYSICAL DEVICE OPTIONS ]
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)
) to an existing volume group to extend it in size.
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 .
\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, \fB pvcreate\fP should be explicitly
called prior to calling \fB vgcreate\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
.BR \- \- metadatacopies " copies"
.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)