• VMware

    Learn about VMware virtualization for its products like vsphere ESX and ESXi, vCenter Server, VMware View, VMware P2V and many more

  • Linux

    Step by step configuration tutorials for many of the Linux services like DNS, DHCP, FTP, Samba4 etc including many tips and tricks in Red Hat Linux.

  • Database

    Learn installation and configuration of databases like Oracle, My SQL, Postgresql, etc including many other related tutorials in Linux.

  • How to fix "mountd: refused mount request: unmatched host"


    On Client (
    # mount /mnt
    mount.nfs: access denied by server while mounting

    On NFS Server (
    # tail -n 1 /var/log/messages
    Sep 13 00:00:32 cc01-nds-ins rpc.mountd[29613]: refused mount request from for /export/home/deepak (/export/home/deepak): unmatched host


    This error is occurring because the NFS server is unaware of the client network attempting to access the NFS shares.

    As for my case below are the list of directories which are shared using NFS server
    # exportfs -v
    /export/home/deepak     ,wdelay,root_squash,no_subtree_check)
    /export/home/rahul      ,wdelay,no_root_squash,no_subtree_check)
    /root/upgrade/scripts   ,wdelay,no_root_squash,no_subtree_check)

    As you see the directories are shared for subnet while my client server IP is in a different subnet

    So I need to add this subnet in my exports share

    On NFS Server (

    Add a new line in /etc/exports file as shown below
    # vi /etc/exports

    Refresh the share
    # exportfs -ra
    List the updated share information
    # exportfs -v
    /export/home/deepak    ,wdelay,root_squash,no_subtree_check)
    /export/home/deepak    ,wdelay,root_squash,no_subtree_check)
    /export/home/rahul     ,wdelay,no_root_squash,no_subtree_check)
    /ISS/export-upgrade    ,wdelay,no_root_squash,no_subtree_check)
    Let us re-attempt to access the NFS share from our client

    On Client (

    # mount -t nfs /mnt
    # mount | grep export on /mnt type nfs (rw,addr=

    I hope this tutorial was helpful.

    Follow the below links for more tutorials:

    Deepak Prasad

    Deepak Prasad is a techie and an author who is still trying to survive in this IT generation with very little knowledge he has on Linux/Unix, VMware, SAN Storage, Automation, networking etc

    You can follow him on Facebook or Google+

    Do you also have something to share here?

    Become an author and be a part of our GoLinuxHub Team, Click here for more information
    How to fix "mountd: refused mount request: unmatched host"  How to fix "mountd: refused mount request: unmatched host" Reviewed by Deepak Prasad on Tuesday, September 13, 2016 Rating: 5

    No comments:

    Powered by Blogger.