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 05-29-2006, 10:13 PM   #1
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Rep: Reputation: 30
nfs version older than kernel


Quote:
May 30 04:05:23 www kernel: nfs warning: mount version older than kernel
May 30 04:05:23 www kernel: portmap: server localhost not responding, timed out
May 30 04:05:23 www kernel: portmap: server localhost not responding, timed out
May 30 04:05:23 www kernel: portmap: server localhost not responding, timed out
... what's this ????
Debian sarge 3.1 stable 2.6 ...
pardon ! mount version older than kernel ...
 
Old 05-30-2006, 03:03 PM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
what version of mount do you have (mount --version)? maybe it needs upgrading from whatever comes with sarge.
 
Old 05-31-2006, 05:11 AM   #3
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
Quote:
root@www:/var/www/xoops/html/modules# mount -V
mount: mount-2.12p
I'm trying to mount a nfs partion !
Offcourse it's all upgraded ... strange !!!!

Last edited by gabsik; 05-31-2006 at 05:25 AM.
 
Old 05-31-2006, 05:49 AM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
I had this error too, NFS volumes still mounted. There is something else wrong with your setup. What does it mean "server localhost not responding"? Are you trying to mount a NFS volume over loopback or what?
 
Old 05-31-2006, 08:25 AM   #5
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
is the portmap even running? post ps ax for both machines.
 
Old 05-31-2006, 10:09 AM   #6
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
this is the /etc/fstab :
Quote:
192.168.1.6:/media/usb0 /nfs-192.168.1.6 nfs rw,user,auto,rsize=8192,wsize=8192 0 0
Portmap is not installed on the client this is the ps on the server:
Quote:
daemon 2290 0.0 0.2 1612 560 ? Ss May29 0:00 /sbin/portmap
When i mount the nfs partition i get this:
Quote:
root@www:~# mount /nfs-192.168.1.6/
mount: 192.168.1.6:/media/usb0 already mounted or /nfs-192.168.1.6 busy
mount: according to mtab, 192.168.1.6:/media/usb0 is already mounted on /nfs-192.168.1.6
root@www:~# ls /nfs-192.168.1.6/
root@www:~#

Last edited by gabsik; 05-31-2006 at 10:12 AM.
 
Old 05-31-2006, 10:21 AM   #7
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
Quote:
Originally Posted by gabsik
this is the /etc/fstab :
Portmap is not installed on the client this is the ps on the server:
that's at least part of the problem, then. the portmapper needs to be running on the client, too.

http://nfs.sourceforge.net/nfs-howto/client.html

try again, and make sure the other stuff is started, too -- lockd, statd, etc. then get back to us.
 
Old 05-31-2006, 10:43 AM   #8
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
Quote:
root@www:~# rpcinfo -p 192.168.1.6
programma vers proto porta
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32771 nlockmgr
100021 3 udp 32771 nlockmgr
100021 4 udp 32771 nlockmgr
100021 1 tcp 32768 nlockmgr
100021 3 tcp 32768 nlockmgr
100021 4 tcp 32768 nlockmgr
100005 1 udp 762 mountd
100005 1 tcp 765 mountd
100005 2 udp 762 mountd
100005 2 tcp 765 mountd
100005 3 udp 762 mountd
100005 3 tcp 765 mountd
100024 1 udp 913 status
100024 1 tcp 916 status
I will install portmap on the client and i will tell you , thanks !
 
Old 05-31-2006, 10:45 AM   #9
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
This is afther i have installed portmap on the client:
Quote:
root@www:~# mount /nfs-192.168.1.6
root@www:~# ls /nfs-192.168.1.6/
root@www:~#
It shouldn't be empty !

Last edited by gabsik; 05-31-2006 at 10:47 AM.
 
Old 05-31-2006, 11:10 AM   #10
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
what are you trying to mount? say the directory is /nfs and you want to mount it on /mnt/remote. it would be:

# mount 192.168.1.6:/nfs /mnt/remote
 
Old 05-31-2006, 11:14 AM   #11
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
And don't forget you need to mount the volume you are sharing on server before exporting it.
 
Old 05-31-2006, 11:17 AM   #12
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
that's right, and we're also assuming you've made your /etc/exports file, ran exports -ra if necessary, have host.allow and .deny set up, etc.
 
Old 05-31-2006, 01:26 PM   #13
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
Still nothing guys it was working fairly well before ... all of a sudden ...
Quote:
root@www:~# mount /nfs-192.168.1.6/
mount: 192.168.1.6:/media/usb0 already mounted or /nfs-192.168.1.6 busy
mount: according to mtab, 192.168.1.6:/media/usb0 is already mounted on /nfs-192.168.1.6
root@www:~# umount /nfs-192.168.1.6/
root@www:~# mount /nfs-192.168.1.6/
root@www:~# ls /nfs-192.168.1.6/
root@www:~#
This is my /etc/fstab:
Quote:
192.168.1.6:/media/usb0 /nfs-192.168.1.6 nfs rw,user,auto,rsize=8192,wsize=8192 0 0

Last edited by gabsik; 05-31-2006 at 01:28 PM.
 
Old 05-31-2006, 01:44 PM   #14
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 546

Original Poster
Rep: Reputation: 30
.... Hm !!! It is a usb hard-disk the one mounted on /media/usb0(the exported dir) and it was unplugged that is why the empty directory .I have resolved the mount older than kernel thing ... sorry and thanks !!!
 
  


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
using older version of g++ karan101 Programming 3 03-08-2006 03:52 PM
nfs warning: mount version older than kernel Yalla-One Slackware 2 09-21-2005 04:00 PM
nfs warning: mount version older than kernel dgermann Linux - Networking 4 07-04-2005 05:30 PM
kernel build problems -how to install older gcc version? kpachopoulos Fedora 3 07-04-2005 09:56 AM
Latest NFS version for Redhat 7.3 using 2.4.24 Kernel? mattingg Linux - Networking 0 02-17-2004 11:55 AM


All times are GMT -5. The time now is 04:30 PM.

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