summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/FAQ6
-rw-r--r--debian/initramfs/script.local-top9
2 files changed, 5 insertions, 10 deletions
diff --git a/debian/FAQ b/debian/FAQ
index 953e86dd..d35e1fda 100644
--- a/debian/FAQ
+++ b/debian/FAQ
@@ -129,6 +129,9 @@ Also see /usr/share/doc/mdadm/README.recipes.gz
4b. Can a 4-disk RAID10 survive two disk failures?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ I am assuming that you are talking about a setup with two copies of each
+ block, so --layout=near2/far2/offset2:
+
In half of the cases, yes [0], and it does not matter which layout you use.
When you assemble 4 disks into a RAID10, you essentially stripe a RAID0
across two RAID1, so the four disks A,B,C,D become two pairs: A,B and C,D.
@@ -138,7 +141,8 @@ Also see /usr/share/doc/mdadm/README.recipes.gz
Thus, if you see a disk failing, replace it as soon as possible!
If you need to handle two failing disks out of a set of four, you have to
- use RAID6.
+ use RAID6, or store more than two copies of each block (see the --layout
+ option in the mdadm(8) manpage).
0. it's actually 1/(n-1), where n is the number of disks. I am not
a mathematician, see http://aput.net/~jheiss/raid10/
diff --git a/debian/initramfs/script.local-top b/debian/initramfs/script.local-top
index 0f5f52d4..621f617a 100644
--- a/debian/initramfs/script.local-top
+++ b/debian/initramfs/script.local-top
@@ -106,13 +106,4 @@ elif [ "$MD_DEVS" != none ]; then
done
fi
-verbose && log_begin_msg "Triggering udev events for assembled arrays"
-for uevent in /sys/block/md*/uevent; do
- test -w $uevent || continue
- echo add > $uevent
- uevent=${uevent#/sys/block/}
- verbose && log_success_msg "triggered uevent for ${uevent%/uevent}"
-done
-verbose && log_end_msg
-
exit 0