Posts for: #solaris

OpenZFS/ZFS on Linux Releases Versions 2.2.2 and 2.1.14, Addressing Critical Data Corruption Issue

OpenZFS has released versions 2.2.2 and 2.1.14 to address a critical data corruption issue.

The bug, which was discovered due to changes in cp in coreutils 9.x, could cause data corruption due to an incorrect dirty dnode check. While it is unlikely that the bug was encountered on EL7, EL8, or EL9 when running cp, it is still recommended that users upgrade to either version 2.2.2 or 2.1.14 to ensure the fix is applied.

In addition to the data corruption fix, the release includes several other bug fixes and improvements. These include fixing ZFS so that snapshots under .zfs/snapshot are NFS visible on FreeBSD, addressing compatibility issues with Linux 6.6, and fixing build and shell-init errors on FreeBSD.

For a full list of changes and bug fixes, refer to the release notes.

ZFS on Linux (OpenZFS) Unveils Important Version 2.2.1 Update

ZFS on Linux (OpenZFS), the open-source implementation of the ZFS file system and volume manager, has released an important update, version 2.2.1. Users are recommended to update to this release, especially if they are currently running 2.2.0, to avoid the block cloning bug. Users running older versions of ZFS are unaffected by this issue.

Changes in version 2.2.1 include:

  • Disabling block cloning by default to fix a block cloning bug that could result in data corruption
  • Adding a tunable to disable BRT support
  • Auto-generating changelog during configure for packaging
  • Compatibility updates for Linux 6.6
  • Various bug fixes and optimizations

Supported Platforms:

  • Linux: compatible with 3.10 - 6.6 kernels
  • FreeBSD: compatible with releases starting from 12.2-RELEASE

For more information and to download the latest release, visit the OpenZFS GitHub page.

OpenZFS Releases Version 2.2.0

OpenZFS has announced the release of version 2.2.0, an open-source implementation of the ZFS file system and volume manager. This release comes with several new features and performance improvements.

One notable new feature is block cloning, which allows for the creation of shallow copies of files or parts of files. This facility is used to implement “reflinks” or “file-level copy-on-write”. Additionally, Linux container support has been added, including support for Linux-specific container interfaces such as renameat(2), overlayfs, idmapped mounts in a user namespace, and namespace delegation support for containers.

Another important addition is the scrub error log, which allows zpool status to report all affected filesystems, snapshots, and clones when a shared corrupt block is found. The zpool scrub -e command can be used to perform a fast, targeted repair of known damaged blocks.

In terms of performance, this release introduces fully adaptive ARC, which allows the ARC to better adjust to highly dynamic workloads and minimizes the need for manual workload-dependent tuning. It also includes optimized SHA2 and Edon-R checksum implementations, as well as improvements in prefetching and general optimization.

For those interested in the technical details, the complete change log and module options are available in the OpenZFS documentation.

Overall, the release of version zfs-2.2.0 brings exciting new features and performance improvements to the OpenZFS/ZFS on Linux community. It is recommended for users who are looking to enhance their server, Linux, DevOps, and home lab environments.

For more information, please refer to the OpenZFS documentation for Linux and FreeBSD, and the complete change log.

OpenZFS Releases 2.2.0-rc5

OpenZFS has launched release candidate 5 (rc5) of version v2.2.0.

The release includes several changes and updates, including improvements to ZIL (ZFS Intent Log), rpm fixes, enhancements to zfsconcepts, and updates to ARC (Adaptive Replacement Cache) headers. Additionally, there are compatibility updates for Linux and FreeBSD platforms.

Here are the supported platforms for this release:

  • Linux: compatible with 3.10 - 6.5 kernels
  • FreeBSD: compatible with releases starting from 12.2-RELEASE

The release candidate includes numerous bug fixes and enhancements to improve stability and performance. It is recommended for users who are interested in testing the latest features and providing feedback to the OpenZFS community.

To learn more and download the release candidate, visit the official OpenZFS GitHub page at https://github.com/openzfs/zfs/releases/tag/zfs-2.2.0-rc5.

OpenZFS/ZFS on Linux Releases Version zfs-2.1.13

The OpenZFS project has released version 2.1.13, of the open-source implementation of the ZFS file system and volume manager. ZFS supports features like data compression, data deduplication, copy-on-write clones, snapshots, and RAID-Z. It also supports the creation of virtual devices.

The new version is compatible with Linux kernels 3.10 to 6.5 and FreeBSD releases starting from 12.2-RELEASE. The release includes various changes and fixes, including improvements for Linux compatibility and bug fixes for issues related to automounted snapshots, L2ARC write size calculation, and memory leaks. The update also includes enhancements for zed, zfs-dkms rpm, and bash completion. Overall, the release brings improved stability and compatibility for users of OpenZFS/ZFS on Linux.

ZFS is a great choice for home servers and use on DIY network attached storage units, and is the file system that TrueNAS uses. It can also run perfectly well on the Raspberry Pi.

See the full release notes here.

Enable Third-Party Repositories on SmartOS

This (very) short tutorial will show how to enable third-party repositories on SmartOS. SmartOS supports AMD Ryzen and AMD EPYC CPUs since a while back, in addition to the long-supported Intel CPUs, such as the Intel Xeon. Changing repositories is helpful for European users of SmartOS since their Manta storage is located in the region of the US East and can be pretty slow for European users. This article assumes you have a working SmartOS host, are logged in as root, and will use the datasets.
Read more →