Re: JFS in Ubuntu



James Gray wrote:

Actually, XFS is fairly pervasive on my systems ;) It performs well and
is robust. JFS will improve with time and the jury is still out on ext4
(again, time will tell). For today though, I'd say XFS is a good
alternative to ext3 and although you can't shrink XFS (it can grow
though), it has a couple of stability issues on LVM volumes, and it's
metadata modification when creating and deleting directory entries isn't
as fast as some (but can be improved
http://everything2.com/index.pl?node_id=1479435)...I still like it.

HTH,

James



XFS is, all around, the best performing filesystem.. however, it has
*big* caveats that make it a poor recommendation to throw around at
random people.

XFS delays flushing data to disk for a long time and doesn't write
meta-data/data in ordered fashion. What does this mean? It means in
the case of an unclean shut-down, however it comes about, files that
were being written but not flushed to disk will have be padded with null
characters.

This can be problematic in /home because some applications don't write
their configuration files in a sane manner (ie, never overwrite an
existing file until the data is flushed to disk) and will potentially
nuke your settings/preferences in the case of an unclean shutdown. It's
also very likely going to corrupt any data mirror (ftp mirror for
example), since those usually rely on filesize and datestamp to compare
sets of data. In the case of XFS, with an unclean shutdown, they only
way to tell which files might or might not be complete is to do an md5
check on all of them.

EXT3, while not the fastest or shiniest filesystem, is the default
filesystem in use by *all* distros for a reason. It's reliable and
uncomplicated, and unless you are concerned with how long it takes to
delete files, the performance is not really bad. (You might have to add
the dir-index option if you have directories with large number of files,
but that's another topic)

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • XFS bug or hard disk error ?
    ... > I have a server with Suse Linux 9.1 and a couple of disks with XFS ... the last time it happened soon the disk failed completely. ... Export an XFS filesystem to be used for testing, globally, with root allowed. ...
    (alt.os.linux.suse)
  • Re: [PATCH] Freeze bdevs when freezing processes.
    ... to quiesce the filesystem on suspend and thaw it on resume so as to ... No, during suspend/resume, memory image is saved, and no state is ... the disk after atomic snapshot, memory image matches what is on disk. ... That's why I asked if the dirty XFS metadata were flushed by a kernel thread. ...
    (Linux-Kernel)
  • Re: ext3 or xfs for desktop laptop
    ... grub support files on the filesystem, ... XFS will not flush itself to disk entirely on syncas far as I know (see ... "One disk to rule them all, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [PATCH 2.6.19 5/5] fs: freeze_bdev with semaphore not mutex
    ... What about just fixing xfs (thou shall not write to disk when kernel ... As per the recent thread about this, XFS threads suspend correctly ... but you're expecting the filesystem to magically stop ...
    (Linux-Kernel)
  • [OOPS] amrestore dies in pfn_to_page 2.6.16-gentoo-r7 (x86_64)
    ... I've also had problems restoring large XFS partitions off of tape ... # ACPI Support ... # CPU Frequency scaling ...
    (Linux-Kernel)