rsync: writefd_unbuffered failed to write 4 bytes on mounted share

2009-04-27 Thread Stefan-Michael Guenther

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-3/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

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: rsync: writefd_unbuffered failed to write 4 bytes on mounted share

2009-04-27 Thread Wayne Davison
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..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html