meta data for this page
  •  

This is an old revision of the document!


Feature ZFS BTRFS remarks
License CDDL GPL
Copy-on-write Yes Yes
Checksums Yes Yes
Encryption
Online defragmentation Yes
Online growing / shrinking Yes
Online block dev add/rem Yes(-) Yes ZFS: only mirrored devices can be removed
Online deduplication block No ZFS: planned
Online compression Yes Yes similar compression level
Subvolumes Yes Yes
Subvolumes inside subvol. Yes Yes
Linux root filesystem ? Yes
Striping
Mirroring

Check and compare:

  • online convert from RAID0 to RAID1
  • direct mounting subvolumes (btrfs: by subvol path or subvol ID)
  • file snapshot (btrfs: cp –reflink /mnt/sv1/test1 /mnt/sv1/test3)
  • ZFS: online defrag
  • btrfs: convert from ext4 (btrfs-convert /dev/sdb1) and rollback
  • btrfs as root

ZFS:

  • (+) All features are controlled by subvolumes (datasets) attributes (compression, deduplication)
  • (-) CDDL license is not compatible with Linux kernel. Cannot be distributed as derived work.
  • (-) Only mirrored block devices can be removed.
  • (-) Deduplication on block level, cannot find shifted blocks.

BTRFS:

  • (-) All features controlled by mount options
  • (+) Every block device can be removed, data are automatically copied (balanced) to free space on other devices
  • (+) Metadata are automatically duplicated between block devices, data are striped