From: Tim Small <tim@buttersideup.com>
To: linux-raid@vger.kernel.org
Subject: Re: disk testing
Date: Tue, 14 Sep 2004 10:15:43 +0100 [thread overview]
Message-ID: <4146B6BF.1050408@buttersideup.com> (raw)
In-Reply-To: <20040914085007.486103E2F@xprdmailfe12.nwk.excite.com>
If there is an unreadable sector on the disk, then reading it will fail,
but if you write to it, the drive firmware will reallocate the sector,
and then allow reading (actually the sector it is reading is now
somewhere else on the disk, but the firmware hides this). If the raid5
sync was trying to read such a sector, but your other tests have written
it, then it will now appear to be fine (and the raid5 should now work).
If I were you I would use smartmontools to check out the drive (you can
then see if it has reallocated any sectors, and read errors should show
up in the SMART error log).
Tim.
p.s. Prelim SMART support for libata:
http://www.ussg.iu.edu/hypermail/linux/kernel/0408.3/2304.html
harry wrote:
>I just bought 3 sata drives and set them up in a raid5 array. About 45% into syncing them, the first disk gets an error and goes offline. I figure I did something wrong, so I retrace my steps and try again, and again, I get an error about 45% of the way through, the first disk errors and goes offline.
>
>So, I think I have a bad disk. But wait! I created a raid 1 array on the remaining two to see if there are any other errors later on those two (there weren't), and I create a normal partition/fs on the failing disk. I begin writing various bitpatterns across the entire disk and reading them back, trying to find the problem. So far, I've done about 5 passes over the entire disk without error!
>
>So, any idea why raid would be getting errors from the disk, but I don't seem to be able to? (or, what I should tell the store I bought it from when I try to get it replaced?)
>
>
>
next prev parent reply other threads:[~2004-09-14 9:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-14 8:50 disk testing harry
2004-09-14 9:06 ` Neil Brown
2004-09-14 9:15 ` Tim Small [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-09-14 9:04 harry
2004-09-14 9:54 harry
[not found] <20040914095208.E790A3969@xprdmailfe9.nwk.excite.com>
2004-09-14 12:17 ` Tim Small
2004-09-17 2:50 harry
2004-09-17 9:18 ` Tim Small
2004-09-17 15:08 ` Sebastien Koechlin
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=4146B6BF.1050408@buttersideup.com \
--to=tim@buttersideup.com \
--cc=linux-raid@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.