Files written within a minute of a power failure are zero bytes when the system comes back. Testing for a system that we can not guarantee will have ups backup.
Centos 6.4
kernel 2.6.32-358.14.1.el6.x86_64
ext4 mounted with defaults
See this occurring on 2 different systems (the only two that I have tried it on)
1st with PERC h710 controller RAID 6 with 4 3TB drives.
It happens with and without lvm
It happens in both write through and write back cache.
2nd with no RAID controller 2TB disk
only tested without lvm
Suggestions on how to prevent this?