samba-bugs@samba.org
2007-Sep-16 21:49 UTC
DO NOT REPLY [Bug 4977] New: rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 Summary: rsync: failed to set times on Product: rsync Version: 2.6.9 Platform: x86 URL: http://www.mikerubel.org/computers/rsync_snapshots/ OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: erwin.vd.glind@home.nl QAContact: rsync-qa@samba.org Hello, I'm using the backup script from http://www.mikerubel.org/computers/rsync_snapshots/ for some time now without probs. But lately (like 2 weeks) rsync gives me errors like these: rsync: failed to set times on "/root/snapshot/home/hourly.0/var/www/localhost/htdocs/squirrelmail/plugins/ldapuserdata/doc/ldapuserdata": Function not implemented (38) But it continues to backup... but i don't know if the backup actually worked... It also exits like this: rsync error: some files could not be transferred (code 23) at main.c(980) [sender=2.6.9] So i guess that some files aren't backupped :O Ehm i don't know if you want more information, if so, let me know. I did tried for the search function but i couldn't find any answer... Greetz Erwin -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-16 21:52 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #1 from erwin.vd.glind@home.nl 2007-09-16 16:52 CST ------- Ah yes the command i use is: $RSYNC \ -va --delete --delete-excluded \ --exclude-from="$EXCLUDES" \ /home/ $SNAPSHOT_RW/home/hourly.0 -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-16 22:10 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #2 from hashproduct+rsync@gmail.com 2007-09-16 17:10 CST ------- (In reply to comment #0)> Hello, I'm using the backup script from > http://www.mikerubel.org/computers/rsync_snapshots/ for some time now without > probs. > But lately (like 2 weeks) rsync gives me errors like these: > rsync: failed to set times on > "/root/snapshot/home/hourly.0/var/www/localhost/htdocs/squirrelmail/plugins/ldapuserdata/doc/ldapuserdata": > Function not implemented (38)That means rsync issued a system call to set the times but the operating system returned an error. Such errors usually are not rsync's fault. Try setting the times of that file manually using "touch --reference=/home/var/www/localhost/htdocs/squirrelmail/plugins/ldapuserdata/doc/ldapuserdata /root/snapshot/home/hourly.0/var/www/localhost/htdocs/squirrelmail/plugins/ldapuserdata/doc/ldapuserdata" to see if you get the same error.> But it continues to backup... but i don't know if the backup actually worked...Rsync considers most filesystem errors non-fatal: it reports them but continues with the copy. You can usually assume that all files are copied correctly except those specifically mentioned in error messages.> It also exits like this: > rsync error: some files could not be transferred (code 23) at main.c(980) > [sender=2.6.9] > > So i guess that some files aren't backupped :OThat message is just referring to the failure to set times. If some files were not copied, rsync would have printed additional errors about that. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-16 22:26 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #3 from erwin.vd.glind@home.nl 2007-09-16 17:26 CST ------- Well i tried your command and it worked without errors... But i saw also that all files were symlinks, maybe thats the reason why it doesnt works? Gr Erwin -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-17 00:16 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #4 from hashproduct+rsync@gmail.com 2007-09-16 19:16 CST ------- (In reply to comment #3)> Well i tried your command and it worked without errors... > > But i saw also that all files were symlinks, maybe thats the reason why it > doesnt works?That explains it. I bet rsync is trying to call lutimes to set the symlink times but the kernel doesn't support it. Since support for lutimes was added to Linux in version 2.6.22, this could happen if you build rsync on a system with kernel >= 2.6.22 and run the result on a system with kernel < 2.6.22. Is this your situation? Symlink mtimes usually don't mean anything terribly important, so you probably don't need to worry about the errors. If you want them to go away, rebuild rsync on the system that is running it and use that copy of rsync. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-17 10:00 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #5 from erwin.vd.glind@home.nl 2007-09-17 05:00 CST ------- I will look tonight for that, but the rsync was builded on the same system i use the script with so it must be built with the kernel my system is running with.... Gr Erwin -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-17 14:47 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #6 from wayned@samba.org 2007-09-17 09:47 CST ------- You can comment out the define of HAVE_LCHMOD in config.h if configure thought you had lchmod(), but it's not really working. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Sep-17 16:07 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #7 from hashproduct+rsync@gmail.com 2007-09-17 11:07 CST ------- Good point, except the relevant system call is lutimes, controlled by HAVE_LUTIMES in config.h. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Oct-12 21:14 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 me@shadsterling.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |me@shadsterling.com ------- Comment #8 from me@shadsterling.com 2007-10-12 16:14 CST ------- I had the same problem with my backups, and rebuilding it on the same machine didn't help. I suspect it's because support for lutimes is fs-specific, and I have ext3 (which supports lutimes) on /home (where the build was done), and reiserfs (which apparently does not support lutimes) on /volumes/backup (where the backups are stored) A rebuild with HAVE_LUTIMES forcibly undefined does not give the error. I think a real solution would be for rsync to detect lutimes support per-fs at runtime, before attempting to use it. I'd be happy if it never bothered to try, or not unless given something like --have_lutimes. I'm not happy having the default be to throw a bunch of errors about something I don't care about that can't be done on that disk anyway. [polyergic@seneschal ~]$ uname -a Linux seneschal 2.6.21.7-1 #1 SMP Sat Aug 4 18:59:20 UTC 2007 i686 AMD_Athlon(tm)_Processor PLD Linux -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Oct-13 01:32 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Version|2.6.9 |3.0.0 ------- Comment #9 from wayned@samba.org 2007-10-12 20:33 CST ------- Why not upgrade to 3.0.0 then? This is one of the things that is improved -- it doesn't bother to output an error about failing to set the time on a symlink. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Oct-13 01:42 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #10 from hashproduct+rsync@gmail.com 2007-10-12 20:42 CST ------- (In reply to comment #8)> I suspect it's because support for lutimes is fs-specific, and I > have ext3 (which supports lutimes) on /home (where the build was done)> Linux seneschal 2.6.21.7-1 #1 SMP Sat Aug 4 18:59:20 UTC 2007 i686BTW: lutimes isn't going to work on any filesystem with a kernel before 2.6.22. For HAVE_LUTIMES, the configure script tests only whether the "lutimes" function exists in glibc as a non-stub, not whether it actually works. Thus, if your copy of glibc was built on a machine with kernel >= 2.6.22, it will contain a non-stub lutimes and rsync's HAVE_LUTIMES test will pass. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Oct-13 07:01 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #11 from erwin.vd.glind@home.nl 2007-10-13 02:00 CST ------- Well indeed i use the 2.6.21 kernel and im building a 2.6.22 kernel right now. Version 3 isnt out on gentoo isnt? -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2007-Oct-13 19:20 UTC
DO NOT REPLY [Bug 4977] rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 ------- Comment #12 from hashproduct+rsync@gmail.com 2007-10-13 14:21 CST ------- (In reply to comment #11)> Version 3 isnt out on gentoo isnt?Version 3.0.0 has not been released yet, but you could use the current pre-release, rsync 3.0.0pre2 . I don't know whether Gentoo offers the pre-releases, but you could always compile and install rsync from source yourself. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
Maybe Matching Threads
- DO NOT REPLY [Bug 5442] New: setting times to symlinks which do not point to existing files causes error reports
- DO NOT REPLY [Bug 7618] New: symlinks and --link-dest
- no built in EXE module loaded did you specify an .spec
- DO NOT REPLY [Bug 5789] New: rsync trying to set times on symlinks
- fixing user, group, and mtime with rsync?