Hi,

I can consistently reproduce this problem:

1) Take a directory with lots of files and some large files (e.g., your mail 
directory; in my case 22000 files with a total of 1.8GB). 

2) Mount a samba share with mount.cifs

3) Mount a subdirectory on the mounted share with encfs

4) run rsync to backup the directory onto the encfs encrypted directory


It will hang at some point without any possibility to recover. I ran strace on 
encfs, it hangs at a close() event.

read(4, "@\0\0\0\31\0\0\0d\216\0\0\0\0\0\0\356 
\0\0\0\0\0\0\350\3\0\0d\0\0\0"..., 135168) = 64
dup(3)                                  = 5
close(5

I was able to fix it by mounting cifs with the option: cache=none

Performance sucks now but it's working.

So I don't know whether anyone really cares to fix it and whose bug it actually 
is (encfs or cifs implementation), but I thought people might appreciate the 
report.

If I, as an unknowing end user, can help to resolve this, let me know.

Have fun and thanks for the wonderful encFS!

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to