OpenZFS 2.0.0 Released Based On Unified Code For Linux And FreeBSD


OpenZFS project has officially announced the release of a new version 2.0.0 for its open source ZFS file system with unified Linux and FreeBSD codebase and other new features.

For those who don’t know, OpenZFS is an open source storage platform that combines the traditional file system with a volume manager.

It offers several advanced features such as hardware-accelerated native encryption, efficient storage with snapshots and copy-on-write clones, local or remote replication, protection against data corruption, and storage capacities of up to 256 trillion yobibytes.

What’s New In OpenZFS 2.0.0?

With v2.0.0, OpenZFS now supports FreeBSD operating system along with Linux. It shares the same repository to make all OpenZFS features available on both Linux and FreeBSD platforms.

OpenZFS 2.0.0 has also added major new features such as support for a modern and high-performance ZStandard (ZSTD) compression algorithm, persistent L2ARC (Level 2 Adjustable Replacement Cache) across reboots, and sequential resilver feature to rebuild a failed mirror vdev device in LBA order.

Additionally, it has included a Redacted Send and Receive feature for ZFS, which further brings other related features such as enhancements to zdb and zstreamdump, an improvement to the ASSERT and VERIFY macros, the ability to do send size estimation from bookmarks, and a more accurate send size estimation process.

Using Redacted stream, you can send subsets of your data to a target system. It helps you to save space by avoiding the replication of insignificant data within a given dataset and selectively excluding sensitive information.

Furthermore, v2.0 has also added and improved the following ZFS/ZPOOL commands:

  • zpool replace|attach -s — to perform a sequential resilver
  • zfs wait, zpool wait — to wait for long running background operations to complete
  • zfs redact, zfs send –redact — to generate a redacted send stream
  • zfs send –saved — to send a partially received dataset
  • zfs rename -u — to rename a filesystem without remounting
  • zfs umount -u — to unload keys for an encrypted filesystem when it’s unmounted

Among other notable changes, OpenZFS 2.0.0 includes:

  • Enabled the systemd zfs-mount-generator by default on Linux
  • Improved bootloader support
  • Optionally colorized zpool status output
  • SIMD optimizations
  • Optimized AES-GCM encryption performance
  • More efficient ARC and memory management
  • Faster zfs send and zfs receive performance for small record sizes

If you want to try the new release, check out the Getting Started page that will guide you to install OpenZFS on your FreeBSD or Linux-based operating system.

Sarvottam Kumar

Sarvottam Kumar

Sarvottam Kumar is a software engineer by profession with interest and experience in Blockchain, Angular, React and Flutter. He loves to explore the nuts and bolts of Linux and share his experience and insights of Linux and open source on the web/various prestigious portals.
More From Fossbytes

Latest On Fossbytes

Find your dream job