NVP vProxy:对虚拟机备份失败进行故障处理并显示“VDDK Error 13:您无权访问此文件”
Summary: NetWorker VMware Protection (NVP) vProxy 一体机无法备份一个或多个硬盘。返回的错误是 VDDK 错误 13“您无权访问此文件”。这是一个一般错误,翻译为“我无法访问此文件”。常见原因是通信、权限或配置问题。
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 虚拟机备份失败,并显示:
Failed to backup virtual disk "Hard disk #". Failed to initialize Block Reader. Failed to open source VMDK '[DATASTORE] VM_NAME/VM_NAME.vmdk': VDDK Error: 13: You do not have access rights to this file.
此消息可在虚拟机 (VM) 备份会话日志中找到,可通过 NetWorker 管理控制台 (NMC) 的备份作详细信息查看。虚拟机会话日志还存储在以下位置:
NetWorker 服务器:/nsr/logs/policy/POLICY_NAME/WORKFLOW_NAME/
vProxy Appliance:/opt/emc/vproxy/runtime/logs/recycle/vbackupd/DATE
Cause
VMware 向 vProxy 报告此虚拟磁盘开发工具包 (VDDK) 错误。错误 13 是常规访问错误,指示存在权限或通信问题,阻止 vProxy 成功访问虚拟机文件。
Resolution
提醒:可在本文的 “其他信息 ”部分找到特定于问题的文章。可以使用 ProxyHC 实用程序确定此错误的大多数原因。在某些情况下,ProxyHC 实用程序可以解决导致出现此故障的问题。
获取 ProxyHC 并将其移动到 vProxy:
可以从面向客户的 NetWorker 工具 页面收集 ProxyHC: https://central.dell.com/solutions/Networker-Tools
将 ProxyHC 复制到 vProxy 一体机:
可以使用 SCP 代理(WinSCP、FileZilla 等)将软件包复制到 vProxy 一体机。
用户:admin(默认情况下,root 用户通过 SSH 被阻止)。
协议:SCP
协议:SCP
或从 Windows 命令行(如果安装了 Server 2019 或更高版本或 OpenSSH)。
scp source admin@vProxy_address:/home/admin/ProxyHC
其中 source 是 Windows 系统上解压的 ProxyHC 文件的完整路径。
有关将文件复制到 Linux 系统的额外说明,请参阅以下命令:
NetWorker (Linux):如何将文件复制到 Linux NetWorker 服务器/从 Linux NetWorker 服务器拷贝文件。
有关将文件复制到 Linux 系统的额外说明,请参阅以下命令:
NetWorker (Linux):如何将文件复制到 Linux NetWorker 服务器/从 Linux NetWorker 服务器拷贝文件。
使用 ProxyHC:
确认没有通过 vProxy 设备运行虚拟机备份,然后执行以下作:
- 使用管理员帐户通过 SSH 连接到 vProxy。
- 切换到 root 用户:
sudo su -
- 使 ProxyHC 可执行:
chmod +x /home/admin/ProxyHC
- 使用以下标志运行 ProxyHC:
/home/admin/ProxyHC auth port perm tasks disk cleanup hotadd
auth |
提示用户验证 NetWorker 管理员凭据以及 vCenter 的身份验证。输入用于将 vCenter 添加到 NMC VMware View 的 vCenter 用户帐户。 |
port |
检查 vProxy 一体机、Data Domain、ESXi 主机和 vCenter 之间所需的端口通信。 |
perm |
这将标识 vCenter 用户是否缺少执行备份所需的任何权限。 |
tasks |
检查 vCenter 中孤立的备份任务。 |
cleanup |
检查以前备份中的遗留工件:磁盘、锁定、注释。它会询问您是否要修正 vCenter 中的所有 vProxy。如果没有正在运行的虚拟机备份/还原作,请输入 Y。如果其他 vProxy 正在执行备份/还原作,请输入 N。 |
hotadd |
输入 DNS 名称 (而不是虚拟机名称)。可以使用 nslookup 命令或在 vSphere 中虚拟机摘要选项卡的 DNS 字段中查询虚拟机的 DNS 名称。这会检查 vProxy 是否具有对虚拟机文件的热添加访问权限。 |
如果清理标记指示已执行作(磁盘已删除、锁定已释放、批注已清除),请重新尝试备份。如果报告任何故障,请查看 vProxy 的 /tmp/proxy-hc.log。输出会确定缺少和需要的内容,或将“您没有访问权限”隔离到特定原因。具体原因的参考资料可在“其他信息”下找到。
Additional Information
具有 VDDK 错误 13 特定原因的 KB:
- 数据存储区访问:NVP vProxy:虚拟机备份失败,并显示“VDDK error:13: 您无权访问此文件 无法在热添加模式下打开虚拟磁盘”
- IDE 磁盘: vProxy 还原失败,并显示 “无法初始化块写入器” 和 “VDDK 错误:13: You do not have access rights to this file."
- 已启用 VMware 基于内容读取的高速缓存 (CBRC):NVP vProxy:启用 CBRC 时,虚拟机备份失败,并显示 VDDK 错误 13 “您没有访问权限”
- SCSI:NetWorker NVP-vProxy:备份失败并显示错误:VDDK Error: 13: “您无权访问此文件。”“无法分配 SCSI 目标 ID”
- 权限:NVP vProxy:虚拟机备份失败,并显示“无法打开源代码 VMDK'[DATASTORE] UUID/VM_NAME.vmdk':VDDK Error: 13: You do not have access rights to this file."
- 已连接的磁盘:NVP-vProxy:虚拟机磁盘备份失败,并显示“VDDK Error:13: 您无权访问此文件...装载点已存在”
额外资源:
- ProxyHC(完整 KB):NVP-vProxy:如何在 vProxy 一体机上使用运行状况检查工具 ProxyHC
- vProxy 版本表:NVP vProxy:NetWorker vProxy 版本信息
- vCenter 内部版本:https://kb.vmware.com/s/article/2143838
- ESXi 内部版本:https://kb.vmware.com/s/article/2143832
- NetWorker 兼容性列表:https://elabnavigator.dell.com/eln/modernHomeAutomatedTiles?page=NetWorker
ProxyHC 的其他选项:
usage: ProxyHC vCenter [-h] --name NAME --user USER [--pwd PWD] [--vm VM]
[--nsruser NSRUSER] [--nsrpwd NSRPWD]
[--nsrauthc NSRAUTHC] [--allproxies ALLPROXIES]
[--DDhost DDHOST]
{auth,port,perm,disk,hotadd,migration,listsession,annotation,cleanup,kb524127,all,layout,tasks,datastore,vmsnapchain,vmdisksize,termsoapsession}
...
positional arguments:
{auth,port,perm,disk,hotadd,migration,listsession,annotation,cleanup,kb524127,all,layout,tasks,datastore,vmsnapchain,vmdisksize,termsoapsession}
sub-command help
auth test authentication against vCenter server
port check open ports to ESXi hosts in cluster and data
domain systems
perm check vCenter access permissions
disk check & release extra disks from vProxy
hotadd check for hotadd access to provided VM
migration check vCenter for stale migration locks
listsession print login session list to log
annotation check vCenter for stale backup locks(annotations)
cleanup remove left over artifacts(extra disks,
locks/annotations) and find migration locks.
kb524127 check for invalid state of vProxy VM
all All vCenter tools(combination of port, perm and
cleanup)
layout check for description of files that make up VM
tasks check orphaned tasks in vCenter
datastore look for datastores with unsupported names
vmsnapchain check if any protected VM has excessive child disks
vmdisksize check if any protected VM has irregular disk size i.e.
trailing .5 KB
termsoapsession terminate soap session to vCenter from NWS
optional arguments:
-h, --help show this help message and exit
--name NAME hostname of the vCenter server
--user USER user name for login to vCenter server
--pwd PWD password for login to vCenter server
--vm VM DNS name of VM(as shown in vSphere)
--nsruser NSRUSER user name for login to NetWorker server
--nsrpwd NSRPWD password for login to NetWorker server
--nsrauthc NSRAUTHC Remote AuthC server
--allproxies ALLPROXIES
specify to do work on peer vProxies registered
--DDhost DDHOST provide DD IP/hostname for port connectivity testsAffected Products
NetWorkerProducts
NetWorker Family, NetWorker SeriesArticle Properties
Article Number: 000207076
Article Type: Solution
Last Modified: 24 Oct 2025
Version: 8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.