mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Minor changes to man pages for --metadataignore.
Move the definition from pvchange to pvcreate - the location of other metadata options.
This commit is contained in:
parent
d0709eed62
commit
1c0c6cc812
@ -415,7 +415,7 @@ line with \fB--metadataignore\fP. Metadata areas cannot be created
|
|||||||
or extended after Logical Volumes have been allocated on the device.
|
or extended after Logical Volumes have been allocated on the device.
|
||||||
If you do not want to store metadata on this device, it is still wise
|
If you do not want to store metadata on this device, it is still wise
|
||||||
always to allocate a metadata area (use a non-zero value for
|
always to allocate a metadata area (use a non-zero value for
|
||||||
\fB--pvmetadatacopies) in case you need it in the future and to use
|
\fB--pvmetadatacopies\fP) in case you need it in the future and to use
|
||||||
this option to instruct LVM2 to ignore it.
|
this option to instruct LVM2 to ignore it.
|
||||||
.IP
|
.IP
|
||||||
\fBvgmetadatacopies\fP \(em When creating a volume group using the
|
\fBvgmetadatacopies\fP \(em When creating a volume group using the
|
||||||
|
@ -26,16 +26,6 @@ Generate new random UUID for specified physical volumes.
|
|||||||
.TP
|
.TP
|
||||||
.I \-x, \-\-allocatable y|n
|
.I \-x, \-\-allocatable y|n
|
||||||
Enable or disable allocation of physical extents on this physical volume.
|
Enable or disable allocation of physical extents on this physical volume.
|
||||||
.TP
|
|
||||||
.I \-\-metadataignore y|n
|
|
||||||
Ignore or un-ignore metadata areas on this physical volume. If metadata
|
|
||||||
areas on a physical volume are ignored, LVM will not not store metadata
|
|
||||||
in the metadata areas present on this Physical Volume. Metadata areas
|
|
||||||
cannot be created or extended after Logical Volumes have been allocated
|
|
||||||
on the device. If you do not want to store metadata on this device, it
|
|
||||||
is still wise always to allocate a metadata area in case you need it in
|
|
||||||
the future and to use this option to instruct LVM2 to ignore it.
|
|
||||||
(This option is not applicable to the old LVM1 metadata format.)
|
|
||||||
.SH Example
|
.SH Example
|
||||||
"pvchange -x n /dev/sdk1" disallows the allocation of physical extents
|
"pvchange -x n /dev/sdk1" disallows the allocation of physical extents
|
||||||
on this physical volume (possibly because of disk errors, or because it will
|
on this physical volume (possibly because of disk errors, or because it will
|
||||||
|
@ -118,6 +118,16 @@ with VGs containing large numbers of PVs. But if you do this and
|
|||||||
then later use \fBvgsplit\fP you must ensure that each VG is still going
|
then later use \fBvgsplit\fP you must ensure that each VG is still going
|
||||||
to have a suitable number of copies of the metadata after the split!
|
to have a suitable number of copies of the metadata after the split!
|
||||||
.TP
|
.TP
|
||||||
|
.I \-\-metadataignore y|n
|
||||||
|
Ignore or un-ignore metadata areas on this physical volume. The default
|
||||||
|
is "n". If metadata areas on a physical volume are ignored, LVM will
|
||||||
|
not not store metadata in the metadata areas present on this Physical
|
||||||
|
Volume. Metadata areas cannot be created or extended after Logical
|
||||||
|
Volumes have been allocated on the device. If you do not want to store
|
||||||
|
metadata on this device, it is still wise always to allocate a metadata
|
||||||
|
area in case you need it in the future and to use this option to instruct
|
||||||
|
LVM2 to ignore it.
|
||||||
|
.TP
|
||||||
.BR \-\-restorefile " file"
|
.BR \-\-restorefile " file"
|
||||||
In conjunction with \fB--uuid\fP, this extracts the location and size
|
In conjunction with \fB--uuid\fP, this extracts the location and size
|
||||||
of the data on the PV from the file (produced by \fBvgcfgbackup\fP)
|
of the data on the PV from the file (produced by \fBvgcfgbackup\fP)
|
||||||
|
@ -138,7 +138,7 @@ you should consider some use of \fB--pvmetadatacopies 0\fP as described in
|
|||||||
.BR \-\-vgmetadatacopies " " \fINumberOfCopies|unmanaged|all\fP
|
.BR \-\-vgmetadatacopies " " \fINumberOfCopies|unmanaged|all\fP
|
||||||
Sets the desired number of metadata copies in the volume group. If set to
|
Sets the desired number of metadata copies in the volume group. If set to
|
||||||
a non-zero value, LVM will automatically manage the 'metadataignore'
|
a non-zero value, LVM will automatically manage the 'metadataignore'
|
||||||
flags on the physical volumes (see \fBpvchange --metadataignore\fP) in order
|
flags on the physical volumes (see \fBpvchange\fP or \fBpvcreate\fP --metadataignore\fP) in order
|
||||||
to achieve \fINumberOfCopies\fP copies of metadata. If set to \fIunmanaged\fP,
|
to achieve \fINumberOfCopies\fP copies of metadata. If set to \fIunmanaged\fP,
|
||||||
LVM will not automatically manage the 'metadataignore' flags. If set to
|
LVM will not automatically manage the 'metadataignore' flags. If set to
|
||||||
\fIall\fP, LVM will first clear all of the 'metadataignore' flags on all
|
\fIall\fP, LVM will first clear all of the 'metadataignore' flags on all
|
||||||
|
@ -77,7 +77,7 @@ you should consider some use of \fB--pvmetadatacopies 0\fP as described in
|
|||||||
.BR \-\-vgmetadatacopies " " \fINumberOfCopies|unmanaged|all\fP
|
.BR \-\-vgmetadatacopies " " \fINumberOfCopies|unmanaged|all\fP
|
||||||
Sets the desired number of metadata copies in the volume group. If set to
|
Sets the desired number of metadata copies in the volume group. If set to
|
||||||
a non-zero value, LVM will automatically manage the 'metadataignore'
|
a non-zero value, LVM will automatically manage the 'metadataignore'
|
||||||
flags on the physical volumes (see \fBpvchange --metadataignore\fP) in order
|
flags on the physical volumes (see \fBpvcreate\fP or \fBpvchange\fP --metadataignore\fP) in order
|
||||||
to achieve \fINumberOfCopies\fP copies of metadata. If set to \fIunmanaged\fP,
|
to achieve \fINumberOfCopies\fP copies of metadata. If set to \fIunmanaged\fP,
|
||||||
LVM will not automatically manage the 'metadataignore' flags. If set to
|
LVM will not automatically manage the 'metadataignore' flags. If set to
|
||||||
\fIall\fP, LVM will first clear all of the 'metadataignore' flags on all
|
\fIall\fP, LVM will first clear all of the 'metadataignore' flags on all
|
||||||
|
Loading…
Reference in New Issue
Block a user