From: Jun-Kai Teoh <kai.teoh@gmail.com>
To: Phil Turmel <philip@turmel.org>
Cc: Mark Knecht <markknecht@gmail.com>,
Wols Lists <antlists@youngman.org.uk>,
Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: RAID5 up, but one drive removed, one says spare building, what now?
Date: Fri, 10 Nov 2017 11:22:46 -0800 [thread overview]
Message-ID: <66C593A3-D4BD-4B80-AF7D-B1693F8271CA@gmail.com> (raw)
In-Reply-To: <8822270a-a88b-fe9a-daae-22df155f5062@turmel.org>
> On Nov 10, 2017, at 11:04 AM, Phil Turmel <philip@turmel.org> wrote:
>
> On 11/10/2017 01:15 PM, Jun-Kai Teoh wrote:
>
>> I'm backing up as much as I can, but I don't think I'll be able to
>> back up everything. I can back up very little of the data, so I'm
>> trying to prioritize carefully right now.
>
> Ah, ok. Well, after you get the important stuff backed up, you can
> add more devices as spares and try to let MD continue its grow and
> rebuild operations. It might end up completing.
Again, pardon me if I sound super ignorant, I just want to do all of this right.
Do I just plug in another blank 4TB, and run "mdadm -A /dev/md126 /dev/sd[newdrive]" into it?
Or leave it as it is, and just ask it to continue growing with "mdadm -A -R", and *then* add a blank drive into the raid but don't ask it to grow?
> But don't add any more complete devices to the array -- use a partition
> that starts at 1MB and covers the rest of the device (default for most
> partition tools nowadays).
Where can I read about how to do this properly? I tried googling it but I'm pretty lost. Or what tool I should use etc.
> I recommend that when/if your array is stable again, you add one more
> spare (with partition) and then use mdadm's --replace operation to move
> complete-device members to the new member. When each is done, take the
> newly freed device and partition it and do the next. When you have no
> more complete-device members and have the last freed device partitioned,
> consider converting to raid6 with that spare.
I think I understand what you mean here, but it sounds like I need to figure out the top two parts first and that'll take me awhile.
I'll probably have questions again, later, haha.
I really appreciate all the support and patience from this list.
Y'all lifesavers.
next prev parent reply other threads:[~2017-11-10 19:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 3:09 RAID5 up, but one drive removed, one says spare building, what now? Jun-Kai Teoh
2017-11-10 11:31 ` Wols Lists
2017-11-10 13:01 ` Phil Turmel
2017-11-10 13:13 ` Mark Knecht
2017-11-10 17:25 ` Jun-Kai Teoh
2017-11-10 18:01 ` Phil Turmel
2017-11-10 18:15 ` Jun-Kai Teoh
2017-11-10 19:04 ` Phil Turmel
2017-11-10 19:22 ` Jun-Kai Teoh [this message]
2017-11-10 21:58 ` Phil Turmel
2017-11-10 23:17 ` Wols Lists
2017-11-10 23:22 ` Wols Lists
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=66C593A3-D4BD-4B80-AF7D-B1693F8271CA@gmail.com \
--to=kai.teoh@gmail.com \
--cc=antlists@youngman.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=markknecht@gmail.com \
--cc=philip@turmel.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