Skip to contentSkip to conversation

master - make: make generate

PATCH Zdenek Kabelac 1 participant 1 message Jun 24, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=88b92d4225b90db82047f3bac55d8059918e9c1b
Commit:        88b92d4225b90db82047f3bac55d8059918e9c1b
Parent:        b7885dbb734de97e39dca28a38850cbb623cf57f
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Jun 23 12:19:35 2020 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Jun 24 15:01:03 2020 +0200

make: make generate

update

---
 conf/example.conf.in   |   6 +-
 man/lvconvert.8_pregen |  58 ++++++++++++
 man/lvcreate.8_pregen  | 246 +++++++++++++++++++++++++++++++++++++++++++++----
 man/lvs.8_pregen       |   4 +
 man/vgck.8_pregen      |   9 ++
 5 files changed, 303 insertions(+), 20 deletions(-)
conf/example.conf.in +5 -1
index 05b085792..a3d8ca380 100644
@@ -488,7 +488,7 @@ allocation {
 	# This configuration option does not have a default value defined.
 
 	# Configuration option allocation/thin_pool_metadata_require_separate_pvs.
-	# Thin pool metdata and data will always use different PVs.
+	# Thin pool metadata and data will always use different PVs.
 	thin_pool_metadata_require_separate_pvs = 0
 
 	# Configuration option allocation/thin_pool_zero.
@@ -526,6 +526,10 @@ allocation {
 	# This configuration option has an automatic default value.
 	# thin_pool_chunk_size_policy = "generic"
 
+	# Configuration option allocation/zero_metadata.
+	# Zero whole metadata area before use with thin or cache pool.
+	zero_metadata = 1
+
 	# Configuration option allocation/thin_pool_chunk_size.
 	# The minimal chunk size in KiB for thin pool volumes.
 	# Larger chunk sizes may improve performance for plain thin volumes,
man/lvconvert.8_pregen +58 -0

88 lines not on this page · raw message

man/lvcreate.8_pregen +227 -19

309 lines not on this page · raw message

man/lvs.8_pregen +4 -0
index 8c3091dee..8aea3566a 100644
@@ -577,6 +577,10 @@ Related to Thin Logical Volumes: (F)ailed.
 .br
 (F)ailed is set when related thin pool enters Failed state and no further I/O
 is permitted at all.
+.IP
+Related to writecache logical volumes: (E)rror.
+.br
+(E)rror is set dm-writecache reports an error.
 .IP 10 3
 s(k)ip activation: this volume is flagged to be skipped during activation.
 .SH SEE ALSO
man/vgck.8_pregen +9 -0
index a66de5d7f..2a1ec2364 100644
@@ -199,6 +199,15 @@ back metadata it believes has changed but hasn't.
 \fB--updatemetadata\fP
 .br
 Update VG metadata to correct problems.
+If VG metadata was updated while a PV was missing, and the PV
+reappears with an old version of metadata, then this option
+(or any other command that writes metadata) will update the
+metadata on the previously missing PV. If a PV was removed
+from a VG while it was missing, and the PV reappears, using
+this option will clear the outdated metadata from the previously
+missing PV. If metadata text is damaged on one PV, using this
+option will replace the damaged metadata text. For more severe
+damage, e.g. with headers, see \fBpvck\fP(8).
 .ad b
 .HP
 .ad l