1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

man lvmraid: use same style as generated pages

This commit is contained in:
David Teigland 2017-04-11 13:13:49 -05:00
parent 04d7444afa
commit c448dcb349

View File

@ -45,7 +45,7 @@ The basic RAID levels that can be used are:
To display the LV type of an existing LV, run: To display the LV type of an existing LV, run:
.B lvs -o name,segtype .B lvs -o name,segtype
\fIVG\fP/\fILV\fP \fILV\fP
(The LV type is also referred to as "segment type" or "segtype".) (The LV type is also referred to as "segment type" or "segtype".)
@ -306,7 +306,7 @@ The command to scrub a RAID LV can operate in two different modes:
.B lvchange --syncaction .B lvchange --syncaction
.BR check | repair .BR check | repair
.IR VG / LV .I LV
.HP .HP
.B check .B check
@ -325,20 +325,20 @@ the RAID LV. To control the I/O rate used for scrubbing, use:
.HP .HP
.B --maxrecoveryrate .B --maxrecoveryrate
.BR \fIRate [ b | B | s | S | k | K | m | M | g | G ] \fISize\fP[k|UNIT]
.br .br
Sets the maximum recovery rate for a RAID LV. \fIRate\fP is specified as Sets the maximum recovery rate for a RAID LV. \fISize\fP is specified as
an amount per second for each device in the array. If no suffix is given, an amount per second for each device in the array. If no suffix is given,
then KiB/sec/device is assumed. Setting the recovery rate to \fB0\fP then KiB/sec/device is used. Setting the recovery rate to \fB0\fP
means it will be unbounded. means it will be unbounded.
.HP .HP
.BR --minrecoveryrate .BR --minrecoveryrate
.BR \fIRate [ b | B | s | S | k | K | m | M | g | G ] \fISize\fP[k|UNIT]
.br .br
Sets the minimum recovery rate for a RAID LV. \fIRate\fP is specified as Sets the minimum recovery rate for a RAID LV. \fISize\fP is specified as
an amount per second for each device in the array. If no suffix is given, an amount per second for each device in the array. If no suffix is given,
then KiB/sec/device is assumed. Setting the recovery rate to \fB0\fP then KiB/sec/device is used. Setting the recovery rate to \fB0\fP
means it will be unbounded. means it will be unbounded.
.P .P
@ -616,8 +616,8 @@ A RAID LV that is missing devices may be activated or not, depending on
the "activation mode" used in lvchange: the "activation mode" used in lvchange:
.B lvchange -ay --activationmode .B lvchange -ay --activationmode
.RB { complete | degraded | partial } .BR complete | degraded | partial
.IR VG / LV .I LV
.B complete .B complete
.br .br
@ -655,12 +655,12 @@ repeated to replace multiple PVs. Replacement devices can be optionally
listed with either option. listed with either option.
.B lvconvert --repair .B lvconvert --repair
.IR VG / LV .I LV
[\fINewPVs\fP] [\fINewPVs\fP]
.B lvconvert --replace .B lvconvert --replace
\fIOldPV\fP \fIOldPV\fP
.IR VG / LV .I LV
[\fINewPV\fP] [\fINewPV\fP]
.B lvconvert .B lvconvert
@ -669,7 +669,7 @@ listed with either option.
.B --replace .B --replace
\fIOldPV2\fP \fIOldPV2\fP
... ...
.IR VG / LV .I LV
[\fINewPVs\fP] [\fINewPVs\fP]
New devices require synchronization with existing devices, see New devices require synchronization with existing devices, see
@ -685,7 +685,7 @@ in the RAID LV operating in degraded mode until it is reactivated. Use
the lvchange command to refresh an LV: the lvchange command to refresh an LV:
.B lvchange --refresh .B lvchange --refresh
.IR VG / LV .I LV
.nf .nf
# lvs -o name,vgname,segtype,attr,size vg # lvs -o name,vgname,segtype,attr,size vg
@ -727,7 +727,7 @@ synchronization is started.
The specific command run by dmeventd to warn or repair is: The specific command run by dmeventd to warn or repair is:
.br .br
.B lvconvert --repair --use-policies .B lvconvert --repair --use-policies
.IR VG / LV .I LV
.SS Corrupted Data .SS Corrupted Data
@ -742,8 +742,9 @@ This should be rare, and can be detected (see \fBScrubbing\fP).
If specific PVs in a RAID LV are known to have corrupt data, the data on If specific PVs in a RAID LV are known to have corrupt data, the data on
those PVs can be reconstructed with: those PVs can be reconstructed with:
.B lvchange --rebuild PV .B lvchange --rebuild
.IR VG / LV .I PV
.I LV
The rebuild option can be repeated with different PVs to replace the data The rebuild option can be repeated with different PVs to replace the data
on multiple PVs. on multiple PVs.
@ -789,8 +790,8 @@ while all devices are still written to.
.B lvchange .B lvchange
.BR -- [ raid ] writemostly .BR -- [ raid ] writemostly
.BR \fIPhysicalVolume [ : { y | n | t }] \fIPV\fP[\fB:y\fP|\fBn\fP|\fBt\fP]
.IR VG / LV .I LV
The specified device will be marked as "write mostly", which means that The specified device will be marked as "write mostly", which means that
reading from this device will be avoided, and other devices will be reading from this device will be avoided, and other devices will be
@ -816,8 +817,8 @@ will not complete until writes to all the mirror images are complete.
.B lvchange .B lvchange
.BR -- [ raid ] writebehind .BR -- [ raid ] writebehind
.IR IOCount .I Number
.IR VG / LV .I LV
To report the current write behind setting, run: To report the current write behind setting, run:
@ -836,7 +837,7 @@ using lvconvert and specifying the new RAID level as the LV type:
.B lvconvert --type .B lvconvert --type
.I RaidLevel .I RaidLevel
\fIVG\fP/\fILV\fP .I LV
[\fIPVs\fP] [\fIPVs\fP]
The most common and recommended RAID takeover conversions are: The most common and recommended RAID takeover conversions are:
@ -1657,7 +1658,7 @@ The command to start duplication is:
[\fB--stripes\fP \fINumber\fP \fB--stripesize\fP \fISize\fP] [\fB--stripes\fP \fINumber\fP \fB--stripesize\fP \fISize\fP]
.RS .RS
.B --duplicate .B --duplicate
.IR VG / LV .I LV
[\fIPVs\fP] [\fIPVs\fP]
.RE .RE
@ -1707,7 +1708,7 @@ the new devices, specify the name of SubLV 0 (suffix _dup_0):
.B lvconvert --unduplicate .B lvconvert --unduplicate
.BI --name .BI --name
.IB LV _dup_0 .IB LV _dup_0
.IR VG / LV .I LV
To make the RAID LV use the data copy on the new devices, and drop the old To make the RAID LV use the data copy on the new devices, and drop the old
devices, specify the name of SubLV 1 (suffix _dup_1): devices, specify the name of SubLV 1 (suffix _dup_1):
@ -1715,7 +1716,7 @@ devices, specify the name of SubLV 1 (suffix _dup_1):
.B lvconvert --unduplicate .B lvconvert --unduplicate
.BI --name .BI --name
.IB LV _dup_1 .IB LV _dup_1
.IR VG / LV .I LV
FIXME: To make the LV use the data on the original devices, but keep the FIXME: To make the LV use the data on the original devices, but keep the
data copy as a new LV, ... data copy as a new LV, ...