mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Update lvconvert man page to describe '--type <segtype>' argument
Man page changes were not included when the ability to convert from "mirror" -> "raid1" or "linear" -> "raid1" were made.
This commit is contained in:
parent
682309e0b8
commit
e4eaed8136
@ -4,6 +4,7 @@ lvconvert \- convert a logical volume from linear to mirror or snapshot
|
||||
.SH SYNOPSIS
|
||||
.B lvconvert
|
||||
\-m|\-\-mirrors Mirrors [\-\-mirrorlog {disk|core|mirrored}] [\-\-corelog] [\-R|\-\-regionsize MirrorLogRegionSize]
|
||||
[\-\-type SegmentType]
|
||||
[\-A|\-\-alloc AllocationPolicy]
|
||||
[\-b|\-\-background] [\-f|\-\-force] [\-i|\-\-interval Seconds]
|
||||
[\-h|\-?|\-\-help]
|
||||
@ -50,6 +51,7 @@ LogicalVolume[Path]...
|
||||
[\-v|\-\-verbose]
|
||||
[\-\-version]
|
||||
LogicalVolume[Path] [PhysicalVolume[Path]...]
|
||||
|
||||
.SH DESCRIPTION
|
||||
lvconvert is used to change the segment type (i.e. linear, mirror, etc) or
|
||||
characteristics of a logical volume. For example, it can add or remove the
|
||||
@ -94,6 +96,11 @@ The optional argument "--corelog" is the same as specifying "--mirrorlog core".
|
||||
A mirror is divided into regions of this size (in MB), and the mirror log
|
||||
uses this granularity to track which regions are in sync.
|
||||
.TP
|
||||
.I \-\-type SegmentType
|
||||
Used to convert a logical volume to another segment type or to explicitly state
|
||||
the desired RAID1 segment type ("mirror" or "raid1") when converting a linear
|
||||
logical volume to a mirror with the '-m' argument.
|
||||
.TP
|
||||
.I \-b, \-\-background
|
||||
Run the daemon in the background.
|
||||
.TP
|
||||
@ -179,6 +186,12 @@ activation/mirror_device_fault_policy.
|
||||
.br
|
||||
converts the linear logical volume "vg00/lvol1" to
|
||||
a two-way mirror logical volume.
|
||||
.br
|
||||
.SH Examples
|
||||
"lvconvert --type raid1 -m1 vg00/lvol1"
|
||||
.br
|
||||
converts the linear logical volume "vg00/lvol1" to a two-way RAID1
|
||||
logical volume.
|
||||
|
||||
"lvconvert --mirrorlog core vg00/lvol1"
|
||||
.br
|
||||
@ -195,6 +208,11 @@ to a mirror with a disk log.
|
||||
converts a mirror logical volume to a linear logical
|
||||
volume.
|
||||
.br
|
||||
"lvconvert --type raid1 vg00/mirror_lv"
|
||||
.br
|
||||
converts a mirror logical volume to a RAID1 logical volume with the same
|
||||
number of images.
|
||||
.br
|
||||
|
||||
.br
|
||||
"lvconvert -s vg00/lvol1 vg00/lvol2"
|
||||
|
@ -267,7 +267,7 @@ Create a logical volume that uses the specified segment type
|
||||
commandline switch alias that will enable their use (-s is an alias for
|
||||
--type snapshot). However, this argument must be used when no existing
|
||||
commandline switch alias is available for the desired type, as is the case
|
||||
with "error", "zero", "raid4", "raid5", or "raid6".
|
||||
with "error", "zero", "raid1", "raid4", "raid5", or "raid6".
|
||||
.TP
|
||||
.BR \-V ", " \-\-virtualsize " " \fIVirtualSize
|
||||
Create a sparse device of the given size (in MB by default) using a snapshot.
|
||||
|
Loading…
Reference in New Issue
Block a user