[Samba] IO error while closing file (dd)

Xen list at xenhideout.nl
Thu Oct 5 05:34:23 UTC 2017

Xen via samba schreef op 05-10-2017 5:14:

> Maybe it is getting caused by DD using a too high blocksize...

I think it was caused by using a DD bs of 4M.

I put it back to 128k now and there doesn't seem to be an issue anymore.

The Linux Kernel is generally terrible in the area of IO queues.


I was meaning to ask something else though.

When my DD copy to the share completes, it often ends with an error:

"closing output file 'XXX': Input/output error"

 From a bug on NFS[1] it appears to be related to short I/O timeouts.

Is there anything I can do to mitigate that?

I don't want DD to close with an error.

I am using completely general mount options.

There is apparently sometimes an IO timeout when it closes the file.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=668945

More information about the samba mailing list