FWIW, I ran without -x and still get the same error.... --bill
> Does it happen if you don't use '-x'? If both directories are on the > same filesystem, you shouldn't have any need for it. > > I'm not sure what the specific problem is, but I do see that the > skip_filesystem() function calls link_stat so perhaps somehow the > empty string is getting passed in there. > > - Dave Dykstra > > > On Fri, May 17, 2002 at 01:52:52PM -0700, Bill Houle wrote: > > OK, but I'm not exactly sure what I'm looking for... > > > > I don't think the link error is caused by my data (I have no symlinks). > > For whatever reason, it appears that a blank is leading the file list, > > and the 'stat' on NULL is what is causing the link_stat error. > > > > write(1, " b u i l d i n g f i l".., 23) = 23 > > brk(0x00058668) = 0 > > brk(0x00060668) = 0 > > lstat64("", 0xFFBEF8D8) Err#2 ENOENT > > write(2, " l i n k _ s t a t :".., 39) = 39 > > > > The rsync child then just says an error has occured and tells the > > parent to not bother deleting files because of it. > > > > waitid(P_PID, 10233, 0xFFBEF890, WEXITED|WTRAPPED|WNOHANG) = 0 > > Received signal #18, SIGCLD, in poll() [caught] > > siginfo: SIGCLD CLD_EXITED pid=10233 status=0x000C > > poll(0xFFBEF870, 0, 20) Err#4 EINTR > > waitid(P_ALL, 0, 0xFFBEF3A8, WEXITED|WTRAPPED|WNOHANG) = 0 > > waitid(P_ALL, 0, 0xFFBEF3A8, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD > > setcontext(0xFFBEF558) > > poll(0xFFBEF870, 0, 11) = 0 > > waitid(P_PID, 10233, 0xFFBEF890, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD > > time() = 1021666775 > > write(1, " w r o t e 7 9 8 5 5 ".., 54) = 54 > > write(1, " t o t a l s i z e i".., 43) = 43 > > sigaction(SIGUSR1, 0xFFBEF848, 0xFFBEF8C8) = 0 > > sigaction(SIGUSR2, 0xFFBEF848, 0xFFBEF8C8) = 0 > > waitid(P_PID, 10233, 0xFFBEF888, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD > > write(2, " r s y n c e r r o r :".., 55) = 55 > > > > I see that I can turn on "ignore-errors" mode, but that just seems > > dangerous if there were ever anything other than the case I am seeing > > here. So I guess my question is what's with the lstat64("")?? > > > > --bill > > > > > > > > > > > > > > > I suggest running truss -f -o trussfile before that command and look for > > > the error in the trussfile and see what's happening just before it. Under > > > some circumstances rsync can print that message when a symlink goes > > > nowhere, but I'm not sure what the circumstances are. Perhaps it does that > > > because you're using -x, I'm not sure. > > > > > > - Dave > > > > > > > > > On Wed, May 15, 2002 at 02:30:00PM -0700, Bill Houle wrote: > > > > /usr/local/bin/rsync \ > > > > -axv --delete \ > > > > "${MAINDIR}/${FSERVER}/" \ > > > > "${MAINDIR}/${TSERVER}/" > > > > > > > > Both locations are on the same (non-NFS) partition. > > > > > > > > All old files are updated and new files copied, but the orphans > > > > are never deleted... > > > > > > > > --bill > > > > > > > > > > > > > > > > > What is the command you are running? > > > > > > > > > > > -----Original Message----- > > > > > > From: [EMAIL PROTECTED] > > > > > > [mailto:[EMAIL PROTECTED]]On > > > > > > Behalf Of Bill Houle > > > > > > Sent: Monday, 1 January 1601 11:00 AM > > > > > > To: [EMAIL PROTECTED] > > > > > > Subject: I/O error when deleting files > > > > > > > > > > > > > > > > > > When I run rsync in "no-op" mode, all appears fine (it knows what to > > > > > > copy, what to delete). But when I run it "for real", I get: > > > > > > > > > > > > building file list ... link_stat : No such file or > > > > > > directory done > > > > > > IO error encountered - skipping file deletion > > > > > > > > > > > > followed by: > > > > > > > > > > > > total size is 98117172 speedup is 563.78 > > > > > > rsync error: partial transfer (code 23) at main.c(578) > > > > > > > > > > > > Any help/pointers -- Solaris 8 on Ultra -- is appreciated. > > > > > > > > > > > > --bill > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > To unsubscribe or change options: > > > > > > http://lists.samba.org/mailman/listinfo/rsync > > > > > > Before posting, read: > > > > > http://www.tuxedo.org/~esr/faqs/smart-questions.html > > > > > > > > > > > > > > > > > -- > > > > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > > > > Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html > > > > > > > > > -- > > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > > Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html > -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html