Web lists-archives.com

Re: [Samba] IO error while closing file (dd)

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

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba