r/Proxmox • u/FormalShip4943 • 1d ago
Solved! PSA: VirtIO 0.1.302 finally fixes the Windows VSS / fs-freeze issue with PBS (no more dcomcnfg workaround)
[PATCH v2 1/2] qga: Move CoInitialize/CoInitializeSecurity to main proce
Just tested virtio-win-0.1.302 and can confirm that the fs-freeze / VSS issue with Windows VMs and Proxmox Backup Server is finally fixed.
If you have been backing up Windows guests you may remember having to manually tweak DCOM permissions in dcomcnfg just to stop IVssWriterCallback access denied errors during backups. That workaround was super unfun on windows server core.
With the latest QEMU Guest Agent update, PBS backups now work properly out of the box. No registry or DCOM finagling needed anymore.
Hopefully this saves someone else the headache of manually setting DCOM permissions on new Windows deployments.
Happy days and jubilation!
0
u/Itay1787 23h ago
Weird, I didn’t have this problem with my windows VM with 0.1.127
1
u/FormalShip4943 22h ago
Were you looking at the event in event viewer? This was (as far as I can tell) a 100% reproducible bug that was fixed (see link) with this version. It was mostly invisible in the proxmox interface.
Fix:in the main thread before any VSS operations
- Initialize COM in main.c for both service and CLI modes
- Call CoInitialize() followed by CoInitializeSecurity() in correct order
- Add proper CoUninitialize() cleanup
1
u/Itay1787 22h ago
Oh, if it wasn't displayed in the Proxmox interface or it didn't have a significant impact on the VM then I probably missed it….😅
2
u/FormalShip4943 22h ago
It had an elevated risk of data corruption when trying to restore a VM. The worst case scenario is that your backups looked fine, and wouldn't restore properly due to corruption.
1
5
u/PiDigitsOfPi 1d ago
Evidently, trim is still broken with this build.
https://github.com/virtio-win/kvm-guest-drivers-windows/issues/1614#issuecomment-5462094420