From: Jason Lunz <lunz@falooley.org>
To: dean gaudet <dean-list-linux-raid@arctic.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: recovery of hosed raid5 array
Date: Sun, 12 Oct 2003 14:04:19 -0400 [thread overview]
Message-ID: <20031012180419.GA23827@orr.falooley.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0310121034090.7866@twinlark.arctic.org>
On Sun, Oct 12, 2003 at 10:39AM -0700, dean gaudet wrote:
> querying SMART shouldn't cause this to happen -- but i've seen it occur
That's true, in theory. Fact is, asking a broken drive to do SMART stuff
may be the straw that breaks the camel's back. Immediately upon using
smartctl -a, /dev/hde started making repetetive clicking sounds every
half second or so, and the ide driver spammed syslog spectacularly. It's
only worked sporadically since (no more than a few minutes at a time),
even when power-cycled.
> with a promise controller and maxtor disks. i used to query the SMART
oddly enough, it _is_ a maxtor disk on a promise controller (PDC20626, I
believe).
> i've since switched from promise to 3ware, and now i can't use smartctl to
> query the data. (mind you a kind engineer from 3ware sent me the code i
> need to query SMART from the drives, i've just never had the chance to
> merge it into smartctl).
I've heard noises about 3ware support in very recent releases of
smartmontools, iirc.
> mdadm can do it for you ... you need to know exactly which disk was in
> which position in the raid. then you recreate the raid using "missing" in
> the slot where /dev/hde belonged. then you'll have a degraded array, so
> md won't try rebuilding it. then you can copy off the data.
seriously? Did you read the whole thread? mdadm will do the right thing
even though /dev/hdg was 3% into a resync when /dev/hde died? That would
be lovely.
> you need to know the exact numberings, and the exact commands you used
> to create the array in the first place.
How might I go about figuring this out? I got a 120G drive yesterday
that's large enough to capture raw images of all the raid disks, so I
can try different combinations of commands. What I can't do is look at
the logs, because the non-raid portion of the now-dead /dev/hde held the
root, /usr, and /var partitions.
Jason
next prev parent reply other threads:[~2003-10-12 18:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-11 15:52 recovery of hosed raid5 array Jason Lunz
2003-10-11 18:59 ` linux-raid
2003-10-12 1:14 ` rob
2003-10-12 15:14 ` Jason Lunz
2003-10-12 17:39 ` dean gaudet
2003-10-12 18:04 ` Jason Lunz [this message]
2003-10-12 18:34 ` dean gaudet
2003-10-13 13:54 ` Dragan Simic
2003-10-13 17:00 ` dean gaudet
2003-10-26 19:40 ` Mike Fedyk
2003-10-26 19:48 ` Jason Lunz
2003-10-26 21:29 ` dean gaudet
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=20031012180419.GA23827@orr.falooley.org \
--to=lunz@falooley.org \
--cc=dean-list-linux-raid@arctic.org \
--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 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).