From: Wols Lists <antlists@youngman.org.uk>
To: Paul van der Vlis <paul@vandervlis.nl>, linux-raid@vger.kernel.org
Subject: Re: Wrong device name after hot-swap
Date: Sat, 23 Jan 2016 14:45:56 +0000 [thread overview]
Message-ID: <56A39224.403@youngman.org.uk> (raw)
In-Reply-To: <n7u8gr$1bv$1@ger.gmane.org>
On 22/01/16 21:55, Paul van der Vlis wrote:
> Hello,
>
> I want to put bigger disks into my server. What I want to do is replace
> the first disk, rebuild the raid, replace the second disk, rebuild the
> raid. The machine has two disks, sda and sdb.
Have you only got two slots?
>
> But, when I replace a disk, it gets a new device name. E.g. /dev/sdb
> becomes /dev/sdc. After a reboot it's good again, but I prefer not to
> reboot this machine!
Sounds like you're pulling a drive then replacing it. Can't you replace
it then pull?
That'll mean that when the array is at its most vulnerable, ie it's
rebuilding, you'll have three drives on line not one.
How new is your mdadm? You'll need one that supports the "--replace" syntax.
Cheers,
Wol
prev parent reply other threads:[~2016-01-23 14:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 21:55 Wrong device name after hot-swap Paul van der Vlis
2016-01-22 22:27 ` Phil Turmel
2016-01-22 23:15 ` Paul van der Vlis
2016-01-23 0:51 ` Phil Turmel
2016-01-23 14:45 ` Wols Lists [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=56A39224.403@youngman.org.uk \
--to=antlists@youngman.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=paul@vandervlis.nl \
/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).