Open deajan opened 3 months ago
Not sure whether this is a bug in qemu-ga or the FreeBSD port. It may make sense to report the bug to FreeBSD: https://bugs.freebsd.org/bugzilla/enter_bug.cgi?component=Individual%20Port%28s%29&product=Ports%20%26%20Packages&short_desc=emulators%2Fqemu The maintainer of the FreeBSD port may have further information available.
When this issue is solved, I'll gladly integrate your fsfreeze-hook script in OPNsense.
Bug created as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280615
Important notices Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug I'm trying to make a
fsfreeze-hook
script for OPNSense to have quiesce when backing up on KVM hosts. I've noticed thatqemu-ga
will launch thefsfreeze-hook
withfreeze
argument, but won't run it again withthaw
argument until a new snapshot is made, hence rendering the script useless.To Reproduce Steps to reproduce the behavior:
/usr/local/etc/qemu/fsfreeze-hook
case "$1" in "freeze") echo "FREEZE" >> /tmp/fsfreze ;; "thaw") echo "THAW" >> /tmp/fsfreze ;; esac
FREEZE FREEZE THAW