Dne 22. 10. 19 v 12:47 Dalebjörk, Tomas napsal(a):
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 to its origin using the "lvmerge" command.
The question I have is if there is a way to couple an external cow device to
an empty equaly sized logical volume,
so that the empty logical volume is aware of that all changed content are
placed on this attached cow device?
If that is possible, than it will help making instant recovery of LV volumes
from an external source using native lvmerge command, from for example a
backup server.
For most info how old snapshot for so called 'thick' LVs works - check
these papers: http://people.redhat.com/agk/talks/
lvconvert --merge
is in fact 'instant' operation - when it happens - you can immediately access
'already merged' content while the merge is happening in the background
(you can look for copies percentage in lvs command)
However 'thick' LVs with old snapshots are rather 'dated' technology
you should probably checkout the usage of thinly provisioned LVs.
Regards
Zdenek
_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/