From: Neil Brown <neilb@suse.de>
To: Maarten <maarten@ultratux.net>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: woes with... mdadm ?
Date: Fri, 29 Jan 2010 21:42:59 +1100 [thread overview]
Message-ID: <20100129214259.27409fd8@notabene> (raw)
In-Reply-To: <4B5F6C5D.8020202@ultratux.net>
On Tue, 26 Jan 2010 23:27:41 +0100
Maarten <maarten@ultratux.net> 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
prev parent reply other threads:[~2010-01-29 10:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-26 22:27 woes with... mdadm ? Maarten
2010-01-27 4:14 ` Michael Evans
2010-01-27 18:30 ` Maarten
2010-01-29 4:58 ` Michael Evans
2010-01-29 10:42 ` Neil Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100129214259.27409fd8@notabene \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=maarten@ultratux.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).