[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: corrupted: kmailrc contains html code ?!
From:       Martijn Klingens <klingens () kde ! org>
Date:       2002-07-21 10:46:01
[Download RAW message or body]

On Sunday 21 July 2002 11:52, Rolf Magnus wrote:
> Do you by any chance use reiserfs? It tends to write "strange stuff" into
> files on a system crash.

That's not very special for reiserfs.

On non-journaling file-systems you can only pray the file data and the 
meta-data are in sync. fsck will find most of it, but you can still have a 
problem like this if you're unlucky.

And all journaling file systems that write the meta data before the actual 
file data have this problem, which means pretty much all of them. IIRC only 
ext3 can be configured to write metadata after the write, which is slower but 
more safe. ext3 can even be told to write the file data (!) to the journal, 
causing 100% correct replays of transactions. Needless to see that's terribly 
slow, and ext3 already was slower for partitions with lots of small files 
than reiserfs...

In general it's a tradeoff between performance and 100% data security whether 
to pick reiser or ext3. For most applications reiser is already far more 
reliable than any non-journaling system out there.

Martijn

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic