samba-bugs at samba.org
2013-May-10 21:00 UTC
[Bug 9877] New: target file deleted in error
https://bugzilla.samba.org/show_bug.cgi?id=9877 Summary: target file deleted in error Product: rsync Version: 3.0.6 Platform: x64 OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: jacks at mid.org QAContact: rsync-qa at samba.org After running rsync, I discovered that a file - libdeb.so - that exists in the source tree had been deleted in the target tree. The specific command was.... rsync -aivc \ --delete \ --log-file=/home/oracle/logs/refresh_thrd_apps.log \ /mnt/oradb10-bkp20/oracle/src_r12_apps_prd/ \ /d00/oracle/THRD/apps/ /mnt/oradb10-bkp20 is an NFS file system mounted ReadOnly and /d00 is a local file system. I have verified that libdeb.so exists in the source tree and I have no evidence that it was every deleted. (The source tree was created using rsync.) After discovering that libdeb.so was missing, I reran the rsync command which copied libdeb.so into the correct location. I did not notice any error messages while rsync was running. The only unusual situation was that the /tmp file system had no free space after the original rsync execution but I cleaned up the /tmp file system before the last rsync execution. Is it possible that running out of space on /tmp could have caused the error? If so, my preference would be for rsync to fail and report the error. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=9877 --- Comment #1 from Jack Savage <jacks at mid.org> 2013-05-10 21:01:57 UTC --- I meant to include this information in the original post. [oracle at rh5-appsrvr99 oracle > cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.7 (Tikanga) [oracle at rh5-appsrvr99 oracle > rpm -qa | grep rsync rsync-3.0.6-4.el5 [oracle at rh5-appsrvr99 oracle > uname -a Linux rh5-appsrvr99.mid.org 2.6.18-308.16.1.el5 #1 SMP Tue Sep 18 07:21:07 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux Jack -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=9877 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #2 from Wayne Davison <wayned at samba.org> 2013-05-26 23:40:30 UTC --- Sadly, there's not enough info here for me try to diagnose what happened to you, since what you describe is not how rsync works. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.