Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: "Patrik Horník" <patrik@dsl.sk>
Cc: Neil Brown <neilb@suse.de>, linux-raid@vger.kernel.org
Subject: Re: Hot replacing device in RAID 6
Date: Sun, 5 Oct 2014 18:46:07 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1410051843040.14735@uplift.swm.pp.se> (raw)
In-Reply-To: <CAAOsTSmn3MDn-a6usUTpmBObwYngvFNNRUXXF6zhmDKyUTHU_w@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1030 bytes --]

On Sun, 5 Oct 2014, Patrik Horník wrote:

> I want to ask for best solution for replacing device in RAID 6 array.
>
> - We discussed couple of years ago hot replacing the drive. I see it
> is now supported in mdadm. Is it rock stable and can be used on
> production data? I have kernel and mdadm from debian testing, 3.14-2
> and 3.3-2. Were there some important fixes from these versions? I have
> this server on UPS but not on aggregator so there is real danger of
> power outage and need to shutdown the array during operation.

I have successfully used the replace function without ill effects, and I 
believe this was with a 3.8.x kernel. The function itself has been around 
since 3.3 or so.

I don't want to give you any recommendations, but next time I need to 
replace a failing drive that is still operational enough to stay in the 
raid, personally I will use the replace function. The code is a few years 
old by now and I imagine it has been used quite a lot by now.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se

  reply	other threads:[~2014-10-05 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-05 16:36 Hot replacing device in RAID 6 Patrik Horník
2014-10-05 16:46 ` Mikael Abrahamsson [this message]
2014-10-05 18:30 ` Keith Keller
2014-10-06 13:30   ` Patrik Horník

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=alpine.DEB.2.02.1410051843040.14735@uplift.swm.pp.se \
    --to=swmike@swm.pp.se \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=patrik@dsl.sk \
    /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