Re: rsync copies twice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Montag, 19. Dezember 2011 schrieben Sie:
> Hi!
> 
> I used something like
> 
> rsync -a -H --acls --xattrs -S -P /home/ms2/ /home/ms
> 
> to migrate my data from encfs to ecryptfs where ms2 is the mounted encfs
> and ms is the mounted ecryptfs.
> 
> This appeared to have worked.
> 
> But: When I run the rsync again it will copy all files once again, while it
> should notice that they are already copied and do not copy them again.

This also is an issue that only appears when storing metadata in extended 
attributes. When storing them in the files itself on the second rsync attempt I 
get:

merkaba:~> rsync -a -H --acls -S -P /home/ms2/ /home/ms/               
sending incremental file list

sent 2920748 bytes  received 9094 bytes  177566.18 bytes/sec
total size is 13239183088  speedup is 4518.74

Thus this is probably another testcase for ecryptfs. Rsync twicing and see 
whether the second time rsync still transfers files or not.

I am now feeling much more confident about ecryptfs. I do like when rsync 
behaves this way ;).

Ciao,
-- 
Martin Steigerwald - teamix GmbH - http://www.teamix.de
gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90
--
To unsubscribe from this list: send the line "unsubscribe ecryptfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Crypto]     [Device Mapper Crypto]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux