All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Waterman <davidmaxwaterman@fastmail.co.uk>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: trouble adding spare
Date: Wed, 14 Jan 2009 17:08:32 +0200	[thread overview]
Message-ID: <496DFFF0.2060807@fastmail.co.uk> (raw)
In-Reply-To: <496DF771.4010407@fastmail.co.uk>

Max Waterman wrote:
>>
>> If that does not work, clean the drive out manually after removing it 
>> as a spare from the array:
>> dd if=/dev/zero of=/dev/sdi bs=1M
> This is taking forever
I stopped it after about half an hour, hoping that it had made garbage 
of whatever was the problem.

I then added it into the array and it worked as before.

However, it still wasn't added when I rebooted.

...but, there is something different. Now, when I --examine /dev/sdi, it 
gives output for the whole array including 2 spares, which is the end 
result I expect :

 Active Devices : 6
Working Devices : 8
 Failed Devices : 0
  Spare Devices : 2

However, --detail /dev/md2 still denies /dev/sdi exists :

 Active Devices : 6
Working Devices : 7
 Failed Devices : 0
  Spare Devices : 1

What's up?

Max.


  reply	other threads:[~2009-01-14 15:08 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 [this message]
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

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=496DFFF0.2060807@fastmail.co.uk \
    --to=davidmaxwaterman@fastmail.co.uk \
    --cc=jpiszcz@lucidpixels.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.