raid10 failing to fail... | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi All, I have a raid10 array md0 which, when I fail all reads on the first underlying block device (/dev/sda5), reads from the array hang forever. This is easy for me to reproduce (blkflsbuf is a simple C program that does a BLKFLSBUF ioctl): # mount -t debugfs debugfs /debug # echo 1 > /debug/fail_make_request/interval # echo 100 > /debug/fail_make_request/probability # echo 0 > /debug/fail_make_request/space # echo N > /debug/fail_make_request/task-filter # echo -1 > /debug/fail_make_request/times # echo 2 > /debug/fail_make_request/verbose # ./blkflsbuf /dev/md0 # ./blkflsbuf /dev/sda5 # echo 1 > /sys/block/sda/sda5/make-it-fail # dd if=/dev/sda5 of=/dev/null count=1 [fails as expected] # ./blkflsbuf /dev/sda5 # dd if=/dev/md0 of=/dev/null count=1 [hangs here -- kill -INT, -TERM, -KILL have no effect...] I expected to get the reads coming from the working mirror and to have the failing disk marked Faulty. This is tested w/ today's git tree, but seems to happen on every kernel I've tried (2.6.9 RHEL4, 2.6.26). Any ideas? Thanks... Arthur -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home] [ATA RAID] [Linux] [Managing RAID on Linux] [Linux IDE] [Linux SCSI] [Linux Hams] [Device-Mapper] [Kernel] [Linux Books] [Linux Admin] [Linux Net] [GFS] [RPM] [Photos] [Yosemite Photos] [Yosemite News] [AMD 64] [Linux Nework]
![]() |
![]() |