Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Jan Kasprzak <kas@fi.muni.cz>
To: Caspar Smit <casparsmit@supernas.eu>
Cc: linux-raid@vger.kernel.org
Subject: Re: Replacing a failed disk "in advance"
Date: Wed, 20 May 2015 17:15:58 +0200	[thread overview]
Message-ID: <20150520151558.GV24672@fi.muni.cz> (raw)
In-Reply-To: <CADvHm=aB2MDFxdR5Q3JBL5_WbD7oc2d99kFe4Jjbun1Lw667MQ@mail.gmail.com>

Caspar Smit wrote:
: Op 20 mei 2015 16:51 schreef "Jan Kasprzak" <kas@fi.muni.cz>:
: >
: >         OK, this seems to be a way to go.
: >
: >         Unfortunately, the system in question is too old,
: > and its mdadm does not know about the --replace option, according to
: > mdadm --manage --help. So I will look for a newer mdadm and hope the old
: > kernel of that system supports the mdadm --replace.
: >
: 
: You'll need kernel version 3.3+ to support advance replacement.

	OK, I have grabbed the Fedora 22 mdadm package, rebuilt it,
and apparently mdadm --manage /dev/mdXX --replace /dev/sdOLD1 --with /dev/sdNEW1
works as expected. Thanks!

-Yenya.

-- 
| Jan "Yenya" Kasprzak   <kas at {fi.muni.cz - work | yenya.net - private}> |
| New GPG 4096R/A45477D5 -- see http://www.fi.muni.cz/~kas/pgp-rollover.txt |
| http://www.fi.muni.cz/~kas/     Journal: http://www.fi.muni.cz/~kas/blog/ |
           Smart data structures and dumb code works a lot better
           than the other way around.           --Eric S. Raymond

      reply	other threads:[~2015-05-20 15:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 14:20 Replacing a failed disk "in advance" Jan Kasprzak
2015-05-20 14:40 ` Ladislav Mate
2015-05-20 14:51   ` Jan Kasprzak
2015-05-20 15:12     ` Caspar Smit
2015-05-20 15:15       ` Jan Kasprzak [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=20150520151558.GV24672@fi.muni.cz \
    --to=kas@fi.muni.cz \
    --cc=casparsmit@supernas.eu \
    --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