Stefan-Michael Guenther
2009-Apr-27 10:18 UTC
"rsync: writefd_unbuffered failed to write 4 bytes" on mounted share
Hello, we are using rsync to backup data to a NAS share. The share is mounted with the following command: mount -t nfs 192.168.1.101:/nas/NASDisk-00003/public /media/nas -o timeo=5,rsize=8096,wsize=8096,soft rsync is called by rsnapshot with the command: rsync -a --stats --delete --numeric-ids --relative --delete-excluded /samba /media/nas The process crashes when it tries to copy *.mdb files (15-600MB): rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32) rsync: close failed on "/media/nas/daily.0/samba/Bereiche/Auslieferung/Software/NT2/2012/2012-69-RA-1L.0968 (XY_I)/2006-11-16/XY_app.968/Logdb/.XYlog.mdb.REP380": Input/output error (5) rsync error: error in file IO (code 11) at receiver.c(688) [receiver=3.0.3] rsync: connection unexpectedly closed (65324 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(635) [sender=3.0.3] The FAQ mentions this kind of error but only in combination with a rsyncd running on the remote site. BTW: rsync is version 3.0.3 Thanks for any hints or suggestions, Stefan
Wayne Davison
2009-Apr-27 13:48 UTC
"rsync: writefd_unbuffered failed to write 4 bytes" on mounted share
On Mon, Apr 27, 2009 at 12:19:10PM +0200, Stefan-Michael Guenther wrote:> rsync: close failed on > "/media/nas/daily.0/samba/Bereiche/Auslieferung/Software/NT2/2012/2012-69-RA-1L.0968 > (XY_I)/2006-11-16/XY_app.968/Logdb/.XYlog.mdb.REP380": Input/output error (5)That's an OS error when rsync closed a file it was writing, so you'll need to figure out what your OS is telling you about that failure on that disk. ..wayne..