* raid0 zones
@ 2009-03-26 17:17 Raz
2009-03-27 4:41 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Raz @ 2009-03-26 17:17 UTC (permalink / raw)
To: Linux RAID Mailing List; +Cc: Neil Brown
Neil Hello
I sincerely hope you will answer this email.As i understand , raid0
zones are aimed for cases where the disks are not symmetric ( or
partitions ) in their sizes.
But this means imbalanced IO. An inbalanced IO, from my application
perspective is a disaster.
I am wondering whether zone number greater than 1 may be an option in mdadm.
I will most thankful for your opinion on this matter.
PS
I managed to expand raid0 ( very very experimental , and only with zone
nr == 1).
I still have to learn how to write the superblocks though because I
cannot re-assemble the raid, and behave according to md rules.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: raid0 zones
2009-03-26 17:17 raid0 zones Raz
@ 2009-03-27 4:41 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2009-03-27 4:41 UTC (permalink / raw)
To: Raz; +Cc: Linux RAID Mailing List
On Thursday March 26, raziebe@gmail.com wrote:
> Neil Hello
> I sincerely hope you will answer this email.As i understand , raid0
> zones are aimed for cases where the disks are not symmetric ( or
> partitions ) in their sizes.
correct.
> But this means imbalanced IO. An inbalanced IO, from my application
> perspective is a disaster.
> I am wondering whether zone number greater than 1 may be an option in mdadm.
> I will most thankful for your opinion on this matter.
If you want to avoid zones, simply create partitions that are all the
same size and do raid0 across those.
With v1.x metadata, it might be possible that specifying "--size
whatever" will achieve the same effect, but I'm not certain.
>
> PS
> I managed to expand raid0 ( very very experimental , and only with zone
> nr == 1).
Cool.
> I still have to learn how to write the superblocks though because I
> cannot re-assemble the raid, and behave according to md rules.
I've been wondering whether it might be easiest to use the raid5 code
base to reshape a raid0. Handling zones would be very messy, but the
rest should be quite easy.
Just convert the raid0 into a raid4 with a missing party disk. Then
add a device and reshape to a larger raid4 which is still missing the
parity disk. Then convert back to raid0.
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-27 4:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 17:17 raid0 zones Raz
2009-03-27 4:41 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox