Re: [linux-lvm] exposing snapshot block device

2020-09-10 Thread Dalebjörk , Tomas
Hi, This is the steps that I did. - the COW data exists on /dev/loop1, including space for the PV header + metadata I created a fakevg template file from vgcfgbackup /tmp/fakevg.bkp ( the content of this file I created fake uuid etc... ) I craete a fake uuid for the PV # pvcreate -ff -u

Re: [linux-lvm] exposing snapshot block device

2020-09-08 Thread Dalebjörk , Tomas
Hi Mikulas, Thanks for the replies I am confused now with the last message? LVM doesn't support taking existing cow device and attaching it to an existing volume? Isn't that what "lvconvert --splitsnapshot" & "lvconvert -s" is ment to be doing? lets say that I create the snapshot on a

Re: [linux-lvm] exposing snapshot block device

2019-10-22 Thread Dalebjörk , Tomas
tions, and restoring the data in seconds using instant recovery by re-creating or emulating the cow device, and associating all blocks to an external device? Regards Tomas Den 2019-10-22 kl. 15:57, skrev Zdenek Kabelac: Dne 22. 10. 19 v 12:47 Dalebjörk, Tomas napsal(a): Hi When you create a s

[linux-lvm] exposing snapshot block device

2019-10-22 Thread Dalebjörk , Tomas
Hi When you create a snapshot of a logical volume. A new virtual dm- device will be created with the content of the changes from the origin. This cow device can than be used to read changed contents etc. In case of an incident, this cow device can be used to read back the changed content