operation failed: failed to format image: 'Failed to lock byte 101' #113
-
I get the error in the title when doing a auto backup with this command: Full log:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
during the backup process a dirty bitmap is created by the libvirt daemon. To keep things consistant, it creates a so called "scratch file" that holds the data that changes while the bitmap creation is in progress. Its sort of the same situation as if a snapshot is created. By default virtnbdbackup tells libvirtd to create the scratch file in target directory /var/tmp/. It seems it fails to create the scratch file (which is basically just a regular qcow image file). You need to check qemu or libvirt logs for the cause or maybe try setting an alternative path via --scratchdir option. What filesystem is /var/tmp/ in your case? Maybe: https://bugzilla.redhat.com/show_bug.cgi?id=1891673 The cause for the issue is likely on libvirt/qemu side, not virtnbdbackup. |
Beta Was this translation helpful? Give feedback.
I've tried with --scratchdir but I just ran into another error so I've rebooted to a live Linux and did a fsck on both of my RAID arrays and it didn't find anything major.
After the machine booted normal again the issue is now gone.
I didn't know about /var/tmp/ only /tmp/ and I've overlooked it in the logs.
There is these file in /var/tmp/ can i remove them if no backup is running?:
Thank you for your input!