From: Nagilum <nagilum@nagilum.org>
To: NeilBrown <neilb@suse.de>
Cc: rob pfile <rpfile@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: 4-disk raid5 with 2 disks going bad: best way to proceed?
Date: Fri, 08 Apr 2011 17:47:30 +0200 [thread overview]
Message-ID: <20110408174730.19073csbt29o450k@cakebox.homeunix.net> (raw)
In-Reply-To: <20110408220528.40971e55@notabene.brown>
----- Message from neilb@suse.de ---------
From: NeilBrown <neilb@suse.de>
Subject: Re: 4-disk raid5 with 2 disks going bad: best way to proceed?
> On Thu, 07 Apr 2011 22:13:34 +0200 Nagilum <nagilum@nagilum.org> wrote:
>
>> Hmm, I think you could:
>> - add a disk,
>> - reshape your raid5 to raid6 while using the layout where the raid5
>> disks aren't really changed
>
> That would be
> mdadm --grow /dev/md0 --level=6 --parity=preserve
> (I think).
>
>> - let it finish syncing
>> - reshape the raid6 to raid5 taking one of the bad disks out
>
> I don't think that makes sense. (what command would you use exactly?)
I was thinking one fails one of the bad disks and then does something like:
mdadm --grow /dev/md0 --level=5 --raid-devices=4
--backup-file=/root/backup-md4
But obviously I've never tried that and I would play around with
losetup and some files for practice and to see if that works before
starting.
----- End message from neilb@suse.de -----
========================================================================
# _ __ _ __ http://www.nagilum.org/ \n icq://69646724 #
# / |/ /__ ____ _(_) /_ ____ _ nagilum@nagilum.org \n +491776461165 #
# / / _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux #
# /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / NetBSD /Linux #
# /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 #
========================================================================
----------------------------------------------------------------
cakebox.homeunix.net - all the machine one needs..
prev parent reply other threads:[~2011-04-08 15:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-07 1:45 4-disk raid5 with 2 disks going bad: best way to proceed? rob pfile
2011-04-07 3:35 ` Roberto Spadim
2011-04-07 7:21 ` Mikael Abrahamsson
2011-04-07 22:15 ` rob pfile
2011-04-08 12:10 ` NeilBrown
2011-04-09 14:39 ` rob pfile
2011-04-07 20:13 ` Nagilum
2011-04-08 12:05 ` NeilBrown
2011-04-08 15:47 ` Nagilum [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=20110408174730.19073csbt29o450k@cakebox.homeunix.net \
--to=nagilum@nagilum.org \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
--cc=rpfile@gmail.com \
/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).