From: Martin Steigerwald <ms@teamix.de>
To: ecryptfs@vger.kernel.org
Subject: Re: rsync copies twice
Date: Tue, 20 Dec 2011 10:50:30 +0100 [thread overview]
Message-ID: <201112201050.30557.ms@teamix.de> (raw)
In-Reply-To: <201112191417.38799.ms@teamix.de>
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
prev parent reply other threads:[~2011-12-20 9:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 13:17 rsync copies twice Martin Steigerwald
2011-12-20 9:50 ` Martin Steigerwald [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201112201050.30557.ms@teamix.de \
--to=ms@teamix.de \
--cc=ecryptfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.