Disable issuing fs-freeze and fs-thaw during backups but keep guest agent on for other functions

joe2

Member
Mar 30, 2018
8
0
6
41
Is there a way to disable sending the fs-freeze/fs-thaw to the guest agent for backups?

In the backup log I see the following:
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command

I would like to trade data consistency for reduced disk I/O interruptions.
During the fs-freeze and fs-thaw the vm pauses too long and causes application issues so I need to disable it.

We primarily run windows guests but have some Linux guests also.

What is the recommended way to keep using the guest agent (e.g. for ACPI shutdown) but stop the fs-freeze commands.

Thank you.
 
fs-freeze/fs-thaw are called automatically when the Qemu guest agent [1] is enabled and the guest is backed up in snapshot mode [2]. This is done to ensure a more consistent backup.
The Qemu guest agent man page (man qemu-ga) specifies an option to pass in a different fsfreeze hook script, which could be used to skip the freezing and thawing, but I'm not totally sure.
If you go for either of these options, I'd strongly recommend testing your backups regularly, as they are at more risk of corruption than with freeze/thaw enabled.

[1] https://pve.proxmox.com/wiki/Qemu-guest-agent
[2] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_backup_modes
 
  • Like
Reactions: eugenevdm

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!