Attempting to mount the NFS volume fails with the error: Unable to resolve hostname
book
Article ID: 313051
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
Symptoms:
You cannot add the NFS datastore.
Attempting to mount the NFS datastore fails.
vSphere Client reports the error:
Error:Call "HostDatastoreSystem.CreateNasDatastore" for object "ha-datastoresystem" on ESXi "172.xx.xx.xx" failed. Operation failed, diagnostics report: Unable to resolve hostname 'SERV.example.com'
Attempting to add the NFS datastore from the command line fails with the error:
Error performing operation: Unable to resolve hostname 'SERV.example.com'
Running the esxcfg-nas -l command lists the NAS volumes with the error:
ABCDEFG is /vol/ABCDEFG from 10.xx.xx.253 mounted unavailable ISO is /vol/ISO from 10.xx.xx.253 mounted unavailable Error performing operation: Unable to resolve hostname 'SERV.example.com'
Where SERV.example.com is an old NFS volume that was removed.
You are able to remove the NAS volume successfully without any errors, but you are not able to add the volumes again.