mrc0mmand / rpms / lvm2

Forked from rpms/lvm2 2 years ago
Clone

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

26e710
 conf/example.conf.in   |  9 +++----
26e710
 man/lvconvert.8_pregen | 70 +++++++++++++++++++++++++++-----------------------
26e710
 2 files changed, 42 insertions(+), 37 deletions(-)
26e710
26e710
diff --git a/conf/example.conf.in b/conf/example.conf.in
26e710
index b9cdf0c..ed6a3b6 100644
26e710
--- a/conf/example.conf.in
26e710
+++ b/conf/example.conf.in
26e710
@@ -143,7 +143,7 @@ devices {
26e710
 	# 
26e710
 	# Example
26e710
 	# Accept every block device:
26e710
-	# filter = [ "a|.*/|" ]
26e710
+	# filter = [ "a|.*|" ]
26e710
 	# Reject the cdrom drive:
26e710
 	# filter = [ "r|/dev/cdrom|" ]
26e710
 	# Work with just loopback devices, e.g. for testing:
26e710
@@ -151,10 +151,10 @@ devices {
26e710
 	# Accept all loop devices and ide drives except hdc:
26e710
 	# filter = [ "a|loop|", "r|/dev/hdc|", "a|/dev/ide|", "r|.*|" ]
26e710
 	# Use anchors to be very specific:
26e710
-	# filter = [ "a|^/dev/hda8$|", "r|.*/|" ]
26e710
+	# filter = [ "a|^/dev/hda8$|", "r|.*|" ]
26e710
 	# 
26e710
 	# This configuration option has an automatic default value.
26e710
-	# filter = [ "a|.*/|" ]
26e710
+	# filter = [ "a|.*|" ]
26e710
 
26e710
 	# Configuration option devices/global_filter.
26e710
 	# Limit the block devices that are used by LVM system components.
26e710
@@ -164,7 +164,7 @@ devices {
26e710
 	# The syntax is the same as devices/filter. Devices rejected by
26e710
 	# global_filter are not opened by LVM.
26e710
 	# This configuration option has an automatic default value.
26e710
-	# global_filter = [ "a|.*/|" ]
26e710
+	# global_filter = [ "a|.*|" ]
26e710
 
26e710
 	# Configuration option devices/types.
26e710
 	# List of additional acceptable block device types.
26e710
@@ -1752,7 +1752,6 @@ activation {
26e710
 	# additional space for VG metadata. The --metadatasize option overrides
26e710
 	# this setting.
26e710
 	# This configuration option does not have a default value defined.
26e710
-	# This configuration option has an automatic default value.
26e710
 
26e710
 	# Configuration option metadata/pvmetadataignore.
26e710
 	# Ignore metadata areas on a new PV.
26e710
diff --git a/man/lvconvert.8_pregen b/man/lvconvert.8_pregen
26e710
index 7252f6f..846ea2d 100644
26e710
--- a/man/lvconvert.8_pregen
26e710
+++ b/man/lvconvert.8_pregen
26e710
@@ -378,6 +378,44 @@ Convert LV to striped.
26e710
 .RE
26e710
 -
26e710
 
26e710
+Convert LV to type mirror (also see type raid1),
26e710
+.br
26e710
+.P
26e710
+\fBlvconvert\fP \fB--type\fP \fBmirror\fP \fILV\fP
26e710
+.br
26e710
+.RS 4
26e710
+.ad l
26e710
+[ \fB-m\fP|\fB--mirrors\fP [\fB+\fP|\fB-\fP]\fINumber\fP ]
26e710
+.ad b
26e710
+.br
26e710
+.ad l
26e710
+[ \fB-I\fP|\fB--stripesize\fP \fISize\fP[k|UNIT] ]
26e710
+.ad b
26e710
+.br
26e710
+.ad l
26e710
+[ \fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT] ]
26e710
+.ad b
26e710
+.br
26e710
+.ad l
26e710
+[ \fB-i\fP|\fB--interval\fP \fINumber\fP ]
26e710
+.ad b
26e710
+.br
26e710
+.ad l
26e710
+[    \fB--stripes\fP \fINumber\fP ]
26e710
+.ad b
26e710
+.br
26e710
+.ad l
26e710
+[    \fB--mirrorlog\fP \fBcore\fP|\fBdisk\fP ]
26e710
+.ad b
26e710
+.br
26e710
+[ COMMON_OPTIONS ]
26e710
+.RE
26e710
+.br
26e710
+.RS 4
26e710
+[ \fIPV\fP ... ]
26e710
+.RE
26e710
+-
26e710
+
26e710
 Convert LV to raid or change raid layout 
26e710
 .br
26e710
 (a specific raid level must be used, e.g. raid1).
26e710
@@ -1636,38 +1674,6 @@ For example, LVM_VG_NAME can generally be substituted for a required VG paramete
26e710
 .SH ADVANCED USAGE
26e710
 Alternate command forms, advanced command usage, and listing of all valid syntax for completeness.
26e710
 .P
26e710
-Convert LV to type mirror (also see type raid1), 
26e710
-.br
26e710
-(also see lvconvert --mirrors).
26e710
-.br
26e710
-.P
26e710
-\fBlvconvert\fP \fB--type\fP \fBmirror\fP \fILV\fP
26e710
-.br
26e710
-.RS 4
26e710
-.ad l
26e710
-[ \fB-m\fP|\fB--mirrors\fP [\fB+\fP|\fB-\fP]\fINumber\fP ]
26e710
-.ad b
26e710
-.br
26e710
-.ad l
26e710
-[ \fB-R\fP|\fB--regionsize\fP \fISize\fP[m|UNIT] ]
26e710
-.ad b
26e710
-.br
26e710
-.ad l
26e710
-[ \fB-i\fP|\fB--interval\fP \fINumber\fP ]
26e710
-.ad b
26e710
-.br
26e710
-.ad l
26e710
-[    \fB--mirrorlog\fP \fBcore\fP|\fBdisk\fP ]
26e710
-.ad b
26e710
-.br
26e710
-[ COMMON_OPTIONS ]
26e710
-.RE
26e710
-.br
26e710
-.RS 4
26e710
-[ \fIPV\fP ... ]
26e710
-.RE
26e710
--
26e710
-
26e710
 Change the region size of an LV.
26e710
 .br
26e710
 .P