Re: Replace drive in RAID5 without losing redundancy?

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

 




On Tue, 6 Mar 2007, Neil Brown wrote:

> On Monday March 5, ralf@xxxxxxxx wrote:
> > 
> > Is it possible to mark a disk as "to be replaced by an existing spare",
> > then migrate to the spare disk and kick the old disk _after_ migration
> > has been done? Or not even kick - but mark as new spare.
> 
> No, this is not possible yet.
> You can get nearly all the way there by:
> 
>   - add an internal bitmap.
>   - fail one drive
>   - --build a raid1 with that drive (and the other missing)
>   - re-add the raid1 into the raid5
>   - add the new drive to the raid1
>   - wait for resync

i have an example at 
<http://arctic.org/~dean/proactive-raid5-disk-replacement.txt>... plus 
discussion as to why this isn't the best solution.

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