Am 14.10.25 um 2:27 PM schrieb Maximiliano Sandoval:
> Signed-off-by: Maximiliano Sandoval <[email protected]>
> ---
> src/PVE/LXC/Config.pm | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
> index 5d3749e..51fd16b 100644
> --- a/src/PVE/LXC/Config.pm
> +++ b/src/PVE/LXC/Config.pm
> @@ -204,10 +204,12 @@ sub __snapshot_freeze {
> };
>
> if ($unfreeze) {
> + print "thawing guest filesystem\n";
> eval { PVE::LXC::thaw($vmid); };
> warn $@ if $@;
> $freeze_mountpoints->(1);
> } else {
> + print "freezing guest filesystem\n";
> PVE::LXC::freeze($vmid);
> PVE::LXC::sync_container_namespace($vmid);
> $freeze_mountpoints->(0);
Maybe add the log lines into directly in the PVE::LXC::{freeze,thaw}()
helpers? Then the calls for backup are covered too.
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel