1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

minor updates to the lvcreate/lvconvert man pages.

- put back reference to '--corelog'.  It now says that it
is the same as '--log core'.
- other minor touches
This commit is contained in:
Jonathan Earl Brassow 2007-08-09 20:43:29 +00:00
parent 6a6342f775
commit a6d4f21cdb
2 changed files with 13 additions and 7 deletions

View File

@ -3,7 +3,7 @@
lvconvert \- convert a logical volume from linear to mirror or snapshot
.SH SYNOPSIS
.B lvconvert
\-m/\-\-mirrors Mirrors [\-\-log {disk|core}] [\-R/\-\-regionsize MirrorLogRegionSize]
\-m/\-\-mirrors Mirrors [\-\-log {disk|core}] [\-\-corelog] [\-R/\-\-regionsize MirrorLogRegionSize]
[\-A/\-\-alloc AllocationPolicy]
[\-h/\-?/\-\-help]
[\-v/\-\-verbose]
@ -38,9 +38,12 @@ volume to a mirror volume with 2-sides; that is, a
linear volume plus one copy.
.TP
.I \-\-log disk/core
This optional argument gives the ability to switch the
logging type that is used by a mirror. The logging type
can be either "disk" (persistent) or "core" (non-persistent).
This optional argument switches the logging type of a
mirror. The logging type can be either "disk" (persistent)
or "core" (non-persistent). The default logging type is "disk".
.TP
.I \-\-corelog
The optional argument "--corelog" is the same as specifying "--log core".
.TP
.I \-R, \-\-regionsize MirrorLogRegionSize
A mirror is divided into regions of this size (in MB), and the mirror log
@ -62,7 +65,7 @@ If the volume is read-only the snapshot will not be zeroed.
"lvconvert -m1 vg00/lvol1"
.br
converts the linear logical volume "vg00/lvol1" to
a two-legged mirror logical volume.
a two-way mirror logical volume.
"lvconvert --log core vg00/lvol1"
.br

View File

@ -11,7 +11,7 @@ lvcreate \- create a logical volume in an existing volume group
{\-l/\-\-extents LogicalExtentsNumber[%{VG|FREE}] |
\-L/\-\-size LogicalVolumeSize[kKmMgGtT]}
[\-M/\-\-persistent y/n] [\-\-minor minor]
[\-m/\-\-mirrors Mirrors [\-\-nosync] [\-\-log {disk|log}]
[\-m/\-\-mirrors Mirrors [\-\-nosync] [\-\-log {disk|log}] [\-\-corelog]
[\-R/\-\-regionsize MirrorLogRegionSize]]
[\-n/\-\-name LogicalVolumeName]
[\-p/\-\-permission r/rw] [\-r/\-\-readahead ReadAheadSectors]
@ -99,9 +99,12 @@ The optional argument "--log" gives the ability to specify the type
of mirror log to be used. The available types are "disk" and "core",
where "disk" is the default. The "disk" log is persistent and requires
a small amount of storage space - usually on a separate device from the
mirror legs. While the "disk" log may cause the mirror to be slightly
mirror devices. While the "disk" log may cause the mirror to be slightly
slower during writes, it prevents the need to completely resynchronize
the mirror upon each instantiation (e.g. a reboot).
The optional argument "--corelog" is the same as specifying "--log core".
.TP
.I \-n, \-\-name LogicalVolumeName
The name for the new logical volume.