NVP-vProxy:映像级还原失败,并显示“Could not update vmx file's 'nvram' entry”

Summary: 虚拟机 (VM) 映像和即时恢复失败,并显示“Could not update vmx file s 'nvram' entry”

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

NetWorker VMware Protection (NVP) 集成已通过 vProxy 设备进行配置。创建已恢复虚拟机的目录后,映像级恢复(虚拟机和即时)失败,并在还原日志中显示以下错误:

159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ INFO:   [@(#) Build number: 34] Creating directory for storage type "VMFS".
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ INFO:   [@(#) Build number: 34] Successfully created the directory "[Datastore] <recovered VM name>" in datastore.
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ WARN:   [@(#) Build number: 34] Did not find nvram entry in vmx file.
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ ERROR:  [@(#) Build number: 34] Could not update vmx file's 'nvram' entry.
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ ERROR:  [@(#) Build number: 34] Unable to upload the configuration files: "Could not update vmx file's 'nvram' entry."
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ WARN:   [@(#) Build number: 34] RecoverVMSessions "11cda4f5-b22d-4fb6-8c1f-98ddbd9c4e05" cleaning up running recover session due to error.
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ ERROR:  [@(#) Build number: 34] Task to remove folder/file "" failed: Invalid datastore path ''.
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ ERROR:  [@(#) Build number: 34] Unable to remove the VM directory . Invalid datastore path ''.
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ ERROR:  [@(#) Build number: 34] Unable to tear down the recover session.
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ INFO:   [@(#) Build number: 34] Disconnected from session on vCenter 'vappvm101.dc.vapp.ctc'.
159373:nsrvproxy_recover: vProxy Log: YYYY-MM-DDTHH:MM:SSZ ERROR:  [@(#) Build number: 34] Failed to recover to a new VM. Could not update vmx file's 'nvram' entry.

尽管成功下载了虚拟机的 vmx 文件,但单个虚拟机的多个存储集(包括最新备份)仍出现该问题。

Cause

虚拟机 vmx 文件缺少标识虚拟机 nvram 文件的 nvram 条目(例如:nvram = “VM_name.nvram”)。

此问题可能是由于在 vCenter Server 上部署/导入虚拟机期间出现错误导致的。
在执行备份的时间点,存储集的配置文件与虚拟机的 vmx 文件匹配。

Resolution

为了防止在将来的备份中出现此问题,必须使用 nvram 文件条目更新虚拟机的 vmx 文件。必须由 VMware 管理员执行此更改。

可以从虚拟机数据存储区文件夹中下载虚拟机 .vmx 文件:
虚拟机 nvram 文件

提醒:虚拟机的 nvram 文件也应与其 .vmx 文件位于同一目录中,如上所示。

使用文本编辑器打开 vmx 文件。确保该文件包含指定 nvram 文件的行,例如:
.vmx 文件中的 NVRAM 文件条目 

如果缺少该条目,请使用正确的 nvram 文件名将其添加到文件中。保存文件,关闭虚拟机并将更新后的 .vmx 文件上传回 VMware 中的虚拟机数据存储区文件夹。启动虚拟机。
为进行此更正后执行的备份执行的还原预计不会遇到此故障。

 

提醒:对于受影响较早的存储集,请使用“虚拟磁盘恢复”创建新的虚拟机,以此作为恢复数据的解决方法。此还原方法不需要 .vmx 文件。

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000188180
Article Type: Solution
Last Modified: 03 ديسمبر 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.