Filesystems: Difference between revisions

From CCP4 wiki
Jump to navigation Jump to search
(→‎Ext3: remove)
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
* no 16 TB limitation; max size is 8 Eib (1 exbibyte = 2^60 bytes)
* no 16 TB limitation; max size is 8 Eib (1 exbibyte = 2^60 bytes)
* no data compression and checksumming (data-integrity) features. It does have metadata checksums.
* no data compression and checksumming (data-integrity) features. It does have metadata checksums.
* the default for RHEL starting at version 7


== ZFS ==
== ZFS ==
Line 14: Line 15:
* Built-in stripes (RAID-0), mirrors (RAID-1) and RAID-Z (it's like software RAID-5, but more efficient due to ZFS's copy-on-write transactional model)
* Built-in stripes (RAID-0), mirrors (RAID-1) and RAID-Z (it's like software RAID-5, but more efficient due to ZFS's copy-on-write transactional model)
* triple parity raid (raidz3) has been added to ZFS [http://blogs.sun.com/ahl/entry/triple_parity_raid_z]
* triple parity raid (raidz3) has been added to ZFS [http://blogs.sun.com/ahl/entry/triple_parity_raid_z]
* there are ports of ZFS to FreeBSD and Mac OS X
* there is a port of ZFS to FreeBSD
* the source code license of ZFS is incompatible with the GPL of the Linux kernel, therefore only available as userland filesystem (ZFS-over-FUSE; see see http://www.wizy.org/wiki/ZFS_on_FUSE) on Linux
* the source code license of ZFS is incompatible with the GPL of the Linux kernel, therefore not in the latter
* installable ZFS/FUSE packages are available e.g. on latest Ubuntu und Fedora (see http://www.linux-magazine.com/w3/issue/103/ZFS.pdf)
* install from http://zfsonlinux.org/


== Ext4 ==
== Ext4 ==
* fairly new in Linux kernel (stable since 2008); ext4 is based on ext3 (same developers)
* ext4 is based on ext3 (same developers)
* becoming the default of new versions of Linux distros (Fedora, Ubuntu, ...)
* default of some Linux distros
* no 16 TB limitation; max size is 1 EiB (1 exbibyte = 2^60 bytes)
* no 16 TB limitation; max size is 1 EiB (1 exbibyte = 2^60 bytes)
* no compression and checksumming (data-integrity) features
* no compression and checksumming (data-integrity) features

Latest revision as of 21:23, 28 November 2016

This page serves to give some information on possible filesystems for Linux machines, in particular those that may be used for very large filesystems (many TB). The list is sorted by age!

XFS[edit | edit source]

  • SGI's filesystem (1994) that was ported to Linux around 2001
  • no 16 TB limitation; max size is 8 Eib (1 exbibyte = 2^60 bytes)
  • no data compression and checksumming (data-integrity) features. It does have metadata checksums.
  • the default for RHEL starting at version 7

ZFS[edit | edit source]

  • Sun's filesystem which is natively available on Solaris (since 2005)) and OpenSolaris (both of which are freely available)
  • no 16 TB limitation; max size is 2^128 bytes
  • (optional) transparent (gzip) compression (LZO compression available as patch)
  • atomic updates - means that the on-disk state is consistent at all times, there's no need to perform a lengthy filesystem check after forced reboots/power failures
  • background checksumming and self-healing for data integrity
  • Built-in stripes (RAID-0), mirrors (RAID-1) and RAID-Z (it's like software RAID-5, but more efficient due to ZFS's copy-on-write transactional model)
  • triple parity raid (raidz3) has been added to ZFS [1]
  • there is a port of ZFS to FreeBSD
  • the source code license of ZFS is incompatible with the GPL of the Linux kernel, therefore not in the latter
  • install from http://zfsonlinux.org/

Ext4[edit | edit source]

  • ext4 is based on ext3 (same developers)
  • default of some Linux distros
  • no 16 TB limitation; max size is 1 EiB (1 exbibyte = 2^60 bytes)
  • no compression and checksumming (data-integrity) features

btrfs[edit | edit source]