Jeff Briggs wrote:
Hello.
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
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vnodeops.c.diff?r1=1.675;r2=1.676;f=h
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.
Many thanks.
|