Avamar:虚拟机映像级备份失败,Data Domain 显示 10026 错误
Summary: 备份 VMware 映像失败并显示 10026 或 10055,“Invalid length failed when overwriting to a file in a container for backup”(在覆盖容器中的文件以进行备份时长度无效)
Symptoms
使用 Data Domain 进行的虚拟机备份失败,并显示与变更数据块偏移相关的 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 客户端中,找到虚拟机。
-
编辑虚拟机,然后使用工具选择标识的磁盘。
-
将单位更改为 MB,然后从 GoAV 工具中将大小设置为 RESIZE TO。
-
-
在 Avamar 中启动新备份。备份完成后,在最新备份上执行新的映像还原,以确认问题已解决。
请参阅 VMware 知识库文章: 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 上 VM 的每个磁盘来验证虚拟机磁盘大小。
验证磁盘大小是否可以正确地被 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
Flags:
-h , --help help for validate-size
--hide-valid 设置输出以隐藏有效的虚拟机
--name string VM Name
--prompt 提示选择 vCenter
--vc string vCenter Name
全局标记:
-d, --debug 调试输出
-f, --force 忽略配置
-n、--noheader 不显示标头