Is data=journal on a separate device on Ext4 as good as using a RAID controller with battery backed cache for file system consistency?
- by Jeff Strunk
It seems to me that data=journal prevents file system inconsistency in the case of power failure. Using it with a dedicated journal device mitigates the performance penalty of writing the data twice. A power outage would still lose the data that is currently being written to the journal, but the file system on disk would always be consistent.
If that amount of loss is acceptable, is a RAID controller with battery backed cache really worthwhile?