From: Neil Brown <neilb@cse.unsw.edu.au>
To: Maurice Hilarius <maurice@harddata.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: How to recover this RAID5?
Date: Mon, 9 Jun 2003 07:38:18 +1000 [thread overview]
Message-ID: <16099.44234.715573.577139@gargle.gargle.HOWL> (raw)
In-Reply-To: message from Maurice Hilarius on Sunday June 8
On Sunday June 8, maurice@harddata.com wrote:
> Hi there.
>
> I am a bit stumped on this one, and hope somebody can suggest a way to
> recover it.
> The user has no backup, and hopes to recover data from this array.
>
> Assistance would be deeply appreciated.
Based on "Events", sda1, sdc1, sdd1 are most recent. sdb1 is much
older.
So assuming they were in order, I would:
mdadm -C /dev/md0 -l 5 -n 4 /dev/sda1 missing /dev/sdc1 /dev/sdd1
and then see what the filesystem looks like.
Doing this will not corrupt any data except the superblocks (which are
already close to useless), so if it doesn't look right, you can stop
the array and assemble difference devices in a difference order.
>
> System has 4 IDE disks on a 3Ware 4 port.
> RAID5.
>
> One of the disks apparently went offline without the user noticing.
> Now the array is in a read-only state.
> Probable cause is that these are WD 1800GB drives, and they have not had
> the WD patch applied, so probably drives started going to "sleep".
>
> I provide some (hopefully) useful information:
>
> In mdadm --examine I see that somehow the devices 1,2,3, have now been
> renamed to devices 4,5,6
>
> And that 2 devices have become designated as spares.
>
> This really puzzles me.
The simplest explanation would be that someone did:
mdadm -r /dev/md0 /dev/sda1 ; mdadm -a /dev/md0 /dev/sda1
or something like that.
Good luck,
NeilBrown
prev parent reply other threads:[~2003-06-08 21:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-08 12:31 How to recover this RAID5? Maurice Hilarius
2003-06-08 21:38 ` 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=16099.44234.715573.577139@gargle.gargle.HOWL \
--to=neilb@cse.unsw.edu.au \
--cc=linux-raid@vger.kernel.org \
--cc=maurice@harddata.com \
/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