Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-15-2011, 05:36 PM   #1
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Rep: Reputation: 15
nfs manual mount clientside failure

ps -ef|grep portmap
root     26073 25801  0 15:31 pts/0    00:00:00 grep --colour=auto portmap
rpcinfo -p
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  57081  status
    100024    1   tcp  57282  status
    100005    1   udp  59019  mountd
    100005    1   tcp  55508  mountd
    100005    2   udp  60320  mountd
    100005    2   tcp  56712  mountd
    100005    3   udp  49019  mountd
    100005    3   tcp  55189  mountd
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    2   tcp   2049  nfs_acl
    100227    3   tcp   2049  nfs_acl
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100227    2   udp   2049  nfs_acl
    100227    3   udp   2049  nfs_acl
    100021    1   udp  44459  nlockmgr
    100021    3   udp  44459  nlockmgr
    100021    4   udp  44459  nlockmgr
    100021    1   tcp  41851  nlockmgr
    100021    3   tcp  41851  nlockmgr
    100021    4   tcp  41851  nlockmgr
showmount from client
    showmount -e
    Export list for
ping server from client
    --- ping statistics ---
    50 packets transmitted, 50 received, 0% packet loss, time 49000ms
    rtt min/avg/max/mdev = 0.111/0.184/0.882/0.138 ms
mounting nfs share on client
mount -v /home/hiawatha/Desktop/stuff/sabayon_tv-shows
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Jul 16 06:47:27 2011
mount.nfs: trying text-based options 'vers=4,addr=,clientaddr='
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting
var/log/messages from server
Jul 16 09:30:45 sabayon kernel: [35124.419768] nfsd: last server has exited, flushing export cache
Jul 16 09:30:45 sabayon rpc.mountd[10064]: Version 1.2.3 starting
Jul 16 09:30:45 sabayon kernel: [35124.547219] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jul 16 09:30:45 sabayon kernel: [35124.547252] NFSD: starting 90-second grace period
Jul 16 09:30:45 sabayon sm-notify[10081]: Version 1.2.3 starting
Jul 16 09:30:45 sabayon sm-notify[10081]: Already notifying clients; Exiting!
Jul 16 09:30:48 sabayon NetworkManager[7118]:    keyfile: updating /etc/NetworkManager/system-connections/Auto eth0
i had to edit this post since it was full of rambling nonsense. and hopefully it is better now

ive been trying to setup nfs share across my network. i have 3 boxes one mac which uses samba to share to the 2 sabayon linux boxes which does work. however the 2 linux boxes cant share with each other or the mac. i have tried differnt variants of the export file such as,, *, sasquatcheian etc... after any change i execute etc/init.d/nfs and exportfs -ra, i have rebooted both computers several times. i setup reserved ip's on my routers lan setup page for each computer. is my server is my client along with the mac.
i disabled the firewall on the server and the client has no firewall. to my avail everything i have thought to do i did and has all failed. any help would be greatly appreciated thank you.

Last edited by bloodyscript; 07-16-2011 at 01:50 PM.
Old 07-15-2011, 05:55 PM   #2
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Original Poster
Rep: Reputation: 15
the user id and group id on server and client both match as well. and in the mounting code i noticed the client ip changed
mount.nfs: trying text-based options 'vers=4,addr=,clientaddr='
thats the reason i reserved the ip's i noticed that and changed the ip to the appropriate one that the exports file states.

ok so i got it to mount on my sabayon client
[CODE]mount -v -o 'vers=3' /home/hiawatha/Desktop/stuff/sabayon_tv-shows
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Jul 16 15:39:21 2011
mount.nfs: trying text-based options 'vers=3,addr='
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying prog 100005 vers 3 prot UDP port 56967 on /home/hiawatha/Desktop/stuff/sabayon_tv-shows type nfs (rw,vers=3)

now the issue is on the mac when i do the command [CODE]sudo showmount -e it give a rpc authentication failure.[CODE] rpcinfo -p gives[CODE] rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused

should i now make a new thread on a mac forum?

Last edited by bloodyscript; 07-16-2011 at 03:31 PM. Reason: it wouldnt let me delete it so i put relevant info


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] EncFS failure (NFS export of a reverse encfs mount) Skaperen Linux - Software 2 04-29-2011 01:51 PM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
problems with mount NFS, with "RPC: port mapper failure" error alisa Linux - Networking 2 05-20-2008 02:52 AM
failure to mount NFS root kbl Linux - Kernel 3 02-10-2008 06:23 AM
Manual NFS Mount works / AutoFS will not! gerhardb Red Hat 0 03-21-2007 12:05 PM

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration