Re: [PATCH 1/2] mount: ECONNREFUSED is a permanent error

Steve Dickson
2009-10-09T13:17:30Z

On 10/08/2009 01:37 PM, Chuck Lever wrote:
> I had assumed early on that mount.nfs should retry a refused connection.
>
> Apparently this is not the case. Legacy mount.nfs4 fails immediately
> if the NFS server refuses the connection. Legacy mount.nfs and
> text-based mount.nfs both fail immediately if the rpcbind service is
> refusing connections.
>
What about if the server is on the way up (i.e the network is up)
but has not started the NFS service? In that window, the server will
return ECONNREFUSED since nobody is listening, but in a very short time
there will be a listener... The mount should not fail in that case...

steved.