summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJonathan Earl Brassow <jbrassow@redhat.com>2011-08-02 22:07:20 +0000
committerJonathan Earl Brassow <jbrassow@redhat.com>2011-08-02 22:07:20 +0000
commitcac52ca4ce125a5815121944995c0cdd752dec7e (patch)
treeb8b5e34ee23c4af2034ccfcd9a23c9cd5a0c1083 /man
parentc212019f3ac76d8b8e3f2afcda45fcf7ca9d9656 (diff)
downloadlvm2-cac52ca4ce125a5815121944995c0cdd752dec7e.tar.gz
lvm2-cac52ca4ce125a5815121944995c0cdd752dec7e.tar.xz
lvm2-cac52ca4ce125a5815121944995c0cdd752dec7e.zip
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
Diffstat (limited to 'man')
-rw-r--r--man/lvcreate.8.in13
1 files changed, 9 insertions, 4 deletions
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),