Re: Reshaping raid0/10

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

 



On Friday February 23, jengelh@xxxxxxxxxxxxxxx wrote:
> 
> On Feb 22 2007 06:59, Neil Brown wrote:
> >On Wednesday February 21, jengelh@xxxxxxxxxxxxxxx wrote:
> >> 
> >> are there any plans to support reshaping
> >> on raid0 and raid10?
> >> 
> >
> >No concrete plans.  It largely depends on time and motivation.
> >I expect that the various flavours of raid5/raid6 reshape will come
> >first.
> >Then probably converting raid0->raid5.
> >
> >I really haven't given any thought to how you might reshape a
> >raid10...
> 
> It should not be any different from raid0/raid5 reshaping, should it?

Depends on what level you look at.

If I wanted to reshape a raid0, I would just morph it into a raid4
with a missing parity drive, then use the raid5 code to restripe it.
Then morph it back to regular raid0.

With raid10 I cannot do that.  I would need to do the restriping
inside the raid10 module.  But raid10 doesn't have a stripe-cache like
raid5 does, and the stripe cache is a very integral part of the
restripe process.

So there would be a substantial amount of design and coding to effect
a raid10 reshape - at least as much as the work to produce the initial
raid5 reshape and probably more.

So conceptually it might be very similar, but at the code level, it is
likely to be very different.

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