qemu-ga fsfreeze crashes the kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
Still required your attention, duplicate from:
https:/
https:/
We use mainly Cloudlinux, Debian and Centos.
We experienced many crashes on our qemu instances based on Cloudlinux during a snapshot.
The issue is not related to CloudLinux directly, but to Qemu agent, which does not freeze the file system(s) correctly. What is actually happening:
When VM backup is invoked, Qemu agent freezes the file systems, so no single change will be made during the backup. But Qemu agent does not respect the loop* devices in freezing order (we have checked its sources), which leads to the next situation:
1) freeze loopback fs
---> send async reqs to loopback thread
2) freeze main fs
3) loopback thread wakes up and trying to write data to the main fs, which is still frozen, and this finally leads to the hung task and kernel crash.
Moreover, a lot of Proxmox users are complaining about the issue as well:
https:/
https:/
We are currently in progress of retiring this bug tracker here... could you please open a new ticket on gitlab instead:
https:/ /gitlab. com/qemu- project/ qemu/-/ issues
Thanks and sorry for the inconvenience.