Jeff Briggs wrote:
I've just lost data to XFS, with the files full of nulls. I've found
posts dating back over two years about such data losses. I'm using
linux 2.6.17 with xfsprogs 2.8.10.
Check to see if you have this change
I helps reduce the null file problem.
emacs claims to fsync on write, yet still I lost data, the faq
suggests I should not have if this is so?
Is this likely to be fixed soon, or should I switch file system?
Any caching file system could potentially loose data, XFS just happens to
get the file size correct so you end up with a file that is nothing but a
hole. Other file system would probably just give you an empty file.
Either way data in cache always has the potential for being lost.
Running xfs in full sync mode would be safest but you loose many performance
advantages... so it always a trade off of performance vs data integrity.