VMware vSphere

 View Only
  • 1.  NFS error "request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it."

    Posted Feb 02, 2015 06:17 PM

    I am new to ESXI but what ive done so far and what I know it can do its quality but I looking for some advice. Im using esxi and freenas as VM but i get a NFS error of "request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it." It may have to do with the routing setup.  Could some wise soul shed some light.

    This is the troubleshooting :

    esxcfg-vmknic -l

    INTERFACE:vmk0 : Management : 192.168.0.26 : 255.255.255.0 : MTU 1500 :  : 65535 : true static

    INTERFACE:vmk1 : VMkernel      : 192.168.0.28 : 255.255.255.0 : MTU 900 :  : 65535 : true static

    esxcfg-route -l

    192.168.0.0 : 255.255.255.0 : Localsubnet : vmk0

    default                : 0.0.0.0 :    192.168.0.1    vmk0

    My components are

    CPU AMD fx8320

    MOBO m5a75l m usb3 - which supports ZFS file system

    H/D 4 x 3tb WD green

    SSD 2 x 120gb

    Thanks in advance



  • 2.  RE: NFS error "request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it."

    Posted Feb 04, 2015 08:28 AM

    Hi there, I have two questions:

    • Did you check that you have the exports set up for your Storage IP Address/Subnet? I.e. the export should allow root access & allow read/write on 192.168.0.0/24
    • If I see correctly your Storage vmk1 interface has MTU set to 900 - is that a typo? I think you wanted 9000 there.


  • 3.  RE: NFS error "request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it."

    Posted Feb 04, 2015 08:42 AM

    Thanks for the response.

    That is a typo!

    What I had to do was add storage in esxi as vmfs so the disks can be seen in freenas.

    Then create a zfs volumes and create a zfs mount point within freenas.

    Back to esxi to create a NFS storage and hey presto it works.

    I'm seeing both vmfs and NFS storage in esxi? Is this the correct way to do this? It's the only way that worked that I could find.

    I then want to create a mirrored stripe setup on the freenas. Would I have issues?



  • 4.  RE: NFS error "request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it."

    Posted Feb 04, 2015 09:05 AM

    I take it you are having a nested environment with bare metal ESXi, right? As for the storage - you need to present a local VMFS volume (if you have no other choice) in order to set up a server that is going to present rest of the shared storage - provided that you are not running the type-2 hypervisor (ESXi in VMware Workstation for example) where it could be solved with just one workstation VM running the shared storage software of your choice (at least that's what I always did).

    Just beware that with this setup you have a single point of failure and that will be your freenas server and the VMFS datastore / disk array it lies on.

    As for the mirrored stripe setup - I have 0 experience with freenas (Well, I installed it once but that is all) so that is perhaps for the rest of people here to figure, but you can certainly try it out and see if it works :smileyhappy:

    Good luck!



  • 5.  RE: NFS error "request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it."

    Posted Feb 04, 2015 05:03 PM

    Cheers for the info! Its been a help.

    Just to clear up your point of single failure. Even with a raid 10 zfs freenas equivalent setup I will have a single point of failure with esxi viewing this a vmfs storage?

    This would defeat the objective as I need to this incase of hard drive failure.



  • 6.  RE: NFS error "request was denied by the NFS server. Check that the export exists and that the client is permitted to mount it."

    Posted Feb 05, 2015 09:26 AM

    Hi there,

    since the VMFS storage is the base for your freenas machine, that one is going to be the single point of failure. The best you could do would be a separate physical box with freenas software, two NICs, etc... but I guess that would be a budget overkill. If your VMFS storage is redundant however then there is much less to worry about :smileyhappy: