Comments (4)
it seems your setup is losing checkpoint information if resource is removed.Thats an issue with your environment rather than virtnbdbackup. Information about checkpoints and its bitmaps is stored at two places:
- libvirt
- the qcow image of the disk
virtnbdbackup attempts to create the checkpoint because according to libvirt it doesnt exist, but the qcow image still
has the bitmap for the checkpoint set.
You have to find out why your "pcs resource disable vm-template" command removes the checkpoint information but leaves
the bitmap intact..., i have not seen such things happening wiht "virsh" so i guess you need to fix your setup.
You now need to use qemu direct commands like block-dirty-bitmap-remove to remove the dangling bitmap from the qcow image information using the QMP layer (see: https://qemu-project.gitlab.io/qemu/interop/bitmaps.html)
from virtnbdbackup.
Thanks, going to check, probably because VMs are transient in Pacemaker
Was able to dump checkpoint to file first
virsh checkpoint-dumpxml vm-template --checkpointname virtnbdbackup > tmp.xml
then recreate it after stop/start
virsh checkpoint-create vm-template --redefine --xmlfile tmp.xml
Thinking about implementing "redefine lost transient VM checkpoints using virtnbdbackup logs " as a workaround
from virtnbdbackup.
Thanks, going to check, probably because VMs are transient in Pacemaker
yes, most probably. I think qemu-img also has an bitmap option that can remove bitmaps from qcow files.
from virtnbdbackup.
Ive pushed a small fix to master branch. Virtnbdbackup should now thaw the filesystems if starting the backup job fails with an exception, that should at least not block your filesystems within the VM in case such an situation happens again :)
from virtnbdbackup.
Related Issues (20)
- Progress show TB of data during backup of ~61GB disk HOT 5
- After first offline backup the second fail with "does not contain full backup" HOT 4
- restore failed with more than one disk - NDB error HOT 8
- Start virtual machines in paused state if offline to allow full/incremental/differential backup HOT 1
- fs freeze / warning domain is not running doesn't make sense with option --start-domain
- IndexError: list index out of range using virtnbdbackup tool HOT 15
- Backup (SW)TPM Device related files
- Local backup being detected as remote, fails HOT 3
- amount of backup data in human readable size (MB/GB/TB) HOT 3
- Fedora 39 - RHEL9 - ModuleNotFoundError: No module named 'nbd' HOT 9
- Plausibility check for backup (amount of data) HOT 1
- Remote Backup Problem HOT 2
- backup with compression enabled fails: unsupported operand type(s) for +: 'int' and 'dict' HOT 4
- Kubevirt/openshift virtualization: howto
- Error during checkpoint removal
- Replace functionality for offline backup with -S option, make -S option default
- Debug option --printonly make backup in auto mode HOT 1
- backup fails with same bitmap allready exists error again and again HOT 1
- virtnbdrestore errors if no $HOME Environment variable set HOT 3
- libvirtError('virDomainGetAutostart() failed') HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtnbdbackup.