/var/log/vmware-vmsvc-root.#.log[YYYY-MM-DD-HH:SS] [ warning] [vmbackup] [1154] Failed to send vmbackup event: vmbackup.eventSet req.keepAlive 0 , result: Unknown command.[YYYY-MM-DD-HH:SS] [ warning] [vmbackup] [1154] Canceling backup operation due to timeout.[YYYY-MM-DD-HH:SS] [ warning] [vmbackup] [1154] Failed to send vmbackup event: vmbackup.eventSet req.aborted 4 Quiesce canceled., result: Unknown command.[YYYY-MM-DD-HH:SS] [ warning] [vmbackup] [1154] Failed to send vmbackup event: vmbackup.eventSet req.done 0 , result: Unknown command.[YYYY-MM-DD-HH:SS] [ warning] [vmsvc] [3546888] SyncDriver: '/db-data' appears locked or frozen by another process. Cannot complete the quiesced snapshot request.[YYYY-MM-DD-HH:SS] [ warning] [vmbackup] [3546888] Error trying to perform OP_FREEZE on filesystems.[YYYY-MM-DD-HH:SS] [ warning] [vmsvc] [3546889] SyncDriver: '/db-data' appears locked or frozen by another process. Cannot complete the quiesced snapshot request.[YYYY-MM-DD-HH:SS] [ warning] [vmbackup] [3546889] Error trying to perform OP_FREEZE on filesystems.[YYYY-MM-DD-HH:SS] [ warning] [vmsvc] [3546891] SyncDriver: '/db-data' appears locked or frozen by another process. Cannot complete the quiesced snapshot request.
[YYYY-MM-DD-HH:SS] [ warning] [guestinfo] [1154] *** WARNING: GuestInfo collection interval longer than expected; actual=1109 sec, expected=30 sec. ***
/vmfs/volumes/<datastore>/<vm-name>/vmware.log files, similar below entries would be seenYYYY-MM-DD-HH:SS In(05) vmx 5127ee63-59-91d2 SNAPSHOT: SnapshotPrepareTakeDoneCB: Prepare phase complete (The operation completed successfully).YYYY-MM-DD-HH:SS In(05) vcpu-5 - ToolsBackup: changing quiesce state: IDLE -> STARTEDYYYY-MM-DD-HH:SS In(05) vmx 5127ee63-59-91d2 Msg_Post: WarningYYYY-MM-DD-HH:SS In(05) vmx 5127ee63-59-91d2 [msg.snapshot.quiesce.timeout] Timed out while quiescing the virtual machine.YYYY-MM-DD-HH:SS In(05) vmx 5127ee63-59-91d2 ----------------------------------------YYYY-MM-DD-HH:SS In(05) vmx - ToolsBackup: changing quiesce state: STARTED -> DONEVMTools vmbackup plugin will try to freeze the filesystem for a quiesced snapshot. However, when the VM is heavily IO loaded (db operation etc.) the vmtools freeze operation which is in a separate thread pool may fail and timeout after default 15mins and there are some vmtools warning/error log that could not be written to the already frozen file system.
"/etc/vmware-tools/backupScripts.d/pre-freeze-post-thaw-linux.sh"vi /etc/vmware-tools/backupScripts.d/pre-freeze-post-thaw-linux.sh
pre-freeze-post-thaw-linux.sh file#!/bin/sh
# Copyright 2022 VMware, Inc. All rights reserved. -- VMware Confidential
# Description: Pre-Freeze / Post-Thaw script for quiesced backups.
#
# Copy to /etc/vmware-tools/backupScripts.d/ on the guest.
# During quiesced backup all scripts in this directory are called by VM tools.
# Script is invoked with a single parameter freeze|thaw|freezeFail.
# This script just logs invocation time into /var/log/freeze.log
# Log time is UTC, example of timestamp: 2022-10-26T17:55:13Z
log="/var/log/freeze.log"
today=`date -u +%Y-%m-%dT%H:%M:%SZ`
if [[ $1 == "freeze" ]]
then
echo "${today}: This is quiescing freeze script" >> ${log}
elif [[ $1 == "thaw" ]]
then
echo "${today}: This is quiescing thaw script" >> ${log}
elif [[ $1 == "freezeFail" ]]
then
echo "${today}: freezeFail - Quiescing failed" >> ${log}
else
echo "No argument was provided"
fi
vmtools logging to host, or disable the tools log (not recommended for debugging)"/etc/vmware-tools/tools.conf"
[logging]log = truevmtoolsd.level = debugvmtoolsd.handler = vmxvmsvc.level = debugvmsvc.handler = vmx
vmusr, vmvss if needed, refer: https://knowledge.broadcom.com/external/article/313512/enabling-debug-logging-for-vmware-tools.html