VMware Cloud Community
asrarguna
Enthusiast
Enthusiast
Jump to solution

NFS Datastore Inactive - Greyed Out

Hi All,

I have a datastore which is showing as inactive (greyed out) for one of my esxi hosts.

I have 1 vcenter server, 2 clusters: Cluster 1 and Cluster 2. Cluster 1 contains esxi4.1 hosts nd cluster 2 contains newly created esxi 5.1 hosts. The storage is Netapp and is managed by NetApp VSC plugin.

After adding the new esxi 5.1 hosts to new cluster, I used netapp VSC plugin to mount the datastores. We have 4 datastores. Everything worked fine except for 1 esxi 5.1 hosts. It shows datastores but 1 datastore is showing as inactive and is greyed out (Please check attachment).

The datastore is fine on remaining other esxi 4.1 and 5.1 hosts. Only 1 hosts affected.

I would really appreciate any suggestion regarding this issue.

Thanks.

Kind Regards - AG.

0 Kudos
1 Solution

Accepted Solutions
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,

you have to run these command only from affected ESXi host and it will remove only  datastore from affected host. It will not impact any other ESX host.

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.

View solution in original post

0 Kudos
5 Replies
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,

Here is KB article which has intruction  to remove inaccessible datastore and remount it

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1005057&sl...

Make a note of the NFS datastore in question and run this command to delete the NFS mount:

# esxcfg-nas -d <NFS_Datastore_Name>

For example:

# esxcfg-nas -d bf_Ubuntu_nfs-2                        
NAS volume bf_Ubuntu_nfs-2 deleted.

Note: This operation does not delete the information on the share, it only unmounts the share from the host. If the NFS datastore is being used by either a virtual machine or a third party script, you may receive this error:

To add the datastore:
  1. Run this command to mount the NFS datastore:

    # esxcfg-nas -a -o <NFS_IP> -s <Share_mount_point_on_the_NFS> <DatastoreName>

    For example:

    # esxcfg-nas -a -o 10.21.68.149 -s /nfs2 bf_Ubuntu_nfs-2

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
0 Kudos
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,

you have to run all the below command  by taking ssh connection to ESX host.

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
0 Kudos
asrarguna
Enthusiast
Enthusiast
Jump to solution

Hi Mohammed,

Thank You for replying. Will the above command only unmount the datastore from the affected server only? Will there be any affect on the data? The datastore is mounted on other hosts as well so will it let me unmount using this command?

Thanks again for your help.

0 Kudos
memaad
Virtuoso
Virtuoso
Jump to solution

Hi,

you have to run these command only from affected ESXi host and it will remove only  datastore from affected host. It will not impact any other ESX host.

Regards

Mohammed

Mohammed | Mark it as helpful or correct if my suggestion is useful.
0 Kudos
asrarguna
Enthusiast
Enthusiast
Jump to solution

Dear Mohamed,

Thanks for your help. U the Man.

0 Kudos