Avamar:VM 映像層級備份失敗,Data Domain 發生 10026 錯誤
Summary: 備份 VMware 映像失敗,並顯示 10026 或 10055:「覆寫至容器中檔案以用於備份時長度無效」
Symptoms
在使用 Data Domain 進行 VM 備份結束時,該備份失敗,並顯示與變更區塊偏移相關的 FCOW 錯誤:
2016-11-10 19:00:39 avtar FATAL <0000>: Failed to send data to file container for FCOW, Invalid offset failed overwriting to a file in a container for backup, changed block begin offset 133272572928 is not a multiple of the fixed segment size 8192, DDR result code: 4914, desc: Invalid offset
2016-11-10 19:00:39 avtar FATAL <0000>: <10621>Failed to overwrite data to stream, due to send data failure for size 262144 for FCOW for stream index 15, DDR result code: 0 desc: Error not set
2016-11-10 19:00:39 avtar FATAL <40009>: DDR encountered errors.
2016-11-10 19:00:39 avtar Info <9772>: Starting graceful (staged) termination, DDR_ERROR event received (fatal severity) (wrap-up stage)
2016-11-10 19:00:39 avtar Info <0000>: Entering the 'final' phase of termination, DDR_ERROR need to exit)
2016-11-10 19:00:39 avtar Info <15092>: Container final statistics:
container file name: C884337993FD57BF9CB6B44AB276E861ABA0F5F8
total seg count: 22,599,398
redundant seg count: 22,560,065
2016-11-10 19:00:39 avtar FATAL <5155>: Backup aborted due to earlier errors. No backup created on the server.
或
2022-07-13 10:39:52 avtar FATAL <0000>: Failed to close file container for backup for FCOW, Invalid length failed when overwriting to a file in a container for backup, length 1677312 is not a multiple of the fixed segment size 8192, DDR result code: 4915, desc: Invalid length
2022-07-13 10:39:52 avtar FATAL <0000>: Failed closing write stream for FCOW, index: 33, close container failed, exit code: 157.
Cause
Resolution
配置虛擬機並編輯設置。
檢查每個磁碟大小的十進位大小。
四 捨五入 至下一個整數以調整磁碟大小。
例:
磁碟顯示大小為 127999.3337 MB。
將此變更為 128000 MB。
此外,goav vm validate-size 命令也可用於檢查此問題。
如需以下項目的相關詳細資訊: validate-size 功能,請參閱本文的「其他資訊」一節或 GoAV 說明文件。
-
使用 GoAV 執行命令:
./goav vm validate-size
-
要調整虛擬機器大小,請執行以下操作:
-
在 vSphere Client 中找出虛擬機器。
-
編輯虛擬機器,然後使用工具選取識別的磁碟。
-
將單位更改為 MB,然後從 GoAV 工具中將大小設置為調整大小。
-
-
在 Avamar 中開始新的備份。備份完成後,請在最新的備份上執行新映像還原,以確認問題已解決。
請參閱 VMware KB: https://knowledge.broadcom.com/external/article?articleNumber=377962
Additional Information
有關 GoAV 驗證大小功能的詳細資訊:
此功能可檢測虛擬磁碟大小不是 8192 KB 或 1,048,576 KB (1 MB) 倍數的虛擬機。如果找到,它建議使用更新、更大的大小來增加虛擬磁碟。
./goav vm validate-size --help
在 vCenter 上檢查每個磁碟是否有虛擬機器,以驗證虛擬機器磁碟大小。
驗證磁碟大小是否可正確整除為 1 MB 和 8 KB。
用法:
GOAV VM Validate-Size [旗標]
例如:
./goav vm validate-size --name testing8kb-invalidlength --vc myvcenter.fqdn.tld
設備鑰匙 | VMDK |磁碟大小 | 8 KB | 1 兆位元組 |調整大小為-------------
+---------------------------------------------------------------------+-----------+-------+-------+------------
2001 |[localDatastore] testing8kb-invalidlength/invalidSize.vmdk |1536000 |假 |假 |2 MB
標誌:
-h, --help 說明驗證大小
--hide-valid 設定輸出以隱藏有效的 VM
--name 字串 VM 名稱
--提示 提示選取 vCenter
--vc 字串 Vcenter 名稱
全球旗標:
-d, --debug 除錯輸出
-f, --force 忽略組態
-n, --noheader 不顯示標題