software raid hangs.
From: Donghui Wen <hidden>
Date: 2003-07-08 21:23:18
Hi,
I am testing software-raid with 3ware-7500 controller on a
hot-swappable chassis.
I found out that software-raid 5 could not even sustain 1 disk failure in
this case.
May be it is the limitation of linux scsi driver or 3ware driver. Do your
guys have
any ideas what it is going on? Here is what I did:
* setup 3ware-7500 as jbod mode with 7 ide disks.
* make raid 5 (md0) with sdb1 ~ sdh1
* mount /dev/md0 /u02
* cd /u02 and run bonnie++
* when bonnie++ is running, I pulled out one disk (sda). bonnie++ will
switch to state 'D'
and hangs there.
* Any disk operation in /u02 will hangs, for example : echo "Hello,
world" > aaa.txt
If the whole operating system is installed on a software-raid 5
partition, in this case,
the system hangs since disk io will cause a process switch to state 'D'.
I think these is the limitation of linux scsi driver( scsi itself does
not support hotplug),
but if it is true, software-raid is not a real raid solutions, because if
one disk is pulled out,
the whole system hangs.
Thanks!
Donghui