NVP vProxy:故障診斷 VM 備份失敗,並顯示「VDDK 錯誤 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.

您可以透過 NetWorker Management Console (NMC) 備份動作的詳細資料,在虛擬機器 (VM) 備份工作階段記錄中找到此訊息。VM 工作階段記錄也會儲存在下列位置:

NetWorker 伺服器:/nsr/logs/policy/POLICY_NAME/WORKFLOW_NAME/
vProxy Appliance:/opt/emc/vproxy/runtime/logs/recycle/vbackupd/DATE

Cause

VMware 會向 vProxy 回報此虛擬磁碟開發套件 (VDDK) 錯誤。錯誤 13 是一般存取錯誤,指出存在權限或通訊問題,使 vProxy 無法成功存取 VM 檔案。 

Resolution

注意:如需特定問題的文章,請參閱本文的 「其他資訊 」一節。您可以使用 ProxyHC 公用程式來識別此錯誤的大部分原因。在某些情況下,ProxyHC 公用程式可以解決導致此故障出現的問題。

取得 ProxyHC 並將其移至 vProxy:

您可以從客戶專用的 NetWorker 工具 頁面收集 ProxyHC: https://central.dell.com/solutions/Networker-Tools

將 ProxyHC 複製到 vProxy 裝置:

可使用 SCP 代理程式 (WinSCP、FileZilla 等) 將套件複製到 vProxy 裝置。 

使用者:admin (預設會透過 SSH 封鎖根)。
協議:SCP

或從 Windows 命令列 (如果已安裝 server 2019 或更新版本,或已安裝 OpenSSH)。
scp source admin@vProxy_address:/home/admin/ProxyHC
其中 source 是 Windows 系統上解壓縮的 ProxyHC 檔案完整路徑。

如需將檔案複製到 Linux 系統的額外指示,請參閱:  
NetWorker (Linux):如何將檔案複製到 Linux NetWorker 伺服器/從 Linux NetWorker 伺服器複製檔案。

使用 ProxyHC:

確認 vProxy 裝置中沒有執行 VM 備份,並執行下列步驟:
  1. 使用管理員帳戶透過 SSH 連線至 vProxy。
  2. 切換至根使用者:
sudo su -
  1. 使 ProxyHC 可執行檔:
chmod +x /home/admin/ProxyHC
  1.  使用下列旗標執行 ProxyHC: 
/home/admin/ProxyHC auth port perm tasks disk cleanup hotadd
 
ProxyHC 交換器
auth 提示使用者使用 vCenter 驗證 NetWorker 管理員認證和認證。輸入用來將 vCenter 新增至 NMC VMware View 的 vCenter 使用者帳戶。
port 檢查 vProxy 裝置、Data Domain、ESXi 主機和 vCenter 之間所需的連接埠通訊。
perm 這可識別 vCenter 使用者是否缺少執行備份所需的任何權限。
tasks 檢查 vCenter 中是否有孤立的備份工作。
cleanup 檢查先前備份中剩餘的殘影專案:磁碟、鎖、註解。系統會詢問您是否要補救 vCenter 中的所有 vProxy。如果沒有執行 VM 備份/還原作業,請輸入 Y。如果其他 vProxy 正在執行備份/還原作業,請輸入 N
hotadd 輸入 DNS 名稱 (不是 VM 名稱)。可以使用 nslookup 命令或在 vSphere 中 VM 摘要標籤的 DNS 欄位中查詢 VM 的 DNS 名稱。這個動作會檢查 vProxy 是否具有 VM 檔案的熱新增存取權。


如果清理旗標表示已執行操作 (已移除磁碟、釋放鎖定、清除註解),請重新嘗試備份。如果回報任何故障,請檢閱 vProxy 的 /tmp/proxy-hc.log。輸出可識別缺少和需要的內容,或者隔離出對特定原因的“您沒有訪問許可權”。如需特定原因的參考資料,請參閱「其他資訊」。
 

Additional Information

具有 VDDK 錯誤 13 特定原因的 KB:

額外資源:

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 tests

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article 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.