- Veeam Support Knowledge Base
- NFC connectivity troubleshooting steps
NFC connectivity troubleshooting steps
Cheers for trusting us with the spot in your mailbox!
Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest
Oops! Something went wrong.
Please, try again later.
Challenge
A job fails with an error related to NFC (Network File Copy) connectivity. For example:
-
Error: NFC storage connection is unavailable.
-
Failed to create NFC download stream.
-
Failed to create NFC upload stream.
Cause
The cause of most NFC errors fall into 4 primary categories:
- DNS
(The proxy or Veeam server cannot resolve the ESXi host) - Port (902)
(The proxy can resolve the IP, but port 902 is blocked) - Permissions*
(The account specified in [Backup Infrastructure] for the vCenter does not have permissions) - File Locks
(The file Veeam is trying to read is locked within the vSphere environment)
*If the account that Veeam Backup & Replication is using to communicate with the VMware Environment has granular permissions set, please confirm all permissions are set according to the Granular Permissions Guide.
Due to the nature of NFC as a client<->server type connection, there is also potential that all things may be correct on the Veeam client-side, and there exists an issue within the VMware Infrastructure itself.
Solution
Logs to Investigate
To investigate the potential of DNS, Ports, Permissions, or File Lock issues, you will need to review the Agent process logs.
- Navigate to the following location on the VMware Backup Proxy:
%programdata%\Veeam\Backup
/var/log/VeeamBackup
- Open the folder that matches the name of the job that is having an issue.
- Within this folder, you will need to find the agent log for the specific VM.
- For a Backup Job:
Agent.<JobName>.Source.<VMName>.log
- For a Replication Job:
Agent.<JobName>.Source.<VMName>.log
Agent.<JobName>.Target.<VMName>.log
- For a Backup Job:
- Search for the following:
Creating NFC download stream
- Here you will want to look for the following items that could point to the cause of the error.
- DNS
If there is an issue with DNS, the following error will be found.nfc| Resolving host name (esx1) to IP address... nfc| Resolving host name (esx1) to IP address... Failed.
- Port
If there is an issue with ports, there will be an error like this:nfc| Establishing connection with the host [esx1]. Port: [902]. Failed.
- Permissions
If there is an issue with permissions, there will be an error after the following:nfc| Sending authd message: [SESSION ID NUMBER]. nfc| Sending authd message: [Name of Host]. nfc| Waiting for the authd reply message...
- File Locks
If the file is locked, there will be an error like this:nfc | Starting file download. File: [[datastore] Test/Test.vmx]. Failed. ERR |Failed to start file downloading from host [esx1]. File path: [[datastore] Test/Test.vmx]. ERR |DiskLib error: [13].The file is locked or in use – File open failed: File not open --tr:Failed to start file downloading. VMFS path: [[datastore] Test/Test.vmx].
- DNS
Troubleshooting
DNS Issues (Most Common)
The proxy must be able to resolve the hostname or FQDN of the ESXi hosts in the Virtual Infrastructure.
Port Issues
Further testing can be done using the following PowerShell command. The destination should be the hostname/FQDN/IP shown in the logs for the host.
Test-NetConnection -ComputerName "<destination_host>" -Port 902
Permissions Issues
When a vCenter Server or standalone ESXi host is added to the [Backup Infrastructure] section of Veeam Backup & Replication, the user assigns an account to be used. That account should have sufficient privileges to all objects related to the VM being backed up.
If the account that Veeam Backup & Replication is using to communicate with the VMware Environment has granular permissions set please confirm all permissions are set according to the Granular Permissions Guide.
File Lock Issue
In certain circumstances, the ESXi host may establish a lock on VM files, preventing Veeam from accessing the file.
For more information, review the following VMware KB article regarding file locks:
Investigating virtual machine file locks on ESXi hosts (314365)
In some cases, Restarting the Management Agents on the ESXi host may correct NFC connection issues.
Isolation Tips
- Try a different proxy. (Isolates issue to specific Veeam Proxy)
- Try vMotioning the VM to a different host. (Isolates issue to specific ESXi host)
- Try Storage vMotioning the VM to a different datastore. (Isolates possible missing permission at datastore level)
- Try adding the ESXi host the VM is on as a standalone host to Veeam, then create a backup job to pull the VM from the standalone host.
(This will help isolate if the Management Agents need to be restarted on the ESXi host)
Remember to remove the job and standalone host from Veeam's configuration after the issue is resolved.
More Information
The proxy being used to process a VM can be identified by opening the “Task” log specific to the VM from inside the folder named after the job in %programdata%\Veeam\Backup. Searching the Task log for the words “starting agent” will allow for the identification of which server performed the task.
Further information can be found in this forum post: http://forums.veeam.com/veeam-backup-replication-f2/failed-to-create-nfc-download-stream-t2991-15.html#p69806
The NFC connection requires the following:
- DNS Resolution of the target host
- Port 902 is open to/from Backup Server/Proxy to ESX(i) host
- Permissions to download files via ESX(i) host and/or vCenter
An issue with Port 902 may represent an issue with a firewall on the ESXi host, Veeam Proxy, or the connection between the two.
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.