samba-bugs@samba.org
2006-Aug-18 12:48 UTC
DO NOT REPLY [Bug 4033] New: Get remote disk space
https://bugzilla.samba.org/show_bug.cgi?id=4033 Summary: Get remote disk space Product: rsync Version: 2.6.7 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: dr_sweety_1337@hotmail.com QAContact: rsync-qa@samba.org It would be very nice to have an option for checking the remaining disk space from a remote node (and don't transfer any files if the value is lower than a certain limit). This way, I wouldn't have to transfer a whole bunch of files just to get an error in the middle of the transfer because the remote side has run out of disk space. If there would be such an option, rsync could just refuse to transfer any files but die with an error message instead. I guess this option will only be possible if the remote side is an rsync daemon but. Thank you for writing such a great software as rsync, I'm using a lot and am totally happy with it! -- 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.
https://bugzilla.samba.org/show_bug.cgi?id=4033 ------- Comment #1 from hashproduct+rsync@gmail.com 2007-09-22 22:22 CST ------- There is no need to build the check into rsync. The disk space check can be done in the --rsync-path (for rsync over a remote shell) or the pre-xfer exec command (for a daemon); if either of those fails, the transfer will be aborted. Unfortunately, returning a meaningful error message to the client is nontrivial. To do that, you need my deny-rsync script from bug 3945 comment 2 for remote shell or an implementation of bug 4320 for a daemon. -- 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.
Possibly Parallel Threads
- DO NOT REPLY [Bug 4320] New: Daemon should send stdout, stderr of {pre, post}-xfer command to client
- DO NOT REPLY [Bug 4318] New: automatic module creation with rights on server
- DO NOT REPLY [Bug 3945] New: add arbitrary error reporting (with --error, perhaps)
- DO NOT REPLY [Bug 3596] New: rsync fails to retouch S_IWUSR when transferring a single empty directory
- DO NOT REPLY [Bug 3542] New: "rsync --list-only a b/" tries to create b