Write failures and proper error code return to clients

Jeremy Allison jra at samba.org
Sat Jul 22 18:07:10 GMT 2006


On Sat, Jul 22, 2006 at 08:47:59PM +0300, Shlomi Yaakobovich wrote:
> I still don't know what is the exact errno (current samba code does not have any relevant debug for this). My next step is to print this out, but the problem is quite rare. Copying a batch of 40GB of data (in several directories and files) increases the chances of reproducing it.
>  
> It might be a coincidence, but while this error happened, there was a suspicious kernel message in the log:
> 2006 Jul 21 21:59:57 node1 NOTICE: kernel: RPC: sendmsg returned error 105
> 2006 Jul 21 21:59:57 node1 WARNING: kernel: nfs: RPC call returned error 105

That's probably returning as an EIO then. It's just going to be
returned as a write fault. Out of space is wrong, but the client
is still going to fail in this case.

> Oh, and our NFS mounts are hard...

NFS client bug then.

Jeremy.


More information about the samba-technical mailing list