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

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

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 4 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
4 comments… add one
  • sanjib Sep 13, 2007 @ 8:16

    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…

  • Bob Mar 8, 2009 @ 12:46

    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.

  • Peter Jun 11, 2011 @ 16:56

    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.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum