Adaptec 3210S, 4.9-STABLE, corruption when disk fails

Don Bowman don at SANDVINE.com
Fri Apr 1 08:27:49 PST 2005


From: Uwe Doering [mailto:gemini at geminix.org] 
 ...
> As far as I understand this family of controllers the OS 
> drivers aren't involved at all in case of a disk drive 
> failure.  It's strictly the controller's business to deal 
> with it internally.  The OS just sits there and waits until 
> the controller is done with the retries and either drops into 
> degraded mode or recovers from the disk error.
> 
> That's why I initially speculated that there might be a 
> timeout somewhere in PostgreSQL or FreeBSD that leads to data 
> loss if the controller is busy for too long.
> 
> A somewhat radical way to at least make these failures as 
> rare an event as possible would be to deliberately fail all 
> remaining old disk drives, one after the other of course, in 
> order to get rid of them.  And if you are lucky the problem 
> won't happen with newer drives anyway, in case the root cause 
> is an incompatibility between the controller and the old drives.

Started that yesterday. I've got one 'old' one left.
Sadly, the one that failed night before last was not one of the
'old' ones, so this is no guarantee :)

>From the raidutil -e log, I see this type of info. I'm not sure 
what the 'unknown' events are. The 'CRC Failure' is probably the
problem? There's also Bad SCSI Status, unit attention, etc.
Perhaps the driver doesn't deal with these properly?

$ raidutil -e d0
03/31/2005  23:37:59   Level 1
Lock for Channel 0 : Started


03/31/2005  23:37:59   Level 1
Lock for Channel 1 : Started


03/31/2005  23:38:09   Level 1
Lock for Channel 0 : Stopped


03/31/2005  23:38:22   Level 1
Lock for Channel 1 : Stopped


03/31/2005  23:38:22   Level 4
HBA=0 BUS=0 ID=0 LUN=0
Status Change
Optimal   => Degraded - Drive Failed


03/31/2005  23:38:22   Level 1
Unknown Event : 56 10 00 08 EE 89 4C 42 00 00 00 00 


03/31/2005  23:38:22   Level 1
CRC Failure
Number of dirty blocks = -1
FFFFFFFF D30A1F2A 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 


03/31/2005  23:38:24   Level 3
HBA=0 BUS=0 ID=0 LUN=0
Bad SCSI Status - Check Condition
28 00 00 00 00 00 00 00 01 00 00 00 


03/31/2005  23:38:24   Level 3
HBA=0 BUS=0 ID=0 LUN=0
Request Sense
70 00 06 00 00 00 00 0A 00 00 00 00 29 02 02 00 00 00 
Unit Attention



More information about the freebsd-stable mailing list