mrc0mmand / rpms / lvm2

Forked from rpms/lvm2 2 years ago
Clone

Blame SOURCES/lvm2-make-generate-2.patch

04bcc6
From a5e7bb16e2fadb216e0dfa8c3ae461d9667ebf50 Mon Sep 17 00:00:00 2001
04bcc6
From: Marian Csontos <mcsontos@redhat.com>
04bcc6
Date: Mon, 26 Aug 2019 15:51:11 +0200
04bcc6
Subject: [PATCH] build: make generate
04bcc6
04bcc6
(cherry picked from commit f68a37f806a71aa76901e7cdec63f59584521641)
04bcc6
---
04bcc6
 man/lvconvert.8_pregen | 70 +++++++++++++++++++++++++++-----------------------
04bcc6
 1 file changed, 38 insertions(+), 32 deletions(-)
04bcc6
04bcc6
diff --git a/man/lvconvert.8_pregen b/man/lvconvert.8_pregen
04bcc6
index a47127b..e6de8f0 100644
04bcc6
--- a/man/lvconvert.8_pregen
04bcc6
+++ b/man/lvconvert.8_pregen
04bcc6
@@ -354,6 +354,44 @@ Convert LV to striped.
04bcc6
 .RE
04bcc6
 -
04bcc6
 
04bcc6
+Convert LV to type mirror (also see type raid1),
04bcc6
+.br
04bcc6
+.P
04bcc6
+\fBlvconvert\fP \fB--type\fP \fBmirror\fP \fILV\fP
04bcc6
+.br
04bcc6
+.RS 4
04bcc6
+.ad l
04bcc6
+[ \fB-m\fP|\fB--mirrors\fP [\fB+\fP|\fB-\fP]\fINumber\fP ]
04bcc6
+.ad b
04bcc6
+.br
04bcc6
+.ad l
04bcc6
+[ \fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT] ]
04bcc6
+.ad b
04bcc6
+.br
04bcc6
+.ad l
04bcc6
+[ \fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT] ]
04bcc6
+.ad b
04bcc6
+.br
04bcc6
+.ad l
04bcc6
+[ \fB-i\fP|\fB--interval\fP \fINumber\fP ]
04bcc6
+.ad b
04bcc6
+.br
04bcc6
+.ad l
04bcc6
+[    \fB--stripes\fP \fINumber\fP ]
04bcc6
+.ad b
04bcc6
+.br
04bcc6
+.ad l
04bcc6
+[    \fB--mirrorlog\fP \fBcore\fP|\fBdisk\fP ]
04bcc6
+.ad b
04bcc6
+.br
04bcc6
+[ COMMON_OPTIONS ]
04bcc6
+.RE
04bcc6
+.br
04bcc6
+.RS 4
04bcc6
+[ \fIPV\fP ... ]
04bcc6
+.RE
04bcc6
+-
04bcc6
+
04bcc6
 Convert LV to raid or change raid layout 
04bcc6
 .br
04bcc6
 (a specific raid level must be used, e.g. raid1).
04bcc6
@@ -1472,38 +1510,6 @@ For example, LVM_VG_NAME can generally be substituted for a required VG paramete
04bcc6
 .SH ADVANCED USAGE
04bcc6
 Alternate command forms, advanced command usage, and listing of all valid syntax for completeness.
04bcc6
 .P
04bcc6
-Convert LV to type mirror (also see type raid1), 
04bcc6
-.br
04bcc6
-(also see lvconvert --mirrors).
04bcc6
-.br
04bcc6
-.P
04bcc6
-\fBlvconvert\fP \fB--type\fP \fBmirror\fP \fILV\fP
04bcc6
-.br
04bcc6
-.RS 4
04bcc6
-.ad l
04bcc6
-[ \fB-m\fP|\fB--mirrors\fP [\fB+\fP|\fB-\fP]\fINumber\fP ]
04bcc6
-.ad b
04bcc6
-.br
04bcc6
-.ad l
04bcc6
-[ \fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT] ]
04bcc6
-.ad b
04bcc6
-.br
04bcc6
-.ad l
04bcc6
-[ \fB-i\fP|\fB--interval\fP \fINumber\fP ]
04bcc6
-.ad b
04bcc6
-.br
04bcc6
-.ad l
04bcc6
-[    \fB--mirrorlog\fP \fBcore\fP|\fBdisk\fP ]
04bcc6
-.ad b
04bcc6
-.br
04bcc6
-[ COMMON_OPTIONS ]
04bcc6
-.RE
04bcc6
-.br
04bcc6
-.RS 4
04bcc6
-[ \fIPV\fP ... ]
04bcc6
-.RE
04bcc6
--
04bcc6
-
04bcc6
 Change the region size of an LV.
04bcc6
 .br
04bcc6
 .P
04bcc6
-- 
04bcc6
1.8.3.1
04bcc6