[Bug 13317] rsync returns success when target filesystem is full

samba-bugs at samba.org samba-bugs at samba.org
Mon Mar 5 20:42:39 UTC 2018


https://bugzilla.samba.org/show_bug.cgi?id=13317

--- Comment #4 from Dave Gordon <dg32768 at zoho.eu> ---
To see whether rsync is getting any errors reported by any system calls it
makes, one could run it under strace(1) on Linux, or dtrace on Solaris.
Presumably FreeBSD has at least one of these, or something similar?

Linux:
$ strace -ff -o rsync-trace -e trace=file,desc rsync ...
$ grep -w 'E[[:upper:][:digit:]]*' rsync-trace.*
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/etc/popt", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/etc/popt", O_RDONLY)             = -1 ENOENT (No such file or directory)
stat("/etc/popt.d", 0x7ffdafe82860)     = -1 ENOENT (No such file or directory)

The output is a list of all filename- or descriptor-related syscalls that
failed. If any of them show up as EDQUOT or relate to the problematic output
file, that might be a big clue :)

HTH,
.Dave.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list