JFS vs XFS vs Other File Systems – Which to Choose?

centosjfslvmxfs

After deciding to use LVM2 as volumemanager on our servers there was also the wish for an online resizeable filesystem. After reading a few articles I decided to use JFS in favour of XFS.

Now today I had a power outage on our office server and I discovered that one file on the JFS volume has been completely corrupted. While this might happen the system fooled me into believing everything is alright by not indicating any filesystem problems during the bootup after the power failure. All filesystems were clean after replaying the journal.

This leaves me with a bad taste. I don't want a filesystem which would not recover well after a power outage, but I really don't want a filesystem which doesn't tell me that there might be a problem.

So I thought I give it a shot and ask which filesystem do you prefer? Which one do you favour and why? I'm looking for the following features:

  1. robust
  2. online growable
  3. good performance for usual workloads (normal filesizes – nothing special like millions of small files or such)
  4. available in the CentOS 5.4 distribution, but that's optional

I'd also like to know if you have used JFS and have had bad experiences with it – also of course if there're success stories using JFS. And ultimately: would you prefer XFS over JFS or vice versa (as mentioned for everyday use, not for specific workloads)

Best Answer

XFS.

JFS is basically dead/unmaintained now.

Most/all of the XFS developers now work at Redhat and kernel support for XFS is available out of the box in RHEL 5.4.