LWN.net Logo

Benchmarking Linux filesystems on software RAID 1 (Lone Wolves)

Benchmarking Linux filesystems on software RAID 1 (Lone Wolves)

Posted Apr 22, 2008 16:15 UTC (Tue) by bronson (subscriber, #4806)
In reply to: Benchmarking Linux filesystems on software RAID 1 (Lone Wolves) by dgc
Parent article: Benchmarking Linux filesystems on software RAID 1 (Lone Wolves)

Wow, this is big news!  I'm surprised I never heard this.

I suggest you put it at the very top of your readme or something: XFS NO LONGER CAUSES DATA
LOSS ON POWER FAIL.  REPEAT.  XFS NO LONGER CAUSES DATA LOSS ON POWER FAIL.  Because pretty
much everyone I know is still laboring under this misconception!


(Log in to post comments)

Benchmarking Linux filesystems on software RAID 1 (Lone Wolves)

Posted Apr 23, 2008 16:46 UTC (Wed) by alankila (subscriber, #47141) [Link]

I'm thoroughly ignorant on this issue. I thought that basically all journalling filesystems
guarantee only that there is consistency of filesystem after service interruptions.

Was the nature of XFS's empty files problem somehow more severe than you'd expect to get in
other filesystems? I mean, data only in system RAM is lost no matter what. But once it's
partially or fully in journal, it should have been preserved. Did XFS not recover file data
for situations where it could have done so?

Benchmarking Linux filesystems on software RAID 1 (Lone Wolves)

Posted May 3, 2008 18:42 UTC (Sat) by anton (subscriber, #25547) [Link]

The way I have heard it, XFS used to zero files that were partially written. I have been bitten by such behaviour, although with a different file system. In my case I lost an hour of work.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds