VMware Cloud Community
pdxLance
Contributor
Contributor

Failed NFS Datastore gone but not forgotten

I am using ESXi 5.0.

We had a hardware failure on a NAS that was being used for an NFS share. I was able to remove the share from the vSphere GUI however the storage name is still being referenced by something.

When I try to add a new NFS share to replace the failed one I get the error message {insert message}.

When I enter the command esxcli storage nfs list i get the message "Unable to resolve hostname '<the hostname of my failed nfs share>'"

When I enter the command esxcli storage nfs remove -v <the hostname of my failed nfs share> i get the message Unknown filesystem, cannot remove.

Is there a configuration file that I can edit to remove the reference to the failed hardware?

Thanks,

Lance

Tags (1)
Reply
0 Kudos
3 Replies
pdxLance
Contributor
Contributor

Missed the first message when I try to create a new NFS datastore. The error:

Call "HostDatastoreSystem.CreateNasDatastore" for object "ha-datastoresystem" on ESXi "10.1.1.201" failed.

Operation failed, diagnostics report: Unable to resolve hostname '<my failed hostname>'

Reply
0 Kudos
Nick_Andreev
Expert
Expert

Did you try to just reboot the host? Could be some locks not being released somewhere due to the failure.

---
If you found my answers helpful please consider marking them as helpful or correct.
VCIX-DCV, VCIX-NV, VCAP-CMA | vExpert '16, '17, '18
Blog: http://niktips.wordpress.com | Twitter: @nick_andreev_au
Reply
0 Kudos
virtualg_uk
Leadership
Leadership

Check the summary tab of all VMs and ensure none are using this datastore.

If none are using it, then I would restart the management agents on the host

SSH to the host then run

services.sh restart

Try again, if still a problem, then I would reboot the host.


Graham | User Moderator | https://virtualg.uk
Reply
0 Kudos