From: Bill Davidsen <davidsen@tmr.com>
To: Eamonn Hamilton <eamonn@snifter.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: differnet UUIDs and no of spares :(
Date: Wed, 14 Jan 2009 17:50:31 -0500 [thread overview]
Message-ID: <496E6C37.9030608@tmr.com> (raw)
In-Reply-To: <1231954002.17710.13.camel@brandy.snifter.org>
Eamonn Hamilton wrote:
> Hi Guys,
>
> I'm looking at a server with a bunch of disks that had a raid 5 with two
> spares, however, one of the spares failed, the system then started
> rebuilding on the other and it crashed during the rebuild.
>
> I'm now left in the following situation :
>
>
> for a in a b c d e f g h i; do mdadm --examine --scan /dev/sd${a}; done
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:5feed4c5:31c51eb2
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:5feed4c5:31c51eb2
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:5feed4c5:31c51eb2
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:5feed4c5:31c51eb2
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:5feed4c5:31c51eb2
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:8d12a2d2:3188faf0
> spares=1
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:8d12a2d2:3188faf0
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:8d12a2d2:3188faf0
> spares=1
> ARRAY /dev/md0 level=raid5 num-devices=7 UUID=e1e75e8b:f9f387cd:8d12a2d2:3188faf0
>
>
> The system complains because of the different uuids, and refuses to
> recreate the array.
>
> Is it basically stuffed, or is there something I can do to recover the
> 2TB filesystem that's on there ?
>
What can you tell us about how that happened? When (if ever) was it
running, how was it created, etc, etc.
You could probably try some things like trying to start it read-only
using --force, but don't do that yet, if you get it wrong you WILL be
likely to lose data.
--
Bill Davidsen <davidsen@tmr.com>
"Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark
next prev parent reply other threads:[~2009-01-14 22:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 17:26 differnet UUIDs and no of spares :( Eamonn Hamilton
2009-01-14 22:50 ` Bill Davidsen [this message]
2009-01-14 23:15 ` Eamonn Hamilton
2009-01-21 11:06 ` eamonn
2009-01-21 18:04 ` Bryon Roche
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=496E6C37.9030608@tmr.com \
--to=davidsen@tmr.com \
--cc=eamonn@snifter.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).