On Wed, 16 Jun 2010 21:45:19 -0400 Anthony Thyssen 
<a.thys...@griffith.edu.au> wrote:
>On Wed, 16 Jun 2010 17:17:09 -0400
>jstra...@hushmail.com wrote:
>| 
>| Sorry, I forgot to put the second part of the error. So the 
>error is
>| 
>| encfs: MAC comparison failure in block 409
>| encfs: error caught in read
>| 
>| I see this in /var/log/messages periodically.
>| 
>| On Wed, 16 Jun 2010 16:31:45 -0400 jstra...@hushmail.com wrote:
>| >I'm getting the error "encfs: MAC comparison failure in block 
>| >409". 
>| >I assume this means one of the encrypted files is corrupted in 
>| >some 
>| >way. How do I find out what file uses that block?
>| >
>
>depending on how much data there is you could just try to read 
>each file
>until you get a read error from the reading command!
>
>file /path/to/decrypted/data -type f |
>while read i; do
>  echo "$i"
>  cat "$i" > /dev/null || exit
>done
>
>Note that I have not tested or debugged the above. Just a 
>suggestion.
>

Thanks for the suggestion. To read each file I ended up using "grep 
<randomtext> -r /path/" and got an Input/output error on the file 
in block 409 and 2 others that produced MAC comparison failures in 
blocks that I hadn't seen before.

Thanks again.


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to