Dell VxRail: Unable to Unmount NFS Datastore
Summary: Failure to Unmount NFS Datastore from vSphere caused by the datastore ISO file being still mounted on the VMs' CD/DVD drive. It is solved by unmounting the datastore ISO file from all VMs associated from it. ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Failure to Unmount NFS Datastore from vSphere. From the datastores, there are VMs showing connected to the datastore although it is not used by any of them.
Cause
Although the NFS datastore is not used on any of the ESXi hosts or the VMs, the VMs might have the datastore attached but not connected.
Resolution
To resolve this issue, unmount the datastore ISO file from all VMs associated with it.
CAUTION: Ensure all VMs and their Hard disks (vmdk files) are detached from the NFS datastore to avoid potential DU as the VM could become inaccessible.
See the below screenshot showing the hard disk is attached to the vSAN datastore.
To list mounted NFS datastores use command:
esxcli storage nfs list
The NFS datastore iso file has to be removed from the VMs.
- Right click on each VM and select Edit Settings.
- Change "Datastore ISO File" to "Client Device" and save changes.
- Repeat this on all VMs that appear under the NFS datastore.
- Unmount the datastore from vSphere again if needed and it should work.
Additional Information
In order to list mounted NFS datastores, use command:
esxcli storage nfs list
In order to delete a datastore, use command:
esxcli storage nfs remove -v NFS_Datastore_Name
Affected Products
VxRailArticle Properties
Article Number: 000220625
Article Type: Solution
Last Modified: 09 Jan 2024
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.