Neil Brown wrote:
> Thanks for this.  There are definitely some good ideas here.
> However I think I would like to do it a little bit differently.
> 
> If we want to mirror a single drive in a raid5 array, I would really
> like to do that using the raid1 personality.
> e.g.
>    suspend io
>    remove the drive
>    build a raid1 (with no superblock) using the drive.
>    add that back into the array
>    resume io.
> 
> Then another drive can be added to the raid1 and synced.

This approach does not work if the drive has one or more unreadable
blocks.  An 'initial raid1 resync' can't be completed because it's
impossible to read+copy that sector, but it's pretty much possible
to reconstruct it from other components of raid5.

/mjt
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to