IO error encountered -- skipping file deletion

Matt McCutchen matt at mattmccutchen.net
Sat Jul 26 18:40:11 GMT 2008


On Fri, 2008-07-25 at 16:23 -0700, Wayne Davison wrote:
> On Fri, Jul 25, 2008 at 03:37:52PM -0300, Manuel Kissoyan wrote:
> > Wondering how i can trace to the problem....im backing up many servers
> > and on all of them im seeing this error.
> 
> Look at the stderr output for earlier errors that were output.  Things
> like lack of permissions opening a directory on the source side, a disk
> I/O error, etc.

I searched for all the places IOERR_GENERAL is set and found that many
of them generate FINFO messages, e.g., exclude.c line 477:

io_error |= IOERR_GENERAL;
rprintf(FINFO,
    "cannot add local filter rules in long-named directory: %s\n",
    full_fname(dirbuf));

Those messages should probably all be changed to FERROR (or FERROR_XFER;
it doesn't matter which because IOERR_GENERAL already triggers code 23).

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080726/f4632aa4/attachment.bin


More information about the rsync mailing list