[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [LVM2 PATCH] Fix "--log" in lvcreate/lvconvert man pages



Hi,

This is a minor bug fix in lvcreate/lvconvert man pages.

"--log" was changed to "--mirrorlog".
But it still remains in man pages.

Thanks,
-- 
Jun'ichi Nomura, NEC Corporation of America
Fix man pages using "--log" instead of "--mirrorlog".

Index: LVM2.work/man/lvconvert.8
===================================================================
--- LVM2.work.orig/man/lvconvert.8
+++ LVM2.work/man/lvconvert.8
@@ -47,7 +47,7 @@ regenerated by copying the data from the
 time the device is activated - perhaps, for example, after every reboot.
 .TP
 .I \-\-corelog
-The optional argument "--corelog" is the same as specifying "--log core".
+The optional argument "--corelog" is the same as specifying "--mirrorlog core".
 .TP
 .I \-R, \-\-regionsize MirrorLogRegionSize
 A mirror is divided into regions of this size (in MB), and the mirror log
@@ -71,12 +71,12 @@ If the volume is read-only the snapshot 
 converts the linear logical volume "vg00/lvol1" to
 a two-way mirror logical volume.
 
-"lvconvert --log core vg00/lvol1"
+"lvconvert --mirrorlog core vg00/lvol1"
 .br
 converts a mirror with a disk log to a
 mirror with an in-memory log.
 
-"lvconvert --log disk vg00/lvol1"
+"lvconvert --mirrorlog disk vg00/lvol1"
 .br
 converts a mirror with an in-memory log
 to a mirror with a disk log.
Index: LVM2.work/man/lvcreate.8
===================================================================
--- LVM2.work.orig/man/lvcreate.8
+++ LVM2.work/man/lvcreate.8
@@ -102,7 +102,7 @@ data being mirrored. Using core means th
 by copying the data from the first device again each time the
 device is activated, for example, after every reboot.
 
-The optional argument --corelog is equivalent to --log core.
+The optional argument --corelog is equivalent to --mirrorlog core.
 
 .TP
 .I \-n, \-\-name LogicalVolumeName
@@ -161,7 +161,7 @@ with 2 sides with a useable size of 500 
 require 3 devices - two for the mirror devices and one for the disk
 log.
 
-"lvcreate -m1 --log core -L 500M vg00" tries to create a mirror logical volume
+"lvcreate -m1 --mirrorlog core -L 500M vg00" tries to create a mirror logical volume
 with 2 sides with a useable size of 500 MiB.  This operation would
 require 2 devices - the log is "in-memory".
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]