nfs install fails manual mounting remote share
I have installed Slackware using NFS previously but now I can't. The nfs server machine which I used successfully before, has the following config files:
/etc/exports: Code:
/mnt/cdrom 192.168.1.0/24(ro,no_subtree_check) Code:
portmap: 192.168.1.0/24 running exportfs command reveals: Code:
/mnt/cdrom 192.168.1.0/24 load pcmcia.dsk and network.dsk which gets my 3com nic up and running. I can then run: Code:
ifconfig eth0 192.168.1.2 up I then run /sbin/rpc.portmap then mkdir /mount mount 192.168.1.101:/mnt/cdrom /mount fails with the following error: Code:
mount: RPC: Program not registered Code:
ps -A |grep rpc Code:
rpcinfo -p How can I further troubleshoot this? /var/log/messages didn't have any usefull info. I use shorewall firewall but I have disabled it with chmod -x /etc/rc.d/rc.firewall. |
I just checked /var/log/messages on the client and found the following:
Code:
auth.err portmap[692]: Cannot bind udp: address already in use |
I'm not sure on that UDP error, but a couple things:
IF we're talking NFSv4, then /etc/exports on the server should contain "fsid=0" or simliar in the options. hosts.allow on the server should reference nfsd, and nfsd should be running, i.e.: nfsd: 192.168.1. on the client, there should be some type of nfs service that runs not only the rpc.* that you show, but rpc.idmapd as well. IF we're not talking NFSv4 you shouldn't be running rpc.* from the commandline, there should be an initscript or service that handles these and their PID files. Hope this helps, I really have very little experience pre-NFSv4 |
In the nfs howto under the troubleshooting section
http://nfs.sourceforge.net/nfs-howto/ar01s07.html It indicates that the error I receive means that the client does not detect NFS running on the server. It says to check the server with rpcinfo -p which i did(see above) and also to run rpcinfo -p from the client. Well the laptop client booted from bare.i does not have that command so I copied it onto a floppy and when I run it I get: Code:
Code:
rpcinfo -p 192.168.0.102 |
All times are GMT -5. The time now is 06:08 AM. |