vCenter

 View Only
  • 1.  NFS Datastore inaccessible

    Posted Jul 11, 2020 02:05 PM

    Vcenter 6.7

    ESXi hosts 6.7

    Cluster

    HA mode

    Lost a NFS datastore

    On My VM's the datastore shows as inaccessible.   These VMs have no files on this datastore matter of fact the datastore is empty no files at all.

    I tried to unmount the datastore but it fails with in use errors

    I shutdown the VMS that had this inaccessible datastore made no difference.

    How do IU get ride of this datastore?



  • 2.  RE: NFS Datastore inaccessible

    Posted Jul 11, 2020 02:10 PM

    Since there are no error details.

    Here are two KB's that might help you. If you haven't tried them already.

    VMware Knowledge Base

    VMware Knowledge Base



  • 3.  RE: NFS Datastore inaccessible

    Posted Jul 11, 2020 02:26 PM

    esxcli storage nfs list

    Volume Name  Host       Share           Accessible  Mounted  Read-Only   isPE  Hardware Acceleration

    -----------  ---------  --------------  ----------  -------  ---------  -----  ---------------------

    NFS06        10.2.8.50  /volume1/NFS06        true     true      false  false  Not Supported

    NFS05        10.2.8.47  /volume1/NFS05        true     true      false  false  Not Supported

    NFS04        10.2.8.46  /volume1/NFS04        true     true      false  false  Not Supported

    NFS02        10.2.8.51  /volume1/NFS02        true     true      false  false  Not Supported

    NFS03        10.2.8.48  /volume1/NFS03        true     true      false  false  Not Supported

    NFS01        10.2.8.13  /volume1/NFS01       false     true      false  false  Unknown

    Need to remove the last one in the list



  • 4.  RE: NFS Datastore inaccessible

    Posted Jul 11, 2020 02:30 PM

    What error are you receiving when you try to remove it?

    Try this KB - VMware Knowledge Base



  • 5.  RE: NFS Datastore inaccessible

    Posted Jul 11, 2020 02:47 PM

    I was able to remove the datastore from each esxi host using this

    esxcli storage nfs remove -v NFS01

    Now all ESXI hosts do not have that NFS datastore.

    My problem is it still is in the Datastore cluster

    When I go to datastore Clusters and select my datastore cluster I still see NFS01

    How to I remove it from the datastore cluster..????

    when I select unmount  datastore I get an empty list which means the esxi hosts do not have the datastore any longer.



  • 6.  RE: NFS Datastore inaccessible

    Posted Jul 11, 2020 06:01 PM

    Guys

    I found that several VM's had a cdrom mounted which was pointing to the datastore

    After I changed the cdrom to host client all the the NFS01 datastore disappeared from them

    I only have two VM's that show this datastore still

    Once I can figure out how to remove them from the VM then I will be able to move forward with getting my VMs but online.

    Any ideas on how to remove the datastore at the VM level?

    Thanks

    Tom



  • 7.  RE: NFS Datastore inaccessible

    Broadcom Employee
    Posted Jul 11, 2020 06:50 PM

    What part of the VM files could possibly be on that datastore?

    Seems like you’ve sorted ISOs, but do those VMs have snapshots?



  • 8.  RE: NFS Datastore inaccessible

    Posted Jul 11, 2020 07:12 PM

    Scott

    That datastore was corrupted had to rebuild the volume on the nas device which wiped all files.  The Hard drives where fine.  Just lost the Volume

    I had to use the replica VM from my Veeam B&R to bring up the VMs' The replicas are stored on the internal drives of the ESXI host as a safety feature.  Good thing.

    They have replicas from when the get backed up and those files are on the internal disks

    Those two VMs' are they only ones that have that datastore

    Do not know where else to look 



  • 9.  RE: NFS Datastore inaccessible

    Posted Jul 11, 2020 08:18 PM

    could be a snapshot and an storage vmotion afterwards ?

    inspect the location of all vmdk of these vm and the location of the vmx-file



  • 10.  RE: NFS Datastore inaccessible
    Best Answer

    Posted Jul 12, 2020 01:52 AM

    Thanks Guys

    All good now.

    Many VMs had cdrom mounted to iso files that were on the bad datastore

    Once changed the cdrom to host device the inaccessible datastore was not longer there.

    The two VMS that still had NFS01

    Once I added the updated NFS01 back and migrated those two vm's to the NFS01 datastore I only had one datastore on the VMS

    This has been resolved.

    Thanks again