Re: snapshot reset

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

 



On Thu, Mar 17, 2005 at 12:00:40AM +0100, Bastian Blank wrote:
> Is it possible to reset a snapshot without a delete, create cycle?

Not sure if I'm answering the right question, but with
LVM2/device-mapper:

You have to suspend & resume it in the kernel [with existing device-mapper
implementation; this may change].

With LVM2, between those commands, you can just zero out the
start of the cow device (say first 64k).  And then it'll treat
it as if it were a new snapshot (based on current state of filesystem.)
 
Alasdair
-- 
agk@redhat.com

_______________________________________________
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