From: Simon <simon.xhz@gmail.com>
To: linux-raid@vger.kernel.org
Subject: Re: spare not becoming active
Date: Tue, 3 Jul 2007 17:54:16 -0500 [thread overview]
Message-ID: <f7de5e030707031554y24dbf445k47af7cf4d2b097e8@mail.gmail.com> (raw)
In-Reply-To: <f7de5e030707031552s5963b015v6d80c11e853fb71@mail.gmail.com>
Oups, sorry for the double posts...
> This is normal for a RAID-5 array construction. Rather than force you to
> wait for ages until the RAID parity has been written, mdadm creates a
> degraded two-element array with a single spare and fails over to it; the
> rebuild involved in the failover automatically constructs the parity.
Makes sense. And i was aware that it was reconstructing...
> > [dev 9, 1] /dev/md1 84AA4AAF.8B2C555E.3F9AE70D.2EEDD5B3 online
> > [dev 8, 18] /dev/sdb2 84AA4AAF.8B2C555E.3F9AE70D.2EEDD5B3 good
> > [dev 8, 34] /dev/sdc2 84AA4AAF.8B2C555E.3F9AE70D.2EEDD5B3 good
> > [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing
> > [dev 8, 50] /dev/sdd2 84AA4AAF.8B2C555E.3F9AE70D.2EEDD5B3 spare
>
> That output is rather strange though, mainly because of the mystic
> missing drive with no name. mdadm bug?
That missing drive is the story of my life with raid!!
You must have missed the previous posts i sent in this thread, where I
was getting one active device and two spare (not being active) and 2
missing drives. As if the missing drive were taking the spot of an
active one, and the spare waiting could not take that spot.
Well, that's how I understood it, with my noobish mind! ;)
Worst part is that, even though no trace is left on my system after a
reboot (all is written to a tmpfs), even if i was formating the
devices (eg: /dev/sdb2) or using `mdadm --zero-superblock ...` They
were still being created as missing.
Anyway, good news! After reconstruction the output looks perfect, i
tried soft failing one device and it came back just fine. Problem was
with a real failure (see first post).
Thanks,
Simon
prev parent reply other threads:[~2007-07-03 22:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-27 20:34 spare not becoming active Simon
2007-06-28 16:06 ` Simon
2007-07-03 20:53 ` Simon
2007-07-03 22:20 ` Nix
2007-07-03 22:52 ` Simon
2007-07-03 22:54 ` Simon [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=f7de5e030707031554y24dbf445k47af7cf4d2b097e8@mail.gmail.com \
--to=simon.xhz@gmail.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 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).