summaryrefslogtreecommitdiff
path: root/doc
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 /doc
parentc212019f3ac76d8b8e3f2afcda45fcf7ca9d9656 (diff)
downloadlvm2-cac52ca4ce125a5815121944995c0cdd752dec7e.tar.gz
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 'doc')
-rw-r--r--doc/example.conf.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/example.conf.in b/doc/example.conf.in
index a7219846a..7fe8d596e 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -474,6 +474,26 @@ activation {
# "auto" - Use default value chosen by kernel.
readahead = "auto"
+ # 'mirror_segtype_default' defines which segtype will be used when the
+ # shorthand '-m' option is used for mirroring. The possible options are:
+ #
+ # "mirror" - The original RAID1 implementation provided by LVM2/DM. It is
+ # characterized by a flexible log solution (core, disk, mirrored)
+ # and by the necessity to block I/O while reconfiguring in the
+ # event of a failure. Snapshots of this type of RAID1 can be
+ # problematic.
+ #
+ # "raid1" - This implementation leverages MD's RAID1 personality through
+ # device-mapper. It is characterized by a lack of log options.
+ # (A log is always allocated for every device and they are placed
+ # on the same device as the image - no separate devices are
+ # required.) This mirror implementation does not require I/O
+ # to be blocked in the kernel in the event of a failure.
+ #
+ # Specify the '--type <mirror|raid1>' option to override this default
+ # setting.
+ mirror_segtype_default = "mirror"
+
# 'mirror_image_fault_policy' and 'mirror_log_fault_policy' define
# how a device failure affecting a mirror is handled.
# A mirror is composed of mirror images (copies) and a log.