• 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.

  • Did you find what you needed?
    Show your support and gratitude by making a contribution!!
    Life always offers you a second chance ... Its called tomorrow !!!

    Tuesday, September 13, 2016

    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:


    Post a Comment