1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

RAID: Add "raid10" to lvcreate man page.

In addition to reference to raid10 under the '--type' argument, an
example creating a RAID10 LV has been added.
This commit is contained in:
Jonathan Brassow 2012-10-15 15:41:14 -05:00
parent 7519d881ef
commit 67379a3ffd

View File

@ -298,7 +298,7 @@ commandline switch alias that will enable their use
However, this argument must be used when no existing
commandline switch alias is available for the desired type,
as is the case with
.IR error ", " zero ", " raid1 ", " raid4 ", " raid5 " or " raid6 .
.IR error ", " zero ", " raid1 ", " raid10 ", " raid4 ", " raid5 " or " raid6 .
.TP
.BR \-V ", " \-\-virtualsize " " \fIVirtualSize [ \fIbBsSkKmMgGtTpPeE ]
Create a sparse device of the given size (in MB by default) using a snapshot
@ -363,6 +363,14 @@ a parity drive for a total of 4 devices) and a stripesize of 64KiB:
.sp
.B lvcreate \-\-type raid5 \-L 5G \-i 3 \-I 64 \-n my_lv vg00
Creates a 5GiB RAID10 logical volume "vg00/my_lv", with 2 stripes on
2 2-way mirrors. Note that the '-i' and '-m' arguments behave differently.
The '-i' specifies the number of stripes. The '-m' specifies the number of
.B additional
copies.
.sp
.B lvcreate \-\-type raid10 \-L 5G \-i 2 \-m 1 \-n my_lv vg00
Creates 100MiB pool logical volume for thin provisioning
build with 2 stripes 64KiB and chunk size 128KiB together with
1TiB thin provisioned logical volume "vg00/thin_lv":