IOERROR: writing cache file

Bron Gondwana brong at fastmail.fm
Fri Sep 28 06:35:25 EDT 2007


On Fri, Sep 28, 2007 at 11:03:55AM +0200, Rudy Gevaert wrote:
> Bron Gondwana wrote:
> > Can you log in as the same user and test (or maybe copy the exact
> > contents of the mailboxes somewhere else and try to recreate - that
> > is if you care that much to figure out the underlying cause...)
> 
> Ok, I logged in as the user and went to the mailbox.  Did some selects 
> but that didn't show any errors.
> 
> I also copied here folders to an other location and all went well to.
> I'm keeping an eye on the log files, so if it happens again I'll 
> reinvestigate.

Fair enough :)

> > I failed over to the replica and took the filesystem offline and ran
> > a full fsck (reiserfsck in this case) which only found the one error
> > on that folder.  Ran with rebuild-tree to remove it from the tree
> > (it wasn't deleteable otherwise) and all was good.
> > 
> > And yeah - for pretty much anything involving the cache file,
> > reconstruct is your friend.  Everything in the cache file is
> > copies of data in the original messages, so reconstruct can
> > rebuild it precisely.
> 
> Unfortunately taking the mailstore offline isn't that easy here :(.  We 
> are running replication but for now particular reason because it isn't 
> stable yet.  I haven't got round to implement a checking system. 
> Hopefully if we upgrade to 2.3.9 with your md5 hash I can get round to that.

You may want to hang off a few days for 2.3.10 with funky new sha1 based
hash support and many more replication fixes.

I can tell you I sleep a lot easier at night knowing that there are
replication systems in place so we can lose an entire server and
at worst a few emails will be lost.  Much less nasty than losing the
entire production environment for days as happened back when we were
doing 2Tb filesystems with no replication.  Just restoring that much
from backup is a killer!

Bron.


More information about the Info-cyrus mailing list