ESXi

 View Only
  • 1.  Unable to Mount NFS Datastore

    Posted Oct 08, 2016 12:30 AM

    vCenter 6

    ESXi Host 6    Host1

    ESXi Host 6    Host2

    On ESXi Host Host1 I have a NFS Datastore  mounted with 12 TB raid 5.

    I want to share this Datastore with ESXi Host 2.

    Then setup vMotion  Place some on my VM's on this share Datastore so I can migrate them from Host1 to Host2 to balance the work load.

    From vSphere Web Client I try to Mount Datastore to Additional Hosts    I select Host 2 and I get this in the vmkernal.log file

    2016-10-07T19:30:23.047Z cpu2:33154)NMP: nmp_ResetDeviceLogThrottling:3349: last error status from device mpx.vmhba32:C0:T0:L0 repeated 2 times

    2016-10-07T19:30:57.899Z cpu3:34444 opID=3e83c685)World: 15516: VC opID bf371da2-ef19-424e-8d31-3ef38b9ca165-12040-ngc-3a-ba-c793 maps to vmkernel opID 3e83c685

    2016-10-07T19:30:57.899Z cpu3:34444 opID=3e83c685)NFS: 157: Command: (mount) Server: (10.2.8.13) IP: (10.2.8.13) Path: (/nfs/VM) Label: (MYNFS) Options: (None)

    2016-10-07T19:30:57.899Z cpu3:34444 opID=3e83c685)StorageApdHandler: 982: APD Handle 970e6d08-9d858fd9 Created with lock[StorageApd-0x430550e34f80]

    2016-10-07T19:30:57.906Z cpu3:34444 opID=3e83c685)StorageApdHandler: 1066: Freeing APD handle 0x430550e34f80 [970e6d08-9d858fd9]

    2016-10-07T19:30:57.906Z cpu3:34444 opID=3e83c685)StorageApdHandler: 1150: APD Handle freed!

    2016-10-07T19:30:57.906Z cpu3:34444 opID=3e83c685)NFS: 175: NFS mount 10.2.8.13:/nfs/VM failed: The NFS server does not support MOUNT version 3 over TCP.

    I this the correct method of doing this or should I dismount the datastore  on Host 1

    Or do a Create new Datastore method where you select the type NFS and then you can choose both hosts?

    If that is the case I can not unmounts from host 1 it says it is use still even tho the folder is empty.  well it has the folder still on it   .iorm.sf  which is empty

    Any ideas

    Thank you

    Tom



  • 2.  RE: Unable to Mount NFS Datastore

    Posted Oct 08, 2016 01:38 AM

    ‌Hey Tom,

    This look to be your issue:

    The NFS server does not support MOUNT version 3 over TCP.

    What sort of system/machine is the NFS server, and what versions of NFS is it presenting?

    What version of NFS was used to connect host 1 to the NFS share? Are you using the same version with host 2?

    I've come across this myself, but googling the above should get you started on the resolution.

    Cheers, Matt.



  • 3.  RE: Unable to Mount NFS Datastore

    Posted Oct 08, 2016 01:47 AM

    Matt

    Using Seagate Black Armor 440 NAS

    12 TB Raid 5

    I restarted all my services on ESXI host 1 and now was able to unmounts the MYNFS datastore.

    Now on vSphere Web client

    I tried to create new datastore I chose NFS 3.0  I get these two errors

    This is on Host1 where it was before

    NFS mount 10.2.8.13:/VM failed: The mount request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it.

    This is Host2

    NFS mount 10.2.8.13:/VM failed: The NFS server does not support MOUNT version 3 over TCP.

    When I first got the Seagate I was getting the same error I get on Host2 I got working by setting the networking with vmkernel

    I set Host2 to the same as Host 1

    Thoughts?

    Matt

    Update:

    I was able to get it mounted back on Host 1  I had the export incorrect  I was doing /VM   should have been this /nfs/VM    that works

    Now need to figure out HOST 2 error

    Thoughts



  • 4.  RE: Unable to Mount NFS Datastore

    Posted Oct 09, 2016 01:45 PM

    Have you try to restart the NFS services and export path correctly in the Host 2



  • 5.  RE: Unable to Mount NFS Datastore

    Posted Oct 09, 2016 02:46 PM

    Dee006

    No I have not tried that.

    I have been looking at that but I can not restart the NFS service on the ESXi Host

    Every time I try that I get this

    [root@TGCSESXi:~] service nfs restart

    -sh: service: not found

    So I found this in /usr/bin  services.sh

    So I ran this on my ESXI Host 2   ./services.sh restart

    That restarted all the services.

    Second

    The same export path was used on both hosts.

      /nfs/VM    this mounted on HOST1 no problem

    still getting this error

    NFS mount 10.2.8.13:/nfs/VM failed: The NFS server does not support MOUNT version 3 over TCP.

    Is it networking problem? what should I check



  • 6.  RE: Unable to Mount NFS Datastore
    Best Answer

    Posted Oct 09, 2016 03:15 PM

    Can you check DNS related stuff's and host allow in your NFS server and esxi firewall allow rules.



  • 7.  RE: Unable to Mount NFS Datastore

    Posted Oct 09, 2016 03:20 PM

    I figured it out.

    Found this article

    http://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/vmware-nfs-bestpractices-white-paper-en.pdf

    Had to modify the Firewall settings for the NFS client on the ESXi Host

    Also had to add the ip address of the ESXI Host in my NAS NFS setup.

    Now I have a Shared datastore between my two ESXI hosts Yeah

    No off to moving some of my VM's to the Shared Datastore So I can migrate them to the other ESXi Host

    Thank you all



  • 8.  RE: Unable to Mount NFS Datastore

    Posted Oct 09, 2016 03:27 PM

    Glad to hear that the issue got resolved.