xfs
[Top] [All Lists]

Re: XFS null files

To: Jeff Briggs <ephemeral.elusive@xxxxxxxxx>, xfs@xxxxxxxxxxx
Subject: Re: XFS null files
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Sun, 06 Aug 2006 17:22:55 -0500
In-reply-to: <83d59530608061232r21feab01j456c7d1fec742958@mail.gmail.com>
References: <83d59530608061232r21feab01j456c7d1fec742958@mail.gmail.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)
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.



<Prev in Thread] Current Thread [Next in Thread>