From: David Greaves <david@dgreaves.com>
To: Alexander Rietsch <Alexander.Rietsch@hispeed.ch>
Cc: Robin Hill <robin@robinhill.me.uk>,
linux-raid@vger.kernel.org,
Sujit Karataparambil <sjt.kar@gmail.com>
Subject: Re: RAID 5 re-add of removed drive? (failed drive replacement)
Date: Mon, 08 Jun 2009 10:19:39 +0100 [thread overview]
Message-ID: <4A2CD7AB.1000504@dgreaves.com> (raw)
In-Reply-To: <49F571CD-BD24-4F22-B13B-CF6B0E24FFD5@hispeed.ch>
Alexander Rietsch wrote:
> On 02.06.2009, at 15:10, Robin Hill wrote:
>
>> Almost - you'll also need to specify "missing" for disc 6 (and the
>> --assume-clean isn't actually needed in this case, as the array can't do
>> any reconstruction with a missing drive), so:
>>
>> mdadm --create /dev/md0 --level=5 --chunk=64 --raid-devices=7
>> /dev/sdi1 /dev/sdl1 /dev/sdh1 /dev/sdj1 /dev/sdk1 /dev/sdg1 missing
>
> Yes, that's it! The RAID is alive! Mr. Robin Hill, you're a HERO!
>
> With this trick, it's possible to recover a RAID which was confused by a
> data error during disk-replacement. I'll note this somewhere.
Maybe:
http://linux-raid.osdl.org/
:)
I've not had time to update it recently.
Sujit Karataparambil wrote:
> http://www.tldp.org/HOWTO/Software-RAID-HOWTO-3.html
>
> This is the RAID Documentation which I found very less suffiecient.
I spent some considerable time trying to get that resolved but sadly they were
of the opinion that it is better for tldp to provide misleading docs rather than
no docs or a link to better docs. I updated it and moved it to the link above.
Sujit Karataparambil wrote:
> Kindly Read the document correctly and throughly.
>
> raidhotadd /dev/mdX /dev/sdb
nb this is very very old unsupported software and it may not be wise to suggest it.
David
--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
next prev parent reply other threads:[~2009-06-08 9:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 10:09 RAID 5 re-add of removed drive? (failed drive replacement) Alex R
2009-06-02 10:18 ` Sujit Karataparambil
2009-06-02 10:45 ` Alexander Rietsch
2009-06-02 10:52 ` Sujit Karataparambil
2009-06-02 10:55 ` Sujit Karataparambil
2009-06-02 11:17 ` Robin Hill
2009-06-02 12:00 ` Alexander Rietsch
2009-06-02 13:10 ` Robin Hill
2009-06-02 14:24 ` Alexander Rietsch
2009-06-08 9:19 ` David Greaves [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-02 14:20 Jon Hardcastle
2009-06-02 17:13 ` Alexander Rietsch
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=4A2CD7AB.1000504@dgreaves.com \
--to=david@dgreaves.com \
--cc=Alexander.Rietsch@hispeed.ch \
--cc=linux-raid@vger.kernel.org \
--cc=robin@robinhill.me.uk \
--cc=sjt.kar@gmail.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;
as well as URLs for NNTP newsgroup(s).