LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-03-2005, 09:05 PM   #1
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 8.04.1 desk; Red Hat 9.0 server
Posts: 296

Rep: Reputation: 30
nfs warning: mount version older than kernel


Hi--

I am getting these messages in /var/log/messages:
Code:
nfs warning: mount version older than kernel
Jul  2 12:59:33 bak kernel: portmap: server localhost not responding, timed out
Jul  2 12:59:33 bak kernel: RPC: failed to contact portmap (errno -5).
Jul  2 13:00:08 bak kernel: portmap: server localhost not responding, timed out
Jul  2 13:00:08 bak kernel: RPC: failed to contact portmap (errno -5).
Jul  2 13:00:08 bak kernel: lockd_up: makesock failed, error=-5
Jul  2 13:00:43 bak kernel: portmap: server localhost not responding, timed out
Jul  2 13:00:43 bak kernel: RPC: failed to contact portmap (errno -5).
Jul  2 13:02:35 bak kernel: nfs warning: mount version older than kernel
Jul  2 13:02:35 bak kernel: lockd_up: no pid, 2 users??
The nfs system does seem to mount--this is what I get when I type mount:
Code:
192.168.0.200:/sys2 on /sam/sys2 type nfs (rw,addr=192.168.0.200)
I have checked using rpcinfo -p and have nfs ver 2 & 3 running udp on the server.

I have run apt-get -s install mount, nfs-utils, on both the server and the client and both report I already have the latest version.

Server is running Red Hat 9.0; client is running Ubuntu 5.04.

I have installed am-utils on the client machine, but it reports it did not start. As a neophyte, I am not sure what to do with that, or if that is even a package I should be trying to use/install.

So this leaves me with 2 questions:

1. Do you have any ideas how to fix this error so it does not recur?

2. Once I get this solved, can I just put lines for this nfs system in fstab? How? Just copy over the info above from mount?

Thanks! You folks here have been life-savers for me!
 
Old 07-03-2005, 09:46 PM   #2
sind
Member
 
Registered: Jun 2005
Posts: 75

Rep: Reputation: 15
I have received these messages before, while tinkering with startup scripts. AFAIK, "mount version older than kernel" means that the version of mount that you are using was not compiled against the source code for the kernel that you are using. It never seemed to cause any trouble for me.

The other messages popped up while mount hung for a while. It usually narrowed down to either the portmap daemon not running, or the loopback adapter being down.

Depending on what distro you are using, you should be able to start portmap by running:

# /etc/rc.d/rc.portmap start

or

# /etc/rc.d/init.d/portmap start

You can check to see if the loopback adapter is up by running:

# ifconfig

It should show an entry something like this:
Code:
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
~sind
 
Old 07-03-2005, 10:36 PM   #3
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 8.04.1 desk; Red Hat 9.0 server
Posts: 296

Original Poster
Rep: Reputation: 30
sind--

Thanks!

Doing portmap start on the server resulted in an [ OK ] response, so that sounds good, right?

/var/log/messages says:
Code:
nfs warning: mount version older than kernel
Jul  3 22:29:34 client kernel: lockd_up: no pid, 6 users??
Those sound ominous, yes?

lo is up in both client and server.

What next, O Guru?
 
Old 07-04-2005, 12:40 AM   #4
sind
Member
 
Registered: Jun 2005
Posts: 75

Rep: Reputation: 15
Quote:
Doing portmap start on the server resulted in an [ OK ] response, so that sounds good, right?
Yes, that sounds good. It looks like it's squashed most of the errors, too.

Quote:
Code:
Jul  3 22:29:34 client kernel: lockd_up: no pid, 6 users??
I'm not too sure about that one. It might go away after any stuck mount processes have given up or after a reboot.

Do you have portmap running on the client machine?

You might be able to make "mount version older than kernel" disappear by building a new version of mount from source code. It's part of the util-linux package, available here:

http://www.kernel.org/pub/linux/utils/util-linux/

Unless you've built software from source before, it is probably best to put up with the warning message.

To put an entry into fstab, you could use something like:

Code:
192.168.0.200:/sys2/sam    /sys2    nfs    defaults    0    0
$ man mount

and

$ man fstab

should give you some info about the different fields in fstab.

~sind

Last edited by sind; 07-04-2005 at 12:44 AM.
 
Old 07-04-2005, 04:30 PM   #5
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 8.04.1 desk; Red Hat 9.0 server
Posts: 296

Original Poster
Rep: Reputation: 30
sind--

Thanks very much!

You said maybe I should just put up with the error messages if I have not built from source before; I have not, and so I will do as you suggest!

Yes, portmap does seem to be running on the client machine, from doing ps -aux |grep portmap.

OK, I have done an entry in fstab that looks pretty much like yours, and it is working!

Thanks, sind! You are great to help so much!
 
  


Reply


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
nfs warning: mount version older than kernel Yalla-One Slackware 2 09-21-2005 03:00 PM
kernel build problems -how to install older gcc version? kpachopoulos Fedora 3 07-04-2005 08:56 AM
Gaim : Warning :: "Older version present" koodoo Linux - Newbie 1 06-08-2005 11:39 PM
WARNING: DNS record is older than 3 hours drake_101 Linux - Newbie 0 01-05-2005 09:57 PM
Latest NFS version for Redhat 7.3 using 2.4.24 Kernel? mattingg Linux - Networking 0 02-17-2004 10:55 AM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration