https://bugzilla.samba.org/show_bug.cgi?id=8177
--- Comment #11 from Remco Hosman <re...@hosman.xs4all.nl> 2012-03-10 20:37:32 UTC --- I am having the same issue with ESXi5.0 and rsync 3.0.9. Compiled rsync on a debian 4.0 system. I have a VM and make a snapshot. at that point the original disk file should not change anymore. When the problem does not occur: *) when the VM is not running *) when the image file does not exists on the target when the problem does occur: *) when the VM is running and the file already exists on the target. I attached a tgz with straces of the following command: strace -v -tt -f -o out.log ./rsync --copy-links --recursive --compress --progress --inplace --bwlimit=100 /vmfs/volumes/4e9007cc-5eb44d46-eace-0019b9e8ff4d/backups/ user@host:/targetdir/ in all 4 cases (running/not running and existing/non existing target file) but it comes down to this: --- VM off, file already exists on target machine --- 7754511 20:20:40.298664 open("backuptest/backuptest_7-flat.vmdk", O_RDONLY|O_LARGEFILE) = 3 7754511 20:20:40.300134 fstat64(0x3, 0xfff6cacc) = 0 7754511 20:20:40.300296 write(1, "backuptest/backuptest_7-flat.vmd"..., 34) = 34 7754511 20:20:40.317672 mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x782f0000 7754511 20:20:40.317831 read(3, "\25\0\2161\246\210wN\253Y\332O`T\357\354\21\307\344\31"..., 262144) = 262144 7754511 20:20:40.341102 gettimeofday({1331410840, 341167}, NULL) = 0 7754511 20:20:40.341230 ioctl(1, TIOCGPGRP, [7748366]) = 0 7754511 20:20:40.341434 write(1, " 4096 0% 13.38kB/s "..., 41) = 41 -- bunch of gettimeofday()'s -- 7754511 20:20:40.382444 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 262143) = 262143 --- VM on, file already exists on target machine --- 7672734 20:24:08.828084 open("backuptest/backuptest_7-flat.vmdk", O_RDONLY|O_LARGEFILE) = 3 7672734 20:24:08.828808 fstat64(0x3, 0xfff6cacc) = 0 7672734 20:24:08.828976 write(1, "backuptest/backuptest_7-flat.vmd"..., 34) = 34 7672734 20:24:08.829380 mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x782f0000 7672734 20:24:08.829529 read(3, "\25\0\2161\246\210wN\253Y\332O`T\357\354\21\307\344\31"..., 262144) = 262144 7672734 20:24:08.831043 gettimeofday({1331411048, 831103}, NULL) = 0 7672734 20:24:08.831165 ioctl(1, TIOCGPGRP, [7748509]) = 0 7672734 20:24:08.831367 write(1, " 4096 0% 15.09kB/s "..., 41) = 41 -- bunch of gettimeofdays()'s -- 7672734 20:24:08.847043 read(3, 0x782f0009, 262143) = -1 EINVAL (Invalid argument) I am kinda lost at this point. Remco -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. -- 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