From cac52ca4ce125a5815121944995c0cdd752dec7e Mon Sep 17 00:00:00 2001 From: Jonathan Earl Brassow Date: Tue, 2 Aug 2011 22:07:20 +0000 Subject: Add basic RAID segment type(s) support. Implementation described in doc/lvm2-raid.txt. Basic support includes: - ability to create RAID 1/4/5/6 arrays - ability to delete RAID arrays - ability to display RAID arrays Notable missing features (not included in this patch): - ability to clean-up/repair failures - ability to convert RAID segment types - ability to monitor RAID segment types --- man/lvcreate.8.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/lvcreate.8.in b/man/lvcreate.8.in index 4dced001..03d8013c 100644 --- a/man/lvcreate.8.in +++ b/man/lvcreate.8.in @@ -199,11 +199,11 @@ of space. .TP .I \-\-type SegmentType Create a logical volume that uses the specified segment type -(e.g. "mirror", "snapshot", "striped"). Especially useful when no -existing commandline switch alias enables the use of the desired type -(e.g. "error" or "zero" types). Many segment types already have a +(e.g. "raid5", "mirror", "snapshot"). Many segment types have a commandline switch alias that will enable their use (-s is an alias for ---type snapshot). +--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". .TP .I \-\-virtualsize VirtualSize Create a sparse device of the given size (in MB by default) using a snapshot. @@ -258,7 +258,12 @@ under 100MB of actual data on it. .br creates a linear logical volume "vg00/lvol1" using physical extents /dev/sda:0-7 and /dev/sdb:0-7 for allocation of extents. +.br +"lvcreate --type raid5 -L 5G -i 3 -I 64 -n my_lv vg00" +.br +creates a 5GiB RAID5 logical volume "vg00/my_lv", with 3 stripes (plus +a parity drive for a total of 4 devices) and a stripesize of 64kiB. .SH SEE ALSO .BR lvm (8), -- cgit