Comparison: Linux and UNIX ~ ZFS vs XFS vs EXT4 filesystem

Posted on in Categories File system, Linux, Sys admin, Tips, UNIX last updated August 30, 2007

This is an interesting filesystem comparison. If you are looking to build cheap storage for personal use file system decision is quite important:

This is my attempt to cut through the hype and uncertainty to find a storage subsystem that works. I compared XFS and EXT4 under Linux with ZFS under OpenSolaris. Aside from the different kernels and filesystems, I tested internal and external journal devices and software and hardware RAIDs. Software RAIDs are “raid-10 near2” with 6 disks on Linux. On Solaris the zpool is created with three mirrors of two disks each. Hardware RAIDs use the Areca’s RAID-10 for both Linux and Solaris. Drive caches are disabled throughout, but the battery-backed cache on the controller is enabled when using hardware RAID.

=> ZFS, XFS, and EXT4 filesystems compared

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Share this on (or read 4 comments/add one below):

4 comment

  1. I am working sun OS 5.8. My customer want the hardware specification of system.I checked the /proc dir but i am not getting any such kind of info instead /proc is filled with no of dir named named with numricle.
    pls help…

  2. What is this page supposed to show? There is nothing here. No tables or anything, and no links to anything resembling the title of the article. Just 3 paragraphs, ending with this: “=> ZFS, XFS, and EXT4 filesystems compared” The print version isn’t any better.

    I am using Mozilla Firefox 3.0.6.

  3. I setup a ~7.5 Terabyte file storage system as a NAS/FTP server with common PC parts, using FreeBSD 8.2 (64-bit) and Sun’s ZFS as the *only* filesystem to implement RAID-10 across all hard drives. Under “/compat/linux/proc” directory, there are Linux-like proc items. Otherwise, the “dmesg | more” command phrase should show you plenty of info about your available hardware.

    Otherwise, if I were using Linux such as Ubuntu, then I would likely choose SGI XFS as the primary filesystem for all hard drives, since Ext3 or Ext4 has some limitations.

    Have a question? Post it on our forum!