Resolve ESXi NFS Mounting Issue

I changed my network configuration at home a while back and when I went to create a new Chef Server VM in ESXi I was unable to find my software datastore with my Ubuntu 16.04 ISO. I tried mounting my NFS volume through vCenter and it failed. I then went directly to the ESXi web client and it failed as well. I’ve seen inconsistencies in the GUI versus the CLI so I SSH into my server. I try mounting my NFS volume and it fails:

esxcli storage nfs add --host=<myhost> --share=<myshare> --volume-name=<myvolume>

Unable to add new NAS, volume with the label software already exists

As any other IT person would do I google the response and found this super helpful post:

It alerted me to the issue and resolution but needed to be updated for ESXi 6.5 instances. So, now you remove the hidden volume with this command:

esxcli storage nfs remove --volume-name=<myvolume>

Then you are free to remount and carry on about your business.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s