Avamar 用戶端:IDPA Linux 用戶端映像備份已完成,但由於靜止問題,但有例外狀況

Resumen: Linux 映像備份用戶端失敗,備份已完成,並出現例外錯誤代碼 10020

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

由於靜止問題,IDPA 系統的 Linux 映像備份為「完成 (含例外)」。

此範例中的虛擬機器是 IDPA 解決方案隨附的內部 ACM 虛擬機器。

從備份的 VMware Linux 映像記錄中,可以看到下列內容:

avvcbimage Info <40726>: VM Config Info: VMX version 4(F), ctk enabled(T), fault tolerant (F), Guest OS SUSE Linux Enterprise 12 (64-bit), Cloud UUID = NoUUID. version=9
avvcbimage Info <40727>: VM Guest Info: GuestOS Family = linuxGuest, Guest Full Name = SUSE Linux Enterprise 12 (64-bit), Guest OS State = running, Tools Running = guestToolsRunning,  Tools Version Status = guestToolsUnmanaged
avvcbimage Info <42650>: Creating snapshot 'Avamar-<epoch_time><client_id>', quiesceFS=1
avvcbimage Info <41136>: SnapshotManager: createSnapshot for vmMoref = vm-21
avvcbimage Info <42182>: SnapshotManager: POST to /snapshotmanager/vm/vm-21/action/createSnapshot, payload({
  "snapshotName": "Avamar-<epoch_time><client_id>",
  "snapshotDesc": "Created by Avamar workorder Management_VM_Backup-Management_VM_Backup-<epoch >  on <date>",
  "quiesceFileSystem": "true"
...
avvcbimage Warning <19733>: vSphere Task failed (quiesce, snapshot error=45): 'An error occurred while saving the snapshot: Failed to quiesce the virtual machine.'.
avvcbimage Error <17775>: Snapshot 'Avamar-<epoch_time><client_id> ' creation for VM '[vsanDatastore] DataProtection-ACM/DataProtection-ACM.vmx' task creation encountered a quiesce problem
avvcbimage Warning <40710>: The VM could not be quiesced prior to snapshot creation and this backup will not be used as a base for subsequent CBT backups if successful.
avvcbimage Warning <40711>:     Consider using the pre-freeze and post-thaw scripts to facilitate VM quiescing
avvcbimage Warning <41146>:     This error might caused by the pre-freeze script returning a non-zero error code.
...

在第一個快照工作失敗後,備份會繼續進行,以取得第二個快照,但會停用靜止功能。

avvcbimage Info <14631>: VM Disk Consolidation for '[vsanDatastore] DataProtection-ACM/DataProtection-ACM.vmx' task still in progress, sleep for 3 sec
avvcbimage Info <42650>: Creating snapshot 'Avamar-<epoch_time><client_id>', quiesceFS=0
avvcbimage Info <41136>: SnapshotManager: createSnapshot for vmMoref = vm-21
avvcbimage Info <42182>: SnapshotManager: POST to /snapshotmanager/vm/vm-21/action/createSnapshot, payload({
  "snapshotName": "Avamar-<epoch_time><client_id>",
  "snapshotDesc": "Created by Avamar workorder Management_VM_Backup-Management_VM_Backup-<epoch> on <date>",
  "quiesceFileSystem": "false"

備份完成,但顯示已完成,但有例外 (代碼 10020)

在工作訂單記錄 (.alg) 中,會看到下列內容:

2019-04-03 00:12:42 Management_VM_Backup-Management_VM_Backup-<epoch>Warning <0000>: Workorder "Management_VM_Backup-Management_VM_Backup-epoch" non-zero exit status 'code 170: completed with errors, client log should be examined'

 

Causa

  1. 若要查看導致靜止失敗的原因,請為 vmtool 設定偵錯記錄。
    按照 https://kb.vmware.com/s/article/1007873此超連結會帶您前往 Dell Technologies 以外的網站。 中的步驟,在客體作業系統上設定偵錯記錄,然後重新啟動 VMware 工具。

  2. 執行新的備份,以重新建立靜止失敗。

  3. 檢閱偵錯工具記錄 (靜止資訊應位於 vmsvc 記錄中,並具有 [vmbackup] 前置詞)。

在此範例中,此問題是由部分刪除的 /var/log/brs 目錄所造成。由於背景程序的目錄仍為開啟狀態,因此無法完全移除此目錄。這個部分刪除的資料夾可防止 Linux 檔案系統停止使用 ioctls 功能回應。

[   debug] [vmbackup] Submitted backup start task.
[   debug] [vmbackup] *** VmBackupSyncDriverStart
[   debug] [vmsvc] SyncDriver: Skipping remote filesystem, name=systemd-1, mntpt=/proc/sys/fs/binfmt_misc.
[   debug] [vmsvc] SyncDriver: Calling backend 0.
[   debug] [vmsvc] SyncDriver: Freezing using Linux ioctls...
[   debug] [vmsvc] SyncDriver: opening path '/var/lib/named/proc'.
[   debug] [vmsvc] SyncDriver: freezing path '/var/lib/named/proc'.
[   debug] [vmsvc] SyncDriver: freeze on '/var/lib/named/proc' returned: 95 (Operation not supported)
[   debug] [vmsvc] SyncDriver: opening path '/var/log/logbundles'.
[   debug] [vmsvc] SyncDriver: freezing path '/var/log/logbundles'.
[   debug] [vmsvc] SyncDriver: successfully froze '/var/log/logbundles'.
[   debug] [vmsvc] SyncDriver: opening path '/var/log/brs (deleted)'.
[   debug] [vmsvc] SyncDriver: failed to open '/var/log/brs (deleted)': 2 (No such file or directory)
[ warning] [vmbackup] Error freezing filesystems.

 

Resolución

仔細檢查目錄的 /var/log/brs,可以發現從其他命令開啟此目錄時發生問題。像 lsof 和 stat 也顯示問題。

IDPA-ACM:/var/log # lsof|grep brs
lsof: WARNING: can't stat() xfs file system /var/log/brs (deleted)
      Output information may be incomplete.

IDPA-ACM:/var/log # ls -al
drwxr-xr-x 0 root     root            6 Feb 27  2018 brs

ACM 虛擬機器已重新開機,以終止背景 ACM 程序。ACM 程序重新建立 /var/log/brs 目錄後,備份得以完成,沒有進一步的靜止問題。

IDPA-ACM:/var/log # ls -al
drwxr-xr-x 2 root     root            6 Apr 15 10:30 brs

 

Información adicional

請務必遵循上述知識文章,移除用戶端上 vmtools 的除錯記錄,並重新啟動 vmtools 服務。

 

Productos afectados

Avamar Client

Productos

Avamar Client, PowerProtect Data Protection Software
Propiedades del artículo
Número del artículo: 000056249
Tipo de artículo: Solution
Última modificación: 27 may 2026
Versión:  5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.