atom feed23 messages in com.redhat.linux-lvmRe: [linux-lvm] Using LVM Mirroring t...
FromSent OnAttachments
Ambrogio De LorenzoSep 16, 2009 6:59 am 
André GillibertSep 16, 2009 8:05 am 
Ambrogio De LorenzoSep 16, 2009 9:47 am 
Brian J. MurrellSep 16, 2009 9:58 am 
mala...@us.ibm.comSep 16, 2009 11:19 am 
Ambrogio De LorenzoSep 16, 2009 12:03 pm 
Ambrogio De LorenzoSep 16, 2009 12:15 pm 
Brian J. MurrellSep 16, 2009 12:49 pm 
André GillibertSep 16, 2009 1:03 pm 
Ambrogio De LorenzoSep 16, 2009 1:22 pm 
mala...@us.ibm.comSep 16, 2009 1:33 pm 
Kai Stian OlstadSep 16, 2009 3:03 pm 
Bryn M. ReevesSep 17, 2009 2:57 am 
Stuart D. GathmanSep 17, 2009 8:06 am 
Brian J. MurrellSep 17, 2009 8:34 am 
Stuart D. GathmanSep 17, 2009 3:49 pm 
Les MikesellSep 17, 2009 4:26 pm 
Brian J. MurrellSep 17, 2009 4:48 pm 
Stuart D. GathmanSep 17, 2009 5:57 pm 
Sven EschenbergSep 17, 2009 6:51 pm 
Stuart D. GathmanSep 17, 2009 6:55 pm 
Mark H. WoodSep 18, 2009 9:05 am 
Stuart D. GathmanSep 18, 2009 12:12 pm 
Subject:Re: [linux-lvm] Using LVM Mirroring to obtain a usable backup
From:Bryn M. Reeves (bm@redhat.com)
Date:Sep 17, 2009 2:57:22 am
List:com.redhat.linux-lvm

On Wed, 2009-09-16 at 21:03 +0200, Ambrogio De Lorenzo wrote:

Il giorno mer, 16/09/2009 alle 11.19 -0700, mala@us.ibm.com ha scritto:

Ambrogio De Lorenzo [ambr@alice.it] wrote:

Hi all. I'm doing a big upgrade on my computer and I tryed to use lv mirroring to obtain a copy of my data before to do it.

As I do with LVM on other OS i thought that after mirroring one could chose to split the mirrored lv.

I can't find how to do it with LVM2 on Linux.

snapshot may be a good fit in this case, but if you insist you can use lvconvert to convert your linear volume to a mirrored volume. Once the sync is complete, you can use the same lvconvert to convert the mirror volume to a linear one.

But with this I loose the secondary copy. It's not a good idea. Backup and destroy backup :-)

Well, the data is still there following the split but you are correct that there is not currently a direct way to "split" the mirrored LV into a pair of independent LVs.

Using a snapshot will not actually duplicate the data for you which seems to be what you want to do.

If you don't want to muck about making manual changes you might be better off creating a new LV and mirroring the data with dd or some other block-level tool.

Regards, Bryn.