Use the following commands to remove and subsequently mount a NFS datastore. It should be noted that there’s both a NFS and NFS41 storage type – be mindful which one you’re using.
First check to see the current NFS datastores:
esxcli storage nfs list
esxcli storage nfs41 list
Then remove the datastore:
esxcli storage nfs remove -v NFS_Datastore_Name
esxcli storage nfs41 remove -v NFS_Datatore_Name
Now re-add the datastore that was removed:
esxcli storage nfs add -H NFS_IP|NFS_HOSTNAME -s Share_mount_point_on_the_NFS -v DatastoreName
esxcli storage nfs41 add -H NFS_IP|NFS_HOSTNAME -s Share_mount_point_on_the_NFS -v DatastoreName