Re: Using LVM Mirroring to obtain a usable backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-09-16 at 21:03 +0200, Ambrogio De Lorenzo wrote:
> Il giorno mer, 16/09/2009 alle 11.19 -0700, malahal@us.ibm.com ha
> scritto:
> > Ambrogio De Lorenzo [ambrogio.de.lorenzo@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.


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux