From: David Greaves <david@dgreaves.com>
To: "Jon Lurås" <jon@irisinfo.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: Change disk problem
Date: Sun, 08 Jun 2008 11:00:15 +0100 [thread overview]
Message-ID: <484BADAF.4000605@dgreaves.com> (raw)
In-Reply-To: <WorldClient-F200806080958.AA58320509@irisinfo.net>
Jon Lurås wrote:
> Hello
>
> I got a big problem with replacing disk on Software-RAID.
> Whatever I do it just ends up as a spare disk.
> I guess the problem is that the faulty disk was not removed from the RAID.
> We just shut down and replace'd the disk.
> Any idea of how to solve this?
You say 'spare' but I think you mean 'that md/mdadm is ignoring it completely
(on the grounds that it's not showing literally as a 'spare' in the --detail output.
This is expected behaviour - md does not just randomly grab new disks; you have
to use 'mdadm /dev/md0 --add /dev/hdk1' (use the correct component) to give md
permission to use the new disk.
Note that you should have partitioned it too (ie 'just shut down and replace'
becomes, shut down, replace, partition, mdadm --add )
>
> Number Major Minor RaidDevice State
> 0 56 1 0 active sync /dev/hdi1
> 1 56 65 1 active sync /dev/hdj1
> 2 0 0 2 removed
>
Look at http://linux-raid.osdl.org/ for more info...
HTH
David
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-06-08 10:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <S1753847AbYFHHWg/20080608072236Z+62@vger.kernel.org>
2008-06-08 7:58 ` Change disk problem Jon Lurås
2008-06-08 10:00 ` David Greaves [this message]
[not found] ` <WorldClient-F200806081212.AA12040517@irisinfo.net>
2008-06-08 11:26 ` David Greaves
2008-06-08 13:14 ` Jon Lurås
2008-06-08 13:20 ` Justin Piszcz
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=484BADAF.4000605@dgreaves.com \
--to=david@dgreaves.com \
--cc=jon@irisinfo.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 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.