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

Re: [linux-lvm] duplicating a snapshot volume



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.


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