Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
05-29-2006, 09:13 PM
|
#1
|
|
Member
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532
Rep:
|
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 ...
|
|
|
|
05-30-2006, 02:03 PM
|
#2
|
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
what version of mount do you have (mount --version)? maybe it needs upgrading from whatever comes with sarge.
|
|
|
|
05-31-2006, 04:11 AM
|
#3
|
|
Member
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532
Original Poster
Rep:
|
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 04:25 AM.
|
|
|
|
05-31-2006, 04:49 AM
|
#4
|
|
Senior Member
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,756
Rep: 
|
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?
|
|
|
|
05-31-2006, 07:25 AM
|
#5
|
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
is the portmap even running? post ps ax for both machines.
|
|
|
|
05-31-2006, 09:09 AM
|
#6
|
|
Member
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532
Original Poster
Rep:
|
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 09:12 AM.
|
|
|
|
05-31-2006, 09:21 AM
|
#7
|
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
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.
|
|
|
|
05-31-2006, 09:43 AM
|
#8
|
|
Member
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532
Original Poster
Rep:
|
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 !
|
|
|
|
05-31-2006, 09:45 AM
|
#9
|
|
Member
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532
Original Poster
Rep:
|
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 09:47 AM.
|
|
|
|
05-31-2006, 10:10 AM
|
#10
|
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
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
|
|
|
|
05-31-2006, 10:14 AM
|
#11
|
|
Senior Member
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,756
Rep: 
|
And don't forget you need to mount the volume you are sharing on server before exporting it.
|
|
|
|
05-31-2006, 10:17 AM
|
#12
|
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
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.
|
|
|
|
05-31-2006, 12:26 PM
|
#13
|
|
Member
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532
Original Poster
Rep:
|
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 12:28 PM.
|
|
|
|
05-31-2006, 12:44 PM
|
#14
|
|
Member
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532
Original Poster
Rep:
|
.... 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 !!!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:04 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|