[MDEV-27196] guest-agent fs-freeze not working on VM with Debian 11 + MariaDB 10.6 and 10.7 Created: 2021-12-08 Updated: 2022-11-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Packaging, Server |
| Affects Version/s: | 10.6.5, 10.7.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Paweł Kośka | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Virtual Machine (Debian 11.1 x86_64) on Proxmox VE 7.1 |
||
| Description |
|
There is something strange between mariadb and qemu-ga on debian 11 (Virtual Machine). When mariadb is running, you cannot backup a running virtual machine (snapshot). Affected mariadb version: 10.6.5 and 10.7.1 My test procedure.
|
| Comments |
| Comment by FingerlessGloves [ 2022-02-23 ] | |||||||||||||||||
|
I too have this issue with my install of MariaDB 10.7 on Debian 11. I also have MariaDB 10.5 on Debian 11 which doesn't get this issue. But this 10.5 is from Debian repo's not MariaDB. I've also reported the issue on qemu, but the fix maybe within MariaDB's area. | |||||||||||||||||
| Comment by MBO [ 2022-11-16 ] | |||||||||||||||||
|
We have the same issue on one of our servers after upgrading to MariaDB 10.6. OS is CentOS 7 on Proxmox | |||||||||||||||||
| Comment by Faustin Lammler [ 2022-11-23 ] | |||||||||||||||||
|
Hi! Here is the test:
Some information about the test system (Debian 11):
| |||||||||||||||||
| Comment by FingerlessGloves [ 2022-11-23 ] | |||||||||||||||||
|
@Faustin Proxmox comes with some newer packages over it's base Debian. @MBO | |||||||||||||||||
| Comment by MBO [ 2022-11-23 ] | |||||||||||||||||
|
@FingerlessGloves The VM with the issue was running CentOS7 with kernel: 3.10.0-1160.80.1.el7.x86_64 Hope this information is useful. | |||||||||||||||||
| Comment by Daniel Black [ 2022-11-23 ] | |||||||||||||||||
|
A notable 10.6 difference to 10.5 with regard to storage is innodb_flush_method=O_DIRECT by defaults previously on fsync. If you test the old default that might be a useful for the qemu folks. Also 10.6 added liburing as the innodb_use_native_aio=1 implementation in 10.6 (where liburing is available as a distro package). I've yet to look how Centos 8 Stream package theirs, but there might be a difference there. Since tmpfs was mentioned a few times in the forum I'll mention https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020831, but that's pretty much only for the 5.10 debian kernel so won't be the entire story. | |||||||||||||||||
| Comment by Linus [ 2022-11-30 ] | |||||||||||||||||
|
After setting innodb_flush_method=fsync and innodb_use_native_aio=0 the error still occurs. (QEMU 7.0 by i440fx, Tested on Debian 11, MariaDB 10.8) Backup log:
|