resilience against power loss

vicentiu.neagoe
2014-07-22T17:24:28Z

Hello,

I'm trying to configure ext4 to prevent data corruption in case of a
power loss.

I test by doing a cold reset right after writing to a file.
I tried the nodelalloc option, but the file still becomes corrupted
with trailing garbage.

Using ext3, I either get the old version of the file, or the new
version, and there is no corruption.

Does nodelalloc not guarantee data integrity?

Are there any other options that provide complete resilience against
power loss?

thanks

Vicentiu