[linux-lvm] raid10 to raid what? - convert
Stuart D. Gathman
stuart at gathman.org
Tue Oct 17 20:57:10 UTC 2017
You still haven't said what you are trying to accomplish. I wouldn't
have bothered responding to such a vague question until you provided
some tantalizing clues. Until your lastest clues, I would have advised
using rsync or dd to copy your data to a new volume. But now it sounds
like you ran out of budget for another disk, or need to minimize down
time, and want to reconfigure in place.
First off, raid10 is a linux specialty (I didn't know LVM supported it,
thanks!), and is not the same as raid1+0 (raid1 on top of raid0).
However, your previous clue tells us that probably you have at least 4
disks in your raid10. So you should be able to remove 2 legs from the
raid10, and still have the equivalent of a raid0. But this is not
certain as raid10 works perfectly well with 2 or 3 disks, including the
redundancy. In any case, you can remove at least 1 leg from your
raid10. Be sure to backup first in any case.
Now that you've cut the disk used in half (and your data is precariously
dependent on the health of *both* underlying physical disks), what did
you want to do next? Maybe you just want to create a different kind of
raid with the released space and do that rsync or dd?
On Tue, 17 Oct 2017, lejeczek wrote:
> no other raids but LVM's own.
> not much in configuration, unless I misunderstand, question I'm posing is
> simple - is it possible to convert/split lvm raid10 LV into two raid0 LVs?
> (here one thing comes to mind: data stays intact?) Or raid10 LV to any other
> As I sroogled I saw there is "mirror spitting" but term raid10 does not
> appear in that context, or I failed to find it.
> But man pages also mention, with regards to raid takeover:
> · between striped/raid0 and raid10.
> So it sounds like possible(so no other raid levels but these two), only might
> be intricate process/procedure, which is not documented, or again, I failed
> to find it.
Stuart D. Gathman <stuart at gathman.org>
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the linux-lvm