Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Cannot connect to NFS network share (1007352)

Last Updated: 3/21/2024Categories: TroubleshootingTotal Views: 167913Language:
Chinese (Simplified)JapaneseSpanishEnglish

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Symptoms

Hosts become unresponsive while booting up

Cannot mount an NFS datastore

You cannot establish a connection to the NFS network share using the mount command from the ESX command line

You see these errors:

NFS Error: Unable to connect to NFS server

WARNING: NFS: 983: Connect failed for client 0xb613340 sock 184683088: I/O error

WARNING: NFS: 898: RPC error 12 (RPC failed) trying to get port for Mount Program (100005) Version (3) Protocol (TCP) on Server (xxx.xxx.xxx.xxx)

In the /var/log/VMkernel.log and /var/log/VMkwarning.log files, you see an entry similar to:

NFS: 898, MOUNT RPC failed with RPC status 13 (RPC was aborted due to timeout) trying to mount Server

In the vobd.log file, you see an entry similar to:

[esx.problem.vmfs.nfs.mount.connect.failed] Failed to mount to server <ip-address> mount point /<mountpoint>. Error: Unable to connect to NFS server.

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Cause

This issue occurs if there are problems related to network connectivity, permissions on the NFS Server, or firewall settings.

Resolution

To resolve this issue, ensure that there are no issues related to network connectivity, permissions on the NFS Server, or firewall settings:

Note: Run all commands in these steps from the ESXi/ESX command line with root access.

Ensure that you can ping and vmkping the NFS server address.

Ensure that any firewalls between the ESX host and NFS Server do not block the connection.

Ensure the access on the NFS server is set to Anonymous user, Root Access (no_root_squash), and Read/Write.

Restore the mount with this command:

# esxcfg-nas -r

Check to see if the datastore has mounted after trying to restore it with:

# esxcfg-nas -l

If it is not mounted, try remounting it using this command:

# esxcfg-nas -a datastore_name -o nfs_server_hostname/ip -s mount_point

Alternatively, add the datastore again using the vSphere client:

Open firewall ports on the network for RPC protocol and check the physical switch for any RPC protocol filtering.

Note: For security reasons, RPC protocol filtering is enabled and the connection is refused.

On ESX hosts only (Does not apply to ESXi hosts):

Check the ports open on the ESX firewall with this command:

# esxcfg-firewall -q

Note: Check the output for NFSClient. If it is not listed, proceed to step 9.

Open the NFS client firewall ports 111 and 2049 on UDP and TCP protocol either on vCenter Server or on ESX with the command:

# esxcfg-firewall --enableService nfsClient

Alternatively, modify the security policy in vSphere Client. Click Configuration > Security Profile > Properties, select NFS Client and click OK.

Note : Ensure that the ports 111 and 2049 are also open on the NFS server.

This issue can also occur if:

There is a misconfiguration on the Switch port. In this case, try using a different vmnic (or move NICs to Unused/Standby in the NIC teaming tab of the vSwitch or Portgroup properties).

The name of the NAS server is not resolved from the host side or vice versa. In this case, ensure that the DNS server and host-side entries are set properly.

If the preceding steps do not resolve the issue, see Troubleshooting connectivity issues to an NFS datastore (1003967)

Related Information

Unable to register a virtual machine from an NFS datastore for VMware ESX 3.0/3.5
No se puede conectar a un recurso compartido de red NFS
Não é possível conectar ao compartilhamento de rede NFS
无法连接到 NFS 网络共享
NFS ネットワーク シェアに接続できない

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseSpanishEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware VirtualCenter

VMware vCenter Server

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware VirtualCenter 2.5.x

VMware VirtualCenter 2.0.x

VMware vCenter Server 5.5.x

VMware vCenter Server 5.1.x

VMware vCenter Server 5.0.x

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant