Hi all,
I have this weird problem that begun all of a sudden a week or so ago.
That is, my nfs connection stopped working. This is my setup and some
details. My nfs server is a debian testing machine and the client
connecting to it is a redhat 9 machine. All used to work just fine in the
past but now something has happened, and I don't know what, but it doesn't
work automaically anymore. So, when I boot up the client machine, I get
two error lines like this in /var/log/messages, one per each share I'm
trying to mount:
Aug 22 17:18:09 foo mount: mount: RPC: Unable to receive; errno = Connection refused
This is what my /etc/fstab on the client looks like:
192.168.0.1:/home/bar /mnt/nfs-home nfs rw,soft,intr,rsize=4096,wsize=4096 0 0
And on the server side, the /etc/exports:
/home/bar 192.168.0.10(rw,nohide,async)
Now the weird part. If on the server machine, I restart the nfs server,
i.e.
/etc/init.d/nfs-kernel-server restart
and then on the client machine, do a mount again, i.e.
mount -a
I'll get one of the exported shares to mount, and I only get one line
saying.
mount: RPC: Unable to receive; errno = Connection refused
And when I do the same the second time, both on the server and then on the
client, I get the other share to mount also.
I don't know how the problem begun, but I have updated the packeges for
both distributions on a regular basis, so that could have changed
something, don't know. Anyway, if somebody has any idea how I could find
the problem and make it work again, I'd be very grateful.
Thanks in advance
simppa
|