All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Steigerwald <ms@teamix.de>
To: ecryptfs@vger.kernel.org
Subject: rsync copies twice
Date: Mon, 19 Dec 2011 14:17:38 +0100	[thread overview]
Message-ID: <201112191417.38799.ms@teamix.de> (raw)

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.

Is there any known issue with ecryptfs and rsync? Might also be an issue with 
encfs as source filesystem tough. I am now copying my encfs to another machine 
via rsync+ssh onto a BTRFS filesystem to verify this. Okay, this works. On the 
second attempt no files are copied anymore. So it seems that it is an ecryptfs 
issue.

Together with the reported failure to create new files under certain 
circumstances and the more complicated handling for now I switch back to encfs 
even though it might be slower.

But I am willing to test again. Most importantly with a fix for the file 
creation issue I reported.

Thanks,
-- 
Martin Steigerwald - teamix GmbH - http://www.teamix.de
gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90

             reply	other threads:[~2011-12-19 13:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-19 13:17 Martin Steigerwald [this message]
2011-12-20  9:50 ` rsync copies twice Martin Steigerwald

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=201112191417.38799.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.