mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-06 04:54:48 +08:00
kvm_qemu: Issue forced thaw command on succesful quiescing
This commit is contained in:
parent
9b1cdddd24
commit
c88bf010d4
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Script ver 2025070401
|
||||
# Script ver 2025070501
|
||||
|
||||
#TODO: blockcommit removes current snapshots, even if not done by cube
|
||||
# - it's interesting to make housekeeping, let's make this an option
|
||||
|
@ -114,6 +114,11 @@ function create_snapshot {
|
|||
CURRENT_VM_SNAPSHOT="${vm}"
|
||||
fi
|
||||
else
|
||||
log "Issung fs-thaw command to guest OS to mitigate some issues (FreeBSD with 0 frozen FS)"
|
||||
virsh domfsthaw $vm "$LOG_FILE" 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
log "Failed to run fs-thaw command on guest FS" "ERROR"
|
||||
fi
|
||||
CURRENT_VM_SNAPSHOT="${vm}"
|
||||
fi
|
||||
# Get list of snapshot files to delete "make sure we only use CUBE backup files here, since they are to be deleted later
|
||||
|
|
Loading…
Add table
Reference in a new issue