vSphere: Removing An Inaccessible NFS Datastore


Ever came across the message: 

Step 1

Despite the fact, it seems to be mounted you can’t access the datastore. Here’s how you quickly can resolve this issue:

Enable it through the WebSphere Client: <target host> – Manage – Settings – Security Profile – Services; select ssh and Edit… to enable it

Step0

Log into ESXi via your terminal application using the ssh command ssh -l root <target host>

Step2

Run the  command  esxcli storage filesystem list (and optionally  esxcfg-nas -l afterwards)

Step1

Run the  command   esxcli storage filesystem unmount -u 62a6d60c-dc04dc3c (you need to copy the UUID of NFS Datastore from file system list) 

Step2

Change to the directory  cd /vmfs/volumes/ (doesn’t work directly when working with the full path in the command below – at least not in my case)

Run the  command   esxcli storage nfs remove -v NFS\ Datastore 

Step3

Remount your NFS Datastore using the vSphere Web Client and you’re done.

Have fun!

vStorage APIs for Array Integration – NFS


If you’re an EMC customer for our mid-tier platforms and you are using an EMC VNX solution to server your vSphere environment, this blog post is for you! I will show you how you install the VAAI for NFS Host Extension and how you can leverage some of its features.

The feature set is as follows:

  • NFS File Cloning
  • NFS Extended Stats
  • NFS Reserve Space

Continue reading “vStorage APIs for Array Integration – NFS”