NFSv3 datastore mount operation may fail with Limit exceeded error. The below log will be visible in /var/run/log/vmkernel.log, on the ESXi hosts where the NFSv3 datastore mount failed,
"NFS: Limit for maximum number of connections (256) reached"
With the nConnect feature (added in 8.0U1), connection sharing using the advance config option /SunRPC/MaxConnPerIP could not be used due to technical limitations. Hence, each NFSv3 datastore uses the number of connections specified during mount without sharing with other NFSv3 datastores. Combined with the number of reserved ports available to use for NFS, a limit on the total number of RPC connections used by NFSv3 has to be imposed, so that NFSv3 does not exhaust all available reserved ports.
The total number of RPC connections that can be used by NFSv3, including NFS Protocol Endpoints (NFS-PE mounts), is limited to 256.
With the new limitations in place, the following table defines the new maximum number of NFSv3 datastores that can be mounted with the given number of connections.
Maximum NFSv3 |
Connections |
Total Connections |
---|---|---|
256 |
1 |
256 |
128 |
2 |
256 |
64 |
4 |
256 |
32 |
8 |
256 |
Recommendation for number of connections is still 1 for 8.0U1 release so maximum datastores that can be mounted with connection 1 remains same to 256. Please refer Preliminary support for nConnect feature added in ESXi NFS client for details.
Note:
[root@esx-host] vsish -e get /vmkModules/nfsclient/info
NFS Connections Info
{
mountedVolumes:64
totalConnections:256
}