Avamar:VDI 的虚拟机映像备份失败,显示 avvcbimage 错误 <0000>:[IMG0009]创建快照:快照创建或快照前/快照后脚本失败。

Summary: 虚拟桌面基础架构 (VDI) 的虚拟机映像备份失败,并显示“avvcbimage Error <0000>:[IMG0009]创建快照:快照创建或快照前/快照后脚本失败”。

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

虚拟桌面基础架构 (VDI 的 VMware 映像备份失败,显示 avvcbimage 错误 <0000>:[IMG0009] Create Snapshot:快照创建或快照前/后脚本失败。

/usr/local/avamarclient/var/vmimagew.log中的错误如下所示:
avvcbimage FATAL <0000>: [IMG0002] The datastore information from VMX '[3PAR11_CITRIX02] Virtualmachine/Virtualmachine.vmx' will not permit a restore or backup.
avvcbimage Info <9772>: Starting graceful (staged) termination, Too many pre-existing snapshots on the datastore will not permit a restore or backup. (wrap-up stage)
avvcbimage Error <0000>: [IMG0009] Create Snapshot: snapshot creation or pre/post snapshot script failed.
avvcbimage Error <0000>: [IMG0009] Create Snapshot: snapshot creation/pre-script/post-script failed.

There are delta files exist in the VM files. This appears in /usr/local/avamarclient/var/vmimagew.log as below:

avvcbimage Info <14677>: All VM file Info:
File:'Virtualmachine-556-1ab17270-1eb2-4306-b818-1f4062fe5f71-xd-delta-ctk.vmdk' last modified on '05-May-2020 23:34'  size=7930
File:'Virtualmachine-1ab17270-1eb2-4306-b818-1f4062fe5f71-xd-delta-delta.vmdk' last modified on '12-May-2020 13:26'  size=13
File:'Virtualmachine-1ab17270-1eb2-4306-b818-1f4062fe5f71-xd-delta.vmdk' last modified on '05-May-2020 23:33'  size=573

Cause

代理 数据存储区检查 功能已在 avvcbimageAll.cmd 中启用不建议将此功能用于使用 VDI 的 Avamar 映像备份。

要验证上述功能是否已启用,请在代理服务器上运行以下命令:

 
cat /usr/local/avamarclient/var/avvcbimageAll.cmd | grep -i skip_datastore_check

If enabled, The output should be as below:
 
cat /usr/local/avamarclient/var/avvcbimageAll.cmd | grep -i skip_datastore_check
#--skip_datastore_check=false


 

Resolution

对于此问题,我们有两种可能的解决方法:
  • 在代理服务器上 avvcbimageAll.cmd 编辑。取消注释 skip_datastore_check行并将其值设置为 true。
cat /usr/local/avamarclient/var/avvcbimageAll.cmd | grep -i skip_datastore_check
--skip_datastore_check=true

  • 或者为 VDI 备份创建特定数据集并添加以下标记:
[avvcbimage]skip_datastore_check=true
 

 

Additional Information

有关虚拟桌面基础架构 (VDI) 的更多信息,请查看以下 VMware 内容:https://www.vmware.com/topics/glossary/content/virtual-desktop-infrastructure-vdi

Affected Products

Avamar

Products

Avamar
Article Properties
Article Number: 000078741
Article Type: Solution
Last Modified: 10 Jan 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.