Re: duplicating a snapshot volume

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

 



On Fri, 4 Jan 2008, Troy Hanson wrote:

> As an alternative, is there any way to duplicate (not snapshot) a  
> snapshot volume, i.e. so the new snapshot shares the same source and  
> accumulated differences as the original snapshot?

The device-mapper can certainly do it.  It is "just" a matter of
safely recording and setting up the mapping in userland.  You 
can probably do what you want with a script invoking /sbin/dmsetup.
But I'm not the guru to provide an example...

You can play around with 'ls', 'info', and 'table' subcommands to
see how device-mapper is programmed.

-- 
	      Stuart D. Gathman <stuart@bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

_______________________________________________
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