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]

 



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?)
It would be better to remove the bad device and replace it with another good
device (which means more dollars of course...)

> 
> I'm sure Neil will let us know if this is nonsense. ;)

Only half ;-)

NeilBrown


> Alex.
> 
> ----- Message from rpfile@xxxxxxxxx ---------
>      Date: Wed, 6 Apr 2011 18:45:15 -0700
>      From: rob pfile <rpfile@xxxxxxxxx>
>   Subject: 4-disk raid5 with 2 disks going bad: best way to proceed?
>        To: linux-raid@xxxxxxxxxxxxxxx
> 
> > is there a way to construct a clean copy of one of the disks even if  
> > there are raid-correctable read errors?
> 
> ----- End message from rpfile@xxxxxxxxx -----
> 
> 
> 
> ========================================================================
> #    _  __          _ __     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

--
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