Skip to contentSkip to conversation

NFS volumes don't mount at client boot-up

DISCUSSION Juha 1 participant 1 message Aug 23, 2003

Subsystems (2)
lore
Share & tools
lore

Juha

author
#0 lore raw

Hi list,

A new problem with nfs has just emerged on my setup between two linux machines (nfs sever is a debian testing, client a redhat 9). I have two volumes on the server that I wan't to share, lets call them /mnt/foo and /mnt/bar. When I boot the client machine, the nfs shares won't get mounted, instead I get an error like this:

Aug 23 12:21:53 client mount: mount: RPC: Unable to receive; errno =
Connection refused
Aug 23 12:21:53 client mount: mount: RPC: Unable to receive; errno =
Connection refused
Aug 23 12:21:53 client netfs: Mounting NFS filesystems:  failed

But then if I restart the nfs server on the 'server' machine and then do a mount on the 'client' machine, I get *one* of the shares to mount. And if I repeat this procedure, I get the other share to mount. In other words, if I do

server:# /etc/init.d/nfs-kernel-server restart client:# mount -a
mount: RPC: Unable to receive; errno = Connection refused

server# /etc/init.d/nfs-kernel-server restart
client# mount -a

I get both of the shares to mount. I haven't changed my config files but the setup used to work, I don't know what happened. If I reboot the 'server' machine while the client is running, the shares get mounted without problems. This is my configuration:

'server': /etc/exports
/mnt/foo client(rw,nohide,async)
/mnt/bar client(rw,nohide,async)

'client': /ets/fstab

server:/mnt/foo  /mnt/foo  nfs  rw,hard,intr,rsize=8192,wsize=8192
server:/mnt/bar  /mnt/bar  nfs  rw,hard,intr,rsize=8192,wsize=8192

Does anybody have ideas what could be happening? What would be the correct way to start debugging where the problem lies? I'm totally clueless here, any help appreciated.

Thanks in advance,

Juhis

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs