Avamar:VMware 映像還原會執行數小時,顯示進度單位為 GB 或 TB,但失敗並顯示「等待產生的 avtar 程序完成時逾時」
Summary: VMware 映像還原會執行數小時,顯示進度單位為 GB 或 TB,但失敗,並顯示「等待產生的 avtar 程序完成逾時」。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
VMware 映像還原會執行數小時,顯示 GB 或 TB 進度,但失敗並傳回:
avvcbimage Error <0000>: [IMG0011] Timeout on wait for spawned avtar process to complete在還原記錄中,注意到在還原其中一個虛擬磁碟後,VMware 附掛程式已與虛擬機器中斷連線:
avvcbimage Info <9679>: Virtual disk connection to '[datastore] testvm-Restore_1714653538862/testvm-Restore_4.vmdk' has been closed avvcbimage Info <40654>: isExitOK()=0 avvcbimage Info <40654>: isExitOK()=0 avvcbimage Info <12060>: Getting next pax element in VMFile directory avvcbimage Info <16041>: VDDK:VixDiskLib: VixDiskLib_Disconnect: Disconnect.
avvcbimage Info <42222>: Using vSphere revertSnapshotTask snapshot moref (snapshot-414916) avvcbimage Info <14629>: Snapshot (snapshot-414916) removal for VM '[datastore] testvm-Restore1714653538862/Testvm-Restore.vmx' task queued, sleep for 1 sec300 秒後,請注意 avtar 程序仍在執行中,需要更多時間。默認情況下,子進程超時為 5 分鐘或 300 秒。
avvcbimage Error <0000>: [IMG0011] Timeout on wait for spawned avtar process to complete例如,在以下日誌中,映像外掛程式已等待 5 分鐘:
2024-05-03 12:53:04 avvcbimage Error <0000>: [IMG0011] Timeout on wait for spawned avtar process to complete稍後在記錄中,注意到 avtar 程序已成功完成 (代碼 0),但需要 1 小時 32 分鐘 23 秒:
2024-05-03 14:25:27 avvcbimage Info <6688>: Process 16763 (/usr/local/avamarclient/bin/avtar) finished (code 0: success)在 avtar 記錄中,狀態行 (預設為每 15 分鐘列印一次) 顯示在此期間,avtar 仍在還原虛擬磁碟。但是,由於映像外掛程式已斷開連接,因此不會將此數據寫入虛擬機。
2024-05-03 13:00:20 avtar Info <8688>: Status 2024-05-03 13:00:20, 24 files, 6 directories, 2,404 GB (24 files, 4,807 GB, 100.00% new) 1250MB 82% CPU VMFiles/5/virtdisk-flat.vmdk
Cause
確切的根本原因正在調查中。但是,每種情況的常見觸發因素是當虛擬磁碟大小不是 8192 KB 或 1,048,576 KB 的倍數時。
Resolution
因應措施:
如需以下項目的相關詳細資訊:
- 執行即時存取復原,而非映像復原。這種類型的還原不受此問題的影響。
- 從 Avamar 下載並安裝最新版的 GoAV 工具。A
validate-size在 GoAV 1.72 版中添加了功能。
如需以下項目的相關詳細資訊:
validate-size 功能,請參閱本文的「其他資訊」一節或 GoAV 說明文件。
- 使用 GoAV 執行命令:
./goav vm validate-size
- 要 調整虛擬機器大小,請執行以下操作:
- 在 vSphere Client 中找出虛擬機器。
- 編輯 虛擬機 器,然後使用工具選取 識別的磁碟 。
- 將 單位更改為 MB,然後從 GoAV 工具中將大小設置為 調整大小。
- 在 Avamar 中開始 新的備份 。備份完成後,請在最新的備份上執行 新映像還原 ,以確認問題已解決。
Additional Information
有關 GoAV 驗證大小功能的詳細資訊:
此功能可檢測虛擬磁碟大小不是 8192 KB 或 1,048,576 KB (1 MB) 倍數的虛擬機。如果找到,它建議使用更新、更大的大小來增加虛擬磁碟。
此功能可檢測虛擬磁碟大小不是 8192 KB 或 1,048,576 KB (1 MB) 倍數的虛擬機。如果找到,它建議使用更新、更大的大小來增加虛擬磁碟。
./goav vm validate-size --help
Validate Virtual Machine disk size by checking each disk for the VM on vcenter.
Verifies that disk sizes are properly divisible by 1MB and 8KB.
Usage:
goav vm validate-size [flags]
Examples:
./goav vm validate-size --name testing8kb-invalidlength --vc myvcenter.fqdn.tld
DEVICE KEY | VMDK | DISK SIZE | 8KB | 1MB | RESIZE TO
-------------+---------------------------------------------------------------------+-----------+-------+-------+------------
2001 | [localDatastore] testing8kb-invalidlength/invalidSize.vmdk | 1536000 | false | false | 2 MB
Flags:
-h, --help help for validate-size
--hide-valid Set output to hide valid VMs
--name string VM Name
--prompt Prompts to select vCenters
--vc string Vcenter Name
Global Flags:
-d, --debug debug output
-f, --force Ignore Configuration
-n, --noheader Do not display header
命令說明:
goav vm validate-size
- 從 Avamar 擷取虛擬機器 (VM) 清單
- 建立與每個對應虛擬機器 vCenter 的連線
- 取得虛擬磁碟大小,並檢查大小為 8 KB 或 1 MB 的倍數
- 如果磁碟大小無效,它會建議在 VMware 中增加磁碟大小。
選用旗標:
--hide-valid - Does print the VM names that have valid disk sizes --name The virtual machine name to check --vc The virtual center server to checks --prompts Prompts to select vCenters
範例輸出:
admin@ave:~/>: ./goav vm validate-size --name 1mb-clone ========================= vc.example.com ========================= 1mb-clone INVALID DEVICE KEY | VMDK | DISK SIZE | 8KB | 1MB | RESIZE TO -------------+-------------------------------------------+---------------+------+-------+------------ 2000 | [Datastore] 1mb-clone/1mb-clone.vmdk | 1572864 Bytes | true | false | 2 MB
Affected Products
AvamarArticle Properties
Article Number: 000225926
Article Type: Solution
Last Modified: 27 Aug 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.