LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   nfs setup on slack 9.1 - no route to host (https://www.linuxquestions.org/questions/slackware-14/nfs-setup-on-slack-9-1-no-route-to-host-148108/)

daceo 02-19-2004 02:04 PM

nfs setup on slack 9.1 - no route to host sorted!!
 
Hi.
My small problem. having set up a nice server running slack 9.1 nfs, I originally had 2 pcs connecting in to it and it works fine, with read write access etc. So I want to add another box, and it stubbornly refuses to allow the new machine to connect. the other two are fine. the new machine is all there, it can access the internet through my gateway/router, I can log in to it from another pc, it is possible that I am missing a service on it, but i think that it is at the server that the problem is. The error on message on boot up of the new machine is:

root@slacky:~# /sbin/mount -a -t nfs
mount: RPC: Remote system error - No route to host

if I do show mount:

root@slacky:~# showmount -e 192.168.0.10
Export list for 192.168.0.10:
/home/share 192.168.0.50,192.168.0.20,192.168.0.30

where 192.168.0.50 is the machine I am trying to get working

me rpc info says

root@slacky:~# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper


I was looked at the rpcinfo for the server, and after the portmapper, it has rquotad, could I be missing this?

I have added all three machines to the host.allow but this did not make any difference.

my fstab looks like this

root@slacky:/# cat /etc/fstab
/dev/hda2 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /home/fat vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
192.168.0.40:/home/share /home/serviette nfs rsize=8192,wsize=8192,timeo=14,intr 0 0

the exports on the server is:

root@serviette:~# cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/home/share 192.168.0.30(rw)
/home/share 192.168.0.20(rw)
/home/share 192.168.0.50(rw)

the hosts allow looks like:

root@serviette:~# cat /etc/hosts.allow
#
portmap: 192.168.0.20, 192.168.0.30, 192.168.0.50
# End of hosts.allow.

I am fairly new to all this, so I may have omitted to do something obvious..



cheers

lyle_s 02-19-2004 04:48 PM

Quote:

root@slacky:~# showmount -e 192.168.0.10
Export list for 192.168.0.10:
/home/share 192.168.0.50,192.168.0.20,192.168.0.30



root@slacky:/# cat /etc/fstab
/dev/hda2 swap swap defaults 0 0
/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /home/fat vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
192.168.0.40:/home/share /home/serviette nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
I think it should read 192.168.0.10 in your /etc/fstab

Lyle

daceo 02-19-2004 05:04 PM

thanks lyle,
I am glad it was a can't see the wood for the trees human error problem with a nice simple soluttion... (yes it is working now). I am slightly jaded, but also better educated in nfs, after having spent hours unsucsessfuly trying to get fedora core 1 to be an nfs server more than once without restarting everything, and failing. slack is so painless in comparison....

cheers


All times are GMT -5. The time now is 11:46 PM.