LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-27-2009, 11:19 AM   #1
zlin50
Member
 
Registered: Jan 2006
Location: Munich
Distribution: Slackware-15.0
Posts: 43

Rep: Reputation: 15
nfs mount problem


Hi,

Problem: I'm not able to mount a remote disk on "nas01" to "arthur".
Problem must be on arthur, because I can mount nas01 from a third computer (marvin)

/etc/fstab reads
...
nas01:/Qmultimedia /nas/multimedia nfs noauto,user,rw,hard,intr 0 0
...

ARTHUR$ mount /nas/multimedia/ on arthur answers
mount.nfs: rpc.statd is not running but is required for remote locking.

I found out, that running
ARTHUR$ /etc/rc.d/rc.rpc start
results in the following error:
rpc.statd[6532]: unable to register (statd, 1, udp).

and "rpcinfo -p" says:
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection timed out

But portmapper is running!
ARTHUR$ ps axu | grep portmap
bin 30092 0.0 0.0 1896 412 ? Ss 18:03 0:00 /sbin/rpc.portmap

No problem asking the remote computers nas01 and marvin:
ARTHUR$ rpcinfo -p nas01
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 1026 nlockmgr
100021 3 udp 1026 nlockmgr
100021 4 udp 1026 nlockmgr
100024 1 udp 682 status
100024 1 tcp 685 status
...

ARTHUR$ rpcinfo -p marvin
program vers proto port
100000 2 tcp 111 portmapper
100024 1 udp 56126 status
100024 1 tcp 52366 status
100021 1 tcp 60540 nlockmgr
100021 3 tcp 60540 nlockmgr
100021 4 tcp 60540 nlockmgr


If I check arthur from marvin:
MARVIN$ rpcinfo -p arthur
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper

Now, there is an answer from arthur, but only portmapper, without nlockmgr and status.


What is happening on arthur??
Any help appreciated!
zlin50

---------------------------------------
Marked as "solved" ...
... but only cured, actually... :-)

1st change: I switched off ipv6:
ARTHUR$ cat >> /etc/modprobe.d/blacklist.conf <<EOD
blacklist ipv6
EOD

I'm using wicd for my wlan. Documentation said: do not "use" rc.inet[12] but leave them untouched. So I did "chmod -x /etc/rc.d/rc.inet[12]"
2nd change: re-activate
ARTHUR$ chmod +x /etc/rc.d/rc.inet[12]

ARTHUR$ reboot

ARTHUR$ rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 48785 status
100024 1 tcp 32903 status

working.
But still interested in the explanation.

Last edited by zlin50; 12-28-2009 at 03:23 PM. Reason: additional informations, solved
 
Old 12-27-2009, 11:43 AM   #2
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
retry after rastarting all of the services,
first stop nfs server, then rc.rpc

run rc.rpc, run nfs server, and retry
 
Old 12-27-2009, 12:09 PM   #3
zlin50
Member
 
Registered: Jan 2006
Location: Munich
Distribution: Slackware-15.0
Posts: 43

Original Poster
Rep: Reputation: 15
Hi ozanbaba,

nfsd is active on nas01, only. The other computer ("arthur") is a client.
Rebooting arthur and running /etc/rc.d/rc.rpc gives
Starting RPC portmapper: /sbin/rpc.portmap
Starting RPC NSM (Network Status Monitor): /sbin/rpc.statd

$ ps axu | grep portmap
bin 2692 0.0 0.0 1896 412 ? Ss 19:00 0:00 /sbin/rpc.portmap
$ ps axu | grep statd
$ tail /usr/adm/syslog
...
Dec 27 19:03:09 arthur rpc.statd[2696]: unable to register (statd, 1, udp).
...

same story as described above.

additional informations:
Running slackware-13.0 on arthur.
On my second computer (slackware-12.1) nfs-mount works fine, so the problem is on arthur
 
Old 12-27-2009, 12:29 PM   #4
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
incompatiblity between two systems?. google suggest a bug in the portmap or NSM.
 
Old 12-27-2009, 12:52 PM   #5
zlin50
Member
 
Registered: Jan 2006
Location: Munich
Distribution: Slackware-15.0
Posts: 43

Original Poster
Rep: Reputation: 15
portmap-6.0 both in slackware-12.1 and slackware-13.0

I'm pretty sure, I made the mistake - but don't know, where ...
 
  


Reply



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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
[SOLVED] mount.nfs: mount to NFS server 'rpcbind' failed w1k0 Slackware 4 03-30-2010 03:45 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:59 AM.

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