Re: 4-disk raid5 with 2 disks going bad: best way to proceed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Message from neilb@xxxxxxx ---------
    From: NeilBrown <neilb@xxxxxxx>
 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@xxxxxxxxxxx> 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@xxxxxxx -----



========================================================================
#    _  __          _ __     http://www.nagilum.org/ \n icq://69646724 #
#   / |/ /__ ____ _(_) /_ ____ _  nagilum@xxxxxxxxxxx \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..
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux