Database truncation on ENOSPC (was: Re: Cyrus imap server and	filesystem type.)
    Bron Gondwana 
    brong at fastmail.fm
       
    Tue Oct  4 05:08:34 EDT 2011
    
    
  
On Tue, Oct 04, 2011 at 10:05:17AM +0100, Andy Bennett wrote:
> Hi,
> 
> > Yeah, XFS has had its fair share of interesting failure modes along
> > the way too - but it's not too bad with Cyrus, because Cyrus is very
> > careful about fsyncs.
> 
> I use Cyrus on XFS and I've noticed that, for example, the SEEN database
> can get truncated if you accidentally run out of space. I assume that
> this happens on other file systems as well, but I've never tried it. In
> fact, I hope to never try it on XFS again either. ;-)
> 
> I was using a Cyrus 2.2 on Debian Lenny at the time so I'm perfectly
> happy to concede that this may well have been fixed a long time ago.
> My databases will have been in skiplist format and I managed to recover
> them by dumping and reloading with the information I found here:
No, it's not.  I have a bug in our internal bugtracking system for
making sure we're robust against disk filling problems.  We had multiple
skiplist corruptions due to a disk filling problem a while back.
Bron.
    
    
More information about the Info-cyrus
mailing list