Fixing "Valid eCryptfs headers not found in file header region or xattr region, inode"

This is a manual process, once step. You need to remove the file. Then it can be recreated.

e. g. Valid eCryptfs headers not found in file header region or xattr region, inode 123344

You will need to inode number in bold. Then use this command to find out which file it corresponds to:

find ~/ -inum 123344

I'm assuming here that the ecryptfs is mounted in your home directory, as e.g. in Ubuntu.

Then this gives me some filename, e.g.
/home/user/.kde/share/config/session/konsole_10101dd02011

To check it's really the problem try to read the file:
cat /home/user/.kde/share/config/session/konsole_10101dd02011.

You should get an input output error now. If so, feel free to remove the file:

rm /home/user/.kde/share/config/session/konsole_10101dd02011

Done. HTH!

4 comments:

  1. Thanks, but here the whole system freezes when running the find command.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. Oh, just read, find. So it doesn't just get really slow but actually freezes? Have you tried fsck -f on the filesystem below?

      Delete
    3. Are you using ecryptfs? Or do you have the problem in another setting?

      Delete

I appreciate comments. Feel free to write anything you wish. Selected comments and questions will be published.