From: Dmitry Potapov Date: Fri, 21 May 2010 02:59:54 GMT Subject: Re: Help with a possibly corrupt repo Message-ID: <20100521025954.GA3005@dpotapov.dyndns.org> In-Reply-To: On Thu, May 20, 2010 at 07:57:30AM -0700, Jonathan Leto wrote: > > I ran into this corruption issue using ecryptfs with an ext4 > filesystem (on a local SSD drive) on Ubuntu 9.10. > to coincide with getting these errors in my dmesg output: > > [12773.772426] ecryptfs_decrypt_page: Error attempting to read lower > page; rc = [-22] > [12773.772431] ecryptfs_readpage: Error decrypting page; rc = [-22] > [12796.061574] ecryptfs_read_lower: octets_read = [-4]; expected [4096] > [12796.061584] ecryptfs_read_and_validate_header_region: Error reading > header region; rc = [-22] > > I am lead to believe that ecryptfs+ext4 is not yet production-ready, Sounds like this bug: https://bugs.launchpad.net/ecryptfs/+bug/509180 and maybe related to this: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/490005 I don't think it is caused by combination of ecryptfs+ext4. I have seen a similar bug report for ecryptfs+ext3 as well. In fact, a lot of bug fixes were merged for ecryptfs during 2.6.34 development cycle. Perhaps, those fixes were also back ported to 2.6.32, but Ubuntu 9.10 has 2.6.31, so it does not have them, and without them, it looks like a beta-quality filesystem. So, make sure you have regular backups! Dmitry