3 ms·
I have observed a file filled NULs that was caused by a power loss in the middle of a write -- my UPS alerted me that utility power is gone, I tried to shutdown
by omoikane 2y ago
I have observed a file filled NULs that was caused by a power loss in the middle of a write -- my UPS alerted me that utility power is gone, I tried to shutdown cleanly, but the battery died before a clean shutdown completed. This was NTFS on a HDD and not a SSD.
I am not saying it happens often, but it does happen once in a while.
- bryanlarsen 2y agoYes, corruption does appear to be correlated with power cycles.
- ale42 2y agoHad the same on journaled ext4 on Linux. Lots of NULL bytes in the middle of the syslog because of unclean shutdown.
- dist-epoch 2y agoNTFS guarantees file-system metadata integrity, not file data integrity. Subtle but important difference. The file was corrupted, but the file-system remained consistent.