encfs icon indicating copy to clipboard operation
encfs copied to clipboard

encfs reverse: filter out useless "Filename too small to decode" error messages

Open dakkusingh opened this issue 9 years ago • 5 comments

Hi All, I am running encfs on OSX 10.11.1 using brew.. encfs version 1.8.1 I created a Reverse ENCFS but i get a lot of errors like:

(encfs.cpp:138) withFileNode: error caught in getattr: Filename too small to decode

and

(encfs.cpp:138) withFileNode: error caught in getattr: Invalid data size, not multiple of block size

Could someone help please?

dakkusingh avatar Oct 29 '15 01:10 dakkusingh

Does it work otherwise? This is perfectly normal.

rfjakob avatar Oct 30 '15 21:10 rfjakob

it appears to work fine other than the errors. But as the errors worried me somewhat, I have not tested it fully

dakkusingh avatar Oct 31 '15 00:10 dakkusingh

Yes, they are normal. These errors should be dropped, or at a minimum filter out the expected patterns.

vgough avatar Oct 31 '15 04:10 vgough

If these messages are in fact benign (when using --reverse), why are they sent to syslog with LOG_ERR priority and not LOG_WARNING or better yet LOG_INFO?

hexadecagram avatar Mar 14 '18 02:03 hexadecagram

  1. I am seeing this behavior on ArchLinux, not OSX.
  2. To my knowledge, there aren't any particular files that produce these messages. Syslog is being flooded with them as Crashplan scans the entire reversed encfs path recursively and backs up all of the files to the cloud. If I had to guess, I would be seeing the same pair of log messages for any and all files in that path.
  3. The underlying filesystem that I am mounting encfs --reverse on top of is ZFS.

hexadecagram avatar Mar 15 '18 01:03 hexadecagram