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