XFS is not for the masses
Posted Apr 26, 2006 13:11 UTC (Wed) by
hmh (subscriber, #3838)
In reply to:
Filesystems (ext3, reiser, xfs, jfs) comparison on Debian Etch (Debian
Administration) by dwheeler
Parent article:
Filesystems (ext3, reiser, xfs, jfs) comparison on Debian Etch (Debian
Administration)
XFS' data loss on powerloss scenarios is still true. It is caused by (as others said) the fact that data writes are not protected unless you call fsync(), and I am not really sure they are fully protected even then.
What people often forget is that XFS has delayed write allocation, which increases the window for such data loss even more as a trade-off for performance. Given that making sure that XFS isn't corrupted requires xfs_repair and is not easy to do on the / partition on most default installs, I would never recommend anyone who doesn't really know what he is doing to use it (and yes, XFS does get corrupted although it is a very rare event, and usually due to bad memory on the system board).
Ext3 will also have corruption/data loss issues on powerloss, depending on your disks and their caches, but the window is much smaller. At least it is very fsck-on-boot-friendly...
Maybe the new SATA drives (which seem to be better at honouring cache flush requests) and IO barriers will put an end to most ext3 corruption on the typical desktop, but I wouldn't hold my breath.
I won't comment on reiserfs, I have little experience with it.
(
Log in to post comments)