Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been having some trouble with my virtual machines the last few days. When i fire up vSphere the NFS datastores intermittently appear offline / inaccessible. The NFS shares are on my Windows Home Server (WHS2011).

I've had a look in the windows event logs and can't see any problems. All 3 datastores are on the same windows server and sometimes 1 or more appear online and the other(s) offline- so this suggests it's something at the ESXi end i think?

How can i proceed to troubleshoot the issue?



share|improve this question

closed as off-topic by HopelessN00b Feb 6 '15 at 10:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – HopelessN00b
If this question can be reworded to fit the rules in the help center, please edit the question.

Have you checked the logs on the ESXi host for any weirdness? Also, WHS and NFS shares = ewww. – growse Jan 2 '12 at 23:37
Is there somewhere I should look other than the Events tab in vSphere? There are lots of "Lost connection to server x mount point y mounted as z" and then corresponding connection restored messages. I think i'll be moving back to FreeNAS soon! – Lee Tickett Jan 2 '12 at 23:45
Gee Whiz comment: I haven't used FreeNAS specifically with ESXi. I use it other places with great results. I have used OpenFiler with ESXi without problems. – Keith Stokes Jan 2 '12 at 23:57
Try enabling SSH on the ESXi host, and then logging in and looking at some stuff in /var/log. Or, go to the host's physical console, and there's an option in there to view system logs. Or, in vCenter client, there should be a File->Export->System logs option that'll give you a tgz full of nice things. – growse Jan 3 '12 at 9:08
up vote 0 down vote accepted

I found quite a helpful article here:

The second step about using vmkping appears to've highlighted the issue as network related (on the ESXi server end):

/var/log # vmkping -c 20
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=128 time=0.393 ms
64 bytes from icmp_seq=1 ttl=128 time=0.287 ms
64 bytes from icmp_seq=2 ttl=128 time=0.474 ms
64 bytes from icmp_seq=3 ttl=128 time=0.431 ms
64 bytes from icmp_seq=4 ttl=128 time=0.410 ms
64 bytes from icmp_seq=5 ttl=128 time=0.416 ms
64 bytes from icmp_seq=6 ttl=128 time=0.380 ms
64 bytes from icmp_seq=7 ttl=128 time=0.488 ms
64 bytes from icmp_seq=11 ttl=128 time=0.443 ms
64 bytes from icmp_seq=16 ttl=128 time=0.308 ms
64 bytes from icmp_seq=17 ttl=128 time=0.350 ms
64 bytes from icmp_seq=18 ttl=128 time=0.291 ms

--- ping statistics ---
20 packets transmitted, 12 packets received, 40% packet loss
round-trip min/avg/max = 0.287/0.389/0.488 ms
/var/log # vmkping -c 20
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=64 time=0.295 ms
64 bytes from icmp_seq=1 ttl=64 time=0.314 ms
64 bytes from icmp_seq=16 ttl=64 time=0.311 ms

--- ping statistics ---
20 packets transmitted, 3 packets received, 85% packet loss
round-trip min/avg/max = 0.295/0.307/0.314 ms
share|improve this answer
Damn. Fixed the network issue and the datastores are still offline (even after a reboot of the ESXi server). – Lee Tickett Jan 3 '12 at 9:54
Migrated my virtual machines to FreeNAS and it has been a lot better but has dropped off a few times. I'm hoping to take delivery of new dual-port nics for the fileservers in the next few days so will see if this helps! – Lee Tickett Jan 3 '12 at 22:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.