ESXCli command to update VMKernel binding of an NFSv3 datastore.
search cancel

ESXCli command to update VMKernel binding of an NFSv3 datastore.

book

Article ID: 311910

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

A new option is introduced in esxcli storage NFS param command for updating VMKernel binding and this command will be applicable to NFSv3 datastores that are already bound to a VMKernel adapter.  NFSv3 datastores that are not bound to a VMKernel adapter will not be able to use this command to specify a new VMKernel adapter. 


Environment

VMware vSphere ESXi 8.0.1

Resolution

This ESXCli command is not intended to be used casually as updating VMKernel binding is disruptive and could lead to an All Paths Down(APD) event on the datastore and has a potential impact on VM IOs. This option is provided to handle any unforeseen circumstances in a network configuration that would cause connection loss with the existing VMKernel binding.


ESXCli command has to be run under VMWare's guidance.
Command usage:
esxcli storage nfs param set --help
Usage: esxcli storage nfs param set [cmd options]


Description:
  'set' Set the volume parameters of the NAS volumes.

Cmd options:
  -I|--vmknic=<str> The new vmknic to be configured for the NAS volume.
 -v|--volume-name=<str>

                        The NAS volume name. (required)

Example:
esxcli storage nfs param set -I <vmknic> -v <volume_name>
 

NOTE: If NFSv3 datastores that are not bound to a VMKernel adapter intends to use the VMKernel binding option, they have to be remounted with the VMKernel binding option.