Results 1 to 6 of 6

Thread: NFS server mount.nfs: access denied by server while mounting x.y.z.w:/shared/folder

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Post NFS server mount.nfs: access denied by server while mounting x.y.z.w:/shared/folder

    Hi Team,
    I have made (Centos) NFS server.
    but at client side when i entered mount 192.168.57.123:/data/notes/ /linuxnfs/ command i am facing below error. please tell me where i have to do changes


    root@premnath-desktop:~# mount 192.168.57.123:/data/notes/ /linuxnfs/
    mount.nfs: access denied by server while mounting 192.168.57.123:/data/notes/

    my /etc/exports on server(192.168.57.123) is like
    /data/notes *(rw)

  2. #2
    Senior Member
    Join Date
    Jun 2007
    Location
    Hyderabad, AP, India
    Posts
    805
    Thanks
    44
    Thanked 55 Times in 48 Posts
    Rep Power
    11

    Default

    Did you started portmap and nfs services?
    Thanks,
    Surendra Kumar Anne
    Linux: Fast, friendly, flexible and .... free!
    Support Open source.
    http://www.linuxnix.com

  3. #3
    Junior Member
    Join Date
    Oct 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    yes, i have started both services on server and also client site.

  4. #4
    Junior Member
    Join Date
    Apr 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Here's a line from my fstab file. Maybe it will help you.

    10.1.0.5:/media/storage/video /media/video nfs rsize=8192,wsize=8192,nosuid,soft 0 0

  5. #5
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,374
    Thanks
    17
    Thanked 754 Times in 496 Posts
    Rep Power
    10

    Default

    Quote Originally Posted by Prem Bangar View Post
    Hi Team,
    I have made (Centos) NFS server.
    but at client side when i entered mount 192.168.57.123:/data/notes/ /linuxnfs/ command i am facing below error. please tell me where i have to do changes


    root@premnath-desktop:~# mount 192.168.57.123:/data/notes/ /linuxnfs/
    mount.nfs: access denied by server while mounting 192.168.57.123:/data/notes/

    my /etc/exports on server(192.168.57.123) is like
    /data/notes *(rw)
    Yes, you need to start portmap and nfslock services on the client too. What is the output from the following
    Code:
    showmount -e 192.168.57.123
    Make sure firewall is not blocking connection and port. And finally run the mount command as follows to get more info:
    Code:
    mount -v 192.168.57.123:/data/notes/ /linuxnfs/
    Also, check NFS server log files in /var/log/ directory.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  6. #6
    Junior Member
    Join Date
    Dec 2012
    Location
    San Juan, Puerto Rico
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Beware if you have a host with 2 NICs.

    By using the -v option of mount I discovered that the host was trying to contact the nfs server by using the IP address of one of the NICs that was not included in /etc/exports. Include both NICs in /etc/exports and try again.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 8th June 2011, 05:44 PM
  2. How to setup a shared folder on Ubuntu server
    By enochalbert in forum Ubuntu / Debian
    Replies: 4
    Last Post: 20th May 2010, 10:41 AM
  3. How to create a shared folder on centos 5.3
    By erandarg in forum CentOS / RHEL / Fedora
    Replies: 1
    Last Post: 7th November 2009, 11:36 AM
  4. Mounting a file server with data from a sql database.
    By sempinsenzai in forum File Servers
    Replies: 0
    Last Post: 17th December 2008, 05:20 AM
  5. PHP Change TZ Timezone on shared Linux server
    By cmebd in forum CentOS / RHEL / Fedora
    Replies: 1
    Last Post: 27th May 2008, 09:07 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41