For the last few months I've been having a lot of problems syncing with two computers that I reinstalled and encrypted the drives. It is happening with all the programs I mention in the subject. Can the encryption of the disk be the cause of the problem?

My encrypted SSD uses LUKS version 1, LVM2 PV

Update: My home does use ecryptfs. This is the relevant line of df -T:

/home/ramon/.Private ecryptfs 118659356 86991664 25633468 78% /home/ramon

  • 1
    If you're speaking of encrypting the /home which gets decrypted for use when you boot into your machine, then not likely. If the disk remains encrypted while you're logged in, like with Truecrypt, then yes, it may. <br> Are you getting any other errors? – Argusvision May 14 '13 at 15:14
  • Please specify how you're doing the encryption, in your question. – dobey May 14 '13 at 15:16
  • 1
    Also, please include the errors you're seeing, in your question. – dobey May 14 '13 at 16:04
  • Added the encryption info. I see no errors, the files just don't sync or take forever to sync (days). – Ramon Suarez May 14 '13 at 16:22

There is a bug report which may be relevant, suggesting that some encrypted filesystems don't handle inotify events properly (and hence the syncronisation daemon doesn't detect changes to files, only differences it finds when it scans on startup).

It's unclear from the bug report whether this has been resolved or what the current status is, I'm afraid.

| improve this answer | |
  • Thanks for the answer and the petition to clarify. Edited the question and added the encryption details. – Ramon Suarez May 14 '13 at 16:21
  • @chronitis Does this mean that I have to reformat the computer and work without any encryption on my disk to be sure that the sync apps work properly? – Ramon Suarez May 15 '13 at 10:12
  • Unclear, I'm afraid. Since the bug report is two years old with no activity in the last year I am uncertain whether associating it with your problem is correct. Since you are sharing your data with a cloud service (whatever their security guarantees are claimed to be), encryption seems somewhat redundant, but having to reinstall is a big pain. – chronitis May 15 '13 at 12:23
  • 1
    You can try testing whether inotify works in your encrypted folder by installing package inotify-tools, running inotifywatch ~/Ubuntu\ One in a terminal, edit some files in the U1 folder and then use Ctrl+C in the terminal to terminate inotifywatch and see if the summary lists any events. If it does, then your problem is probably unrelated to the above bug (but I don't know enough detail about inotify to be sure). – chronitis May 15 '13 at 12:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.