mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +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
|
.SH SYNOPSIS
|
||||||
.B lvconvert
|
.B lvconvert
|
||||||
\-m|\-\-mirrors Mirrors [\-\-mirrorlog {disk|core|mirrored}] [\-\-corelog] [\-R|\-\-regionsize MirrorLogRegionSize]
|
\-m|\-\-mirrors Mirrors [\-\-mirrorlog {disk|core|mirrored}] [\-\-corelog] [\-R|\-\-regionsize MirrorLogRegionSize]
|
||||||
|
[\-\-type SegmentType]
|
||||||
[\-A|\-\-alloc AllocationPolicy]
|
[\-A|\-\-alloc AllocationPolicy]
|
||||||
[\-b|\-\-background] [\-f|\-\-force] [\-i|\-\-interval Seconds]
|
[\-b|\-\-background] [\-f|\-\-force] [\-i|\-\-interval Seconds]
|
||||||
[\-h|\-?|\-\-help]
|
[\-h|\-?|\-\-help]
|
||||||
@ -50,6 +51,7 @@ LogicalVolume[Path]...
|
|||||||
[\-v|\-\-verbose]
|
[\-v|\-\-verbose]
|
||||||
[\-\-version]
|
[\-\-version]
|
||||||
LogicalVolume[Path] [PhysicalVolume[Path]...]
|
LogicalVolume[Path] [PhysicalVolume[Path]...]
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
lvconvert is used to change the segment type (i.e. linear, mirror, etc) or
|
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
|
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
|
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.
|
uses this granularity to track which regions are in sync.
|
||||||
.TP
|
.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
|
.I \-b, \-\-background
|
||||||
Run the daemon in the background.
|
Run the daemon in the background.
|
||||||
.TP
|
.TP
|
||||||
@ -179,6 +186,12 @@ activation/mirror_device_fault_policy.
|
|||||||
.br
|
.br
|
||||||
converts the linear logical volume "vg00/lvol1" to
|
converts the linear logical volume "vg00/lvol1" to
|
||||||
a two-way mirror logical volume.
|
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"
|
"lvconvert --mirrorlog core vg00/lvol1"
|
||||||
.br
|
.br
|
||||||
@ -195,6 +208,11 @@ to a mirror with a disk log.
|
|||||||
converts a mirror logical volume to a linear logical
|
converts a mirror logical volume to a linear logical
|
||||||
volume.
|
volume.
|
||||||
.br
|
.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
|
.br
|
||||||
"lvconvert -s vg00/lvol1 vg00/lvol2"
|
"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
|
commandline switch alias that will enable their use (-s is an alias for
|
||||||
--type snapshot). However, this argument must be used when no existing
|
--type snapshot). However, this argument must be used when no existing
|
||||||
commandline switch alias is available for the desired type, as is the case
|
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
|
.TP
|
||||||
.BR \-V ", " \-\-virtualsize " " \fIVirtualSize
|
.BR \-V ", " \-\-virtualsize " " \fIVirtualSize
|
||||||
Create a sparse device of the given size (in MB by default) using a snapshot.
|
Create a sparse device of the given size (in MB by default) using a snapshot.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user