Adding Support for multiple connections(nConnect) for each IP-Address in a session using NFSv41 in vSphere 8.0 Update 3
search cancel

Adding Support for multiple connections(nConnect) for each IP-Address in a session using NFSv41 in vSphere 8.0 Update 3

book

Article ID: 370672

calendar_today

Updated On:

Products

VMware vSphere ESX 8.x

Issue/Introduction

From ESXi 8.0U3 release onward, users will see a new option "number of connections" , -c, while using esxcli to mount NFS Version 4.1 datastores.

The "nConnect"feature provides facility to add multiple connections per IP of an NFSv41 datastore. This feature will be available currently only through the command line interface.

Environment

VMware vSphere ESXi 8.0 U3

Resolution

  • When adding a new NFSv41 datastore, the number of connections can be specified at the time of the mount using the command:


esxcli storage nfs41 add -H <host> -v <volume-label> -s <remote_share> -c <number_of_connections>

  • The maximum number of connections per NFSv41 datastore are limited to "4" by default, however it can be increased to "8" using advanced NFS option:


esxcfg-advcfg -s 8 /NFS41/MaxNConnectConns
esxcfg-advcfg -g /NFS41/MaxNConnectConns

 

  • For an existing NFSv41 datastore, the number of connections can be increased or decreased at run time using the following command:


esxcli storage nfs41 parameter set -v <volume-label> -c <number_of_connections>

 
Please note:

There is no impact to multipathing. NFS41 nConnect and multipaths can coexist:


esxcli storage nfs41 add -H <IP1,IP2> -v <volume-label> -s <remote_share> -c <number_of_connections>