On Sat, 16 Feb 2013, Linda Walsh wrote:
Dag Wieers wrote:
On Thu, 14 Feb 2013, Brian K. White wrote:
> On 2/14/2013 9:50 AM, Dag Wieers wrote:
>
> > Since a --direct-io feature was requested a few times the past decade
> > with little response and the actual patch is quite trivial, I patched
> > both v3.0.9 and master branch and included the patches here.
>
> When I drop the 3.0.9 diff into my otherwise working spec file for 3.0.9
> on opensuse build service, it patches and builds with no error, but
> "make test" fails:
Attached is an updated patch which takes care of the test cases.
---
Tried this patch, but it failed to work:
cmd:
cd /Media && {
sudo rsync --archive --hard-links --acls -xattrs --whole-file
--drop-cache \
--one-file-system
--drop-cache --8-bit-output
\
--human-readable --progress
--inplace --del .
/backups/Media/.
}
----
first it deleted a bunch of stuff (~30 files)
deleting Library /
rsync: delete_file: unlink(MediaBack) failed: Operation not permitted (1)
.recycle/
.recycle/SDT27D6.tmp
0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=1006/1019)
.recycle/Library/
.recycle/Library/[Commie] Kotoura - 04 [FC6C5497].mkv
32.77K 0% 0.00kB/s 0:00:00
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]:Broken
pipe (32)
Then a bunch more deletes...(~17)
Then:
rsync: write failed on "/backups/Media/./.recycle/Library/[Commie] Kotoura -
04 [FC6C5497].mkv": Invalid argument (22)
rsync: connection unexpectedly closed (57 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605)
[sender=3.0.9]
???
Since you didn't use --direct-io, my patch was not doing anything. Since
you were using --drop-cache (twice!) this is not a vanilla rsync either.
What was it you were trying to do ?
--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html