linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Max Waterman <davidmaxwaterman@fastmail.co.uk>
To: linux-raid@vger.kernel.org
Subject: Re: trouble adding spare
Date: Thu, 22 Jan 2009 18:43:49 +0200	[thread overview]
Message-ID: <4978A245.90604@fastmail.co.uk> (raw)
In-Reply-To: <aebf5d970901211950i7f473a34gbcc78e8736e55856@mail.gmail.com>

Beolach wrote:
> On Wed, Jan 21, 2009 at 10:21 AM, Max Waterman
> <davidmaxwaterman@fastmail.co.uk> wrote:
>   
>> Someone else's post prompted me to try :
>>
>> $ sudo /sbin/mdadm --detail --scan
>> ARRAY /dev/md2 level=raid5 num-devices=6 metadata=00.90 spares=2
>> UUID=15bfec75:595ac793:0914f8ee:862effd8
>>
>> and use that in mdadm.conf instead of the output of :
>>
>> ~$ sudo /sbin/mdadm --examine --scan
>> ARRAY /dev/md2 level=raid5 num-devices=6
>> UUID=15bfec75:595ac793:0914f8ee:862effd8
>>  spares=2
>>
>> This fixes my problem of the second spare drive not being added. I'm not
>> sure why.
>>
>> However, mdadm now gives me a 'message' :
>>
>> mdadm: metadata format 00.90 unknown, ignored.
>>
>> What's this about? Anything to worry about?
>>
>>     
>
> Change it to metadata=0.90 instead of metadata=00.90 & it should work
> w/out the error message.  It would probably be good if mdadm.conf
> and/or mdadm --detail --scan dropped leading zeros.
>   
Yup, that fixed the error.

Any ideas why it didn't work with the output of --examine?

Max.

      reply	other threads:[~2009-01-22 16:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  9:43 trouble adding spare Max Waterman
2009-01-14 11:56 ` Justin Piszcz
2009-01-14 13:03   ` Max Waterman
2009-01-14 13:23     ` Max Waterman
2009-01-14 13:39       ` Justin Piszcz
2009-01-14 14:32         ` Max Waterman
2009-01-14 15:08           ` Max Waterman
2009-01-14 15:14             ` Justin Piszcz
2009-01-14 17:54               ` Max Waterman
2009-01-16 17:57                 ` Max Waterman
2009-01-21 17:21                   ` Max Waterman
2009-01-22  3:50                     ` Beolach
2009-01-22 16:43                       ` Max Waterman [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=4978A245.90604@fastmail.co.uk \
    --to=davidmaxwaterman@fastmail.co.uk \
    --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).