From: Neil Brown <neilb@suse.de>
To: Frank Baumgart <frank.baumgart@gmx.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID5 superblocks partly messed up after degradation
Date: Wed, 11 Apr 2007 09:32:38 +1000 [thread overview]
Message-ID: <17948.7830.809009.253759@notabene.brown> (raw)
In-Reply-To: message from Frank Baumgart on Monday April 9
On Monday April 9, frank.baumgart@gmx.net wrote:
> Hello,
>
> hopefully someone can help me.
I'll see what I can do :-)
>
> The 4 x 300 RAID can not be assembled anymore.
>
> mdadm --assemble --verbose --no-degraded /dev/md5 /dev/hdc1 /dev/sdb1
> /dev/sdc1 /dev/sdd1
>
> mdadm: looking for devices for /dev/md5
> mdadm: /dev/hdc1 is identified as a member of /dev/md5, slot 2.
> mdadm: /dev/sdb1 is identified as a member of /dev/md5, slot 3.
> mdadm: /dev/sdc1 is identified as a member of /dev/md5, slot 0.
> mdadm: /dev/sdd1 is identified as a member of /dev/md5, slot 1.
> mdadm: added /dev/sdd1 to /dev/md5 as 1
> mdadm: failed to add /dev/hdc1 to /dev/md5: Invalid argument
> mdadm: failed to add /dev/sdb1 to /dev/md5: Invalid argument
> mdadm: failed to add /dev/sdc1 to /dev/md5: Invalid argument
> mdadm: /dev/md5 assembled from 0 drives (out of 4), but not started.
That is a little odd.
Looking at the 'Event' number on the devices as given below, sdd1 is
way behind all the others, and so mdadm should not be including
it... and even if it is, the kernel should simply let the one with the
higher event count over-ride.
Are there any kernel logs that this time which might make it clear
what is happening?
>
> Detaching sdb (the faulty disk) does not make any difference.
sdd1 seems to be the problem. Can you run the above 'mdadm' command
but without listing /dev/sdd1 ?
> /dev/sdb1:
....
>
> Number Major Minor RaidDevice State
> this 3 8 49 3 active sync
> /dev/sdd1 <- what's this? why "SDD"? This is "SDB"! also, this
> is the faulty device!
/dev/sdd1 is the device with major/minor numbers 8,49.
The last time the array was assembled, the device at slot '3' had
major/minor numbers 8,49. It is telling you what the situation used
to be, not what it is now. Just ignore it...
NeilBrown
next prev parent reply other threads:[~2007-04-10 23:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-09 18:04 RAID5 superblocks partly messed up after degradation Frank Baumgart
2007-04-10 23:32 ` Neil Brown [this message]
2007-04-13 22:09 ` Frank Baumgart
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=17948.7830.809009.253759@notabene.brown \
--to=neilb@suse.de \
--cc=frank.baumgart@gmx.net \
--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).