raid5, 2 drives dead at same time,kernel will Oops?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to simulate a case that two drives
in an array fail ad same time.
I use two ide drives, I try to create a 
raid 5 array with 4 arms, created as following:

/dev/hdc1
/dev/hde1
/dev/hdc2
/dev/hde2

This is just for test, I know create two arms on
one hard drive doesn't make much sense.


Anyway, when I run this array, if I power off one
of hard drive (/dev/hde) to simulate two arms failing 
at same  time in an array, I got system Oops. I am using
2.4-18 kernel.

Anyone can tell me if this is normal? or if there is a fix for this?

Thanks in advance.

Here are the output:

=================================
hde: drive not ready for command

md: updating md0 RAID superblock on device

md: (skipping faulty hde2 )

md: hdc2 [events: 00000002]<6>(write) hdc2's sb offset: 3469952

md: (skipping faulty hde1 )

md: hdc1 [events: 00000002]<6>(write) hdc1's sb offset: 16064896

md0: no spare disk to reconstruct array! -- continuing in degraded mode

md: recovery thread finished ...

md: recovery thread got woken up ...

md0: no spare disk to reconstruct array! -- continuing in degraded mode

md: recovery thread finished ...

sector=561a8 i=0 00000000 00000000 8132e840 0

kernel BUG at raid5.c:309!

kupdated(7): Oops

================================================


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux