linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Xen <list@xenhideout.nl>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] raid10 to raid what? - convert
Date: Thu, 19 Oct 2017 00:04:22 +0200	[thread overview]
Message-ID: <c2bc73c4d92b3c476ced8b4ffae5b9c2@xenhideout.nl> (raw)

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).

             reply	other threads:[~2017-10-18 22:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18 22:04 Xen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-16  9:02 [linux-lvm] raid10 to raid what? - convert 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c2bc73c4d92b3c476ced8b4ffae5b9c2@xenhideout.nl \
    --to=list@xenhideout.nl \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).