linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* Re: [linux-lvm] raid10 to raid what? - convert
@ 2017-10-18 22:04 Xen
  0 siblings, 0 replies; 11+ messages in thread
From: Xen @ 2017-10-18 22:04 UTC (permalink / raw)
  To: linux-lvm

lejeczek schreef op 18-10-2017 17:52:

> I'm still looking for an answer - if it's possible then how to split
> raid10 into two raid0 LVs(with perhaps having data intact?)
> I've been fiddling with --splitmirrors but either I got it wrong or I
> didn't and command just fails.
> More than contemplating theories and general knowledge on raid I'd
> prise a lot succinct, concrete info, actuall experience of "howto".

Sorry that I can't help you here, but I believe it is possible with 
mdraid.

However note that if you can spend the time you could take two disks, 
wipe them, put raid 0 on it, and then copy the still functioning RAID 10 
over. I know that's not what you're asking but personally I have no 
hands-on experience with LVM raid and metadata.

I assume that even if you were to manage to get a raid 0 going with pure 
DM commands you'd still need to change LVM's metadata and no clue how to 
do that myself.

Conceivably, copying your data over is not ideal but it should not take 
longer than a day?

Don't forget that RAID 10 is 2 stripes of mirrors...

But LVM typically prevents you to operate on a volume group if not all 
PVs are present...

Anyway if it can't be done by lvconvert, it probably can't be done 
(without whatever complex thing).

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [linux-lvm] raid10 to raid what? - convert
@ 2017-10-16  9:02 lejeczek
  2017-10-16 21:16 ` John Stoffel
  0 siblings, 1 reply; 11+ messages in thread
From: lejeczek @ 2017-10-16  9:02 UTC (permalink / raw)
  To: LVM general discussion and development

hi everyone

I'm sroogling and reading but before spend whole day doing 
that, I was hoping you guys, gals, done conversion from raid10?

I'm thinking best(natural?) would be to convert to two raid0 
LVs, right. Am I right? Would it be optimal, and how do you 
do it?

many thanks, L.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-19 10:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18 22:04 [linux-lvm] raid10 to raid what? - convert Xen
  -- strict thread matches above, loose matches on Subject: below --
2017-10-16  9:02 lejeczek
2017-10-16 21:16 ` John Stoffel
2017-10-17  9:03   ` lejeczek
2017-10-17 20:57     ` Stuart D. Gathman
2017-10-17 21:21       ` Stuart D. Gathman
2017-10-18  5:36       ` Tanstaafl
2017-10-18 13:33         ` Stuart D. Gathman
2017-10-18 15:52       ` lejeczek
2017-10-18 20:46         ` John Stoffel
2017-10-19 10:54           ` lejeczek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).