Re: file systems
Arnt Karlsen put forth on 4/22/2011 8:18 AM:
> ..I've had about half a dozen crashes on ext3 where the journal
> was written to disk but not the data, so the journal trashed my
> old data "that were gone" according to the journal, on the next
> fsck.
This is a result of using data=writeback journal mode and has been well
known for a long time. If you use data=ordered mode (the default on
most distros) the journal isn't written until after the data, which
eliminates the problem you've experienced.
https://ext4.wiki.kernel.org/index.php/Ext3_Data%3DOrdered_vs_Data%3DWriteback_mode
--
Stan
Reply to: