Thread (5 messages) 5 messages, 3 authors, 2010-01-29

Re: woes with... mdadm ?

From: Neil Brown <hidden>
Date: 2010-01-29 10:42:59

On Tue, 26 Jan 2010 23:27:41 +0100
Maarten [off-list ref] wrote:
Hi Folks,

I'm having no end of trouble with a freshly built x86_64 system. After 
reboots checksums are corrupted, I cannot add drives back in, etc. I've 
downgraded from mdadm 3.0 to 2.6.8 but that doesn't change anything. 
First of all, maybe I'm missing something obvious. Does anyone spot an 
error in the following ?
It looks to me like you have a very nasty hardware problem somewhere,
possibly in a sata controller, but I cannot be sure.

You write data out to the disk and read it back in, and find you have
slightly different data.  This is showing up as a wrong checksum.

You results are begin confused by the fact that writes are cached and when
you read you might be reading from the device or you might be reading from
the cache.

I would suggest that you write a known pattern to the device.
Flush all caches
   echo 3 > /proc/sys/vm/drop_caches
then read back and compare.
That should confirm that it is a device problem..

I cannot think of anything else that would explain your symptoms.

NeilBrown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help