linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Fjellstrom <thomas@fjellstrom.ca>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid 5 rebuild and Raid 6 reshape question
Date: Sat, 18 Apr 2015 13:38:59 -0600	[thread overview]
Message-ID: <1454025.2pEa89kuvv@balsa> (raw)
In-Reply-To: <alpine.DEB.2.02.1504181511310.16871@uplift.swm.pp.se>

On Sat 18 Apr 2015 03:13:52 PM Mikael Abrahamsson wrote:
> On Fri, 17 Apr 2015, Thomas Fjellstrom wrote:
> > I had a 5 disk Raid5 with 3TB disks. One disk threw some errors (but still
> > seemed to work), and i decided to replace it. I actually bought two
> > drives,
> 
> If you have a not-ancient kernel, you should have issued the replace
> command. You should have added one new drive as spare, then (with a new
> mdadm) issued the --replace command. This would have started copying the
> drive you wanted replaced onto the spare. Then after all this was done,
> you could have added another spare and told it to re-shape to raid6.
> That's at least what I would have done.
> 
> http://unix.stackexchange.com/questions/74924/how-to-safely-replace-a-not-ye
> t-failed-disk-in-a-linux-raid5-array

Yes, I could have. The machine's drive bays were full at the time, it wasnt 
till I had inserted the new drives that I realized i could have left the old 
one in and done a copy or replace. But then the machine was booting without it 
and probably not a great time to put the old disk back in (though an assemble 
force could have brought it back?). It's almost 60% done, so it's not a huge 
problem. I was just curious as to how long an actual raid5->raid6 reshape 
would normally be or this setup. I expect it normally can take a while as it 
has to rewrite a lot of data (11TiB worth).

-- 
Thomas Fjellstrom
thomas@fjellstrom.ca

  reply	other threads:[~2015-04-18 19:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17 17:55 Raid 5 rebuild and Raid 6 reshape question Thomas Fjellstrom
2015-04-18 13:13 ` Mikael Abrahamsson
2015-04-18 19:38   ` Thomas Fjellstrom [this message]
2015-04-19  8:43     ` Mikael Abrahamsson
2015-04-19 19:42       ` Thomas Fjellstrom

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=1454025.2pEa89kuvv@balsa \
    --to=thomas@fjellstrom.ca \
    --cc=linux-raid@vger.kernel.org \
    --cc=swmike@swm.pp.se \
    /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).