ReiserFS and general cyrus filesystem usage information - was Re: best filesystem for imap server

Andreas Hasenack andreas at conectiva.com.br
Thu Dec 2 17:00:01 EST 2004


On Thu, Dec 02, 2004 at 06:48:02PM -0200, Henrique de Moraes Holschuh wrote:
> > wouldn't be appropriate. We could have used bdb, but generally have had 
> > lots of problems with bdb so don't entirely trust it...
> 
> I don't know of anyone sane that trusts any BDB on the 4.x series.

With cyrus-imapd, that may be so. But don't generalize, BDB is quite robust.

It's heavily used by openldap and subversion. We, for example, have a subversion repository
with about 50Gb of data on a single berkeley database file (version 4.2.52 + 2patches):

(...)
-rw-------    1 www      www          100M 2004-11-30 19:30 log.0000008597
-rw-------    1 www      www          100M 2004-12-01 14:58 log.0000008598
-rw-------    1 www      www          100M 2004-12-02 14:38 log.0000008599
-rw-------    1 www      www           85M 2004-12-02 19:33 log.0000008600
-rw-r--r--    1 www      www           57M 2004-12-02 19:33 nodes
-rw-r--r--    1 www      www           62M 2004-12-02 19:33 representations
-rw-r--r--    1 www      www          1,6M 2004-12-02 19:33 revisions
-rw-r--r--    1 www      www           50G 2004-12-02 19:33 strings  <------------
-rw-r--r--    1 www      www           24M 2004-12-02 19:33 transactions
-rw-r--r--    1 www      www          8,0K 2004-12-02 19:33 uuids

This for about 2 years now (we started with subversion 0.14.3) and no data loss,
even after machine crashes due to faulty power supply, low RAM, etc. 

This obviously needs a correctly tuned DB_CONFIG file, and/or correct tuning from
within the application (subversion in this case). Otherwise, if left with BDB's
default values for important settings, data corruption *will* happen.

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list