If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
- 1 ZFS
- 2 Hardware Considerations
- 3 Installation
- 4 External Links
ZFS is a combined file system and logical volume manager designed by Sun Microsystems. The features of ZFS include protection against data corruption, support for high storage capacities, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs, and can be very precisely configured. The two main implementations, by Oracle and by the OpenZFS project, are extremely similar, making ZFS widely available within Unix-like systems. (Wikipedia)
ZFS, OpenZFS and ZFS on Linux
ZFS was developed to be a next generation file system by Sun Microsystems. Oracle purchased Sun Microsystems and ZFS became closed source.
OpenZFS is a project started by many of the original ZFS developers to create an open source implementation of ZFS. It is strategically reducing existing platform related differences in order to ease sharing of source code by bringing together developers from the illumos, FreeBSD, Linux, macOS, NetBSD, and Windows platforms, and a wide range of companies that build products on top of OpenZFS.
ZFS on Linux (Zol) is the implementation of OpenZFS designed to work in a Linux environment.
ZFS can be used to format a single disk or partition to make use of ZFS's powerful snapshot and replication capabilities without benefeting of ZFS's data redundancy features. In this case ZFS requires little memory resources and runs with little overhead. It even runs fine on average laptops.
If you're going to use ZFS only on a single disk or partition in your openSUSE system to benefit of its snapshot and replication features you might want to consider using Btrfs instead since it's well integrated in openSUSE via Snapper, YaST Partitioner and YaST Filesystem Snapshots tools. More information can be found in the Snapper documentation.
When using RAID-Z functionality for home and non critical use please note the following:
- It is recommended to use ECC memory if your hardware supports it.
- It is recommended to have at least 8 GB of memory in your system, preferably 1G of memory for every TB of data array capacity if the system will be under heavy use.
- The disks of the data array should be of equal size and preferably the same make,model & batch.
For critical and enterprise customers please read the ZFS documentation for more information and best practices advice.
ZFS on Root
ZFS is currently best suited for data arrays. Using ZFS on root in a Linux system is still experimental, only Ubuntu recently introduced experimental root partition support in version 19.10. openSUSE does not yet support ZFS on root. A growing number of users successfully use Btrfs on root and use ZFS on data storage disks or arrays for the best of both worlds.
The ZFS packages are not available from the standard repositories. The "Filesystem Tools" repository maintained in [openSUSE Build Service] (OBS) contains ZFS as well as a lot of updated file systems relates packages. You can set the repository and install ZFS via the GUI or the command line.
Go to the ZFS from filesystems project page on the openSUSE software portal and select your openSUSE version to install. This will install the ZFS packages as well as the repository for future updades.
Command Line Installation
# zypper addrepo https://download.opensuse.org/repositories/filesystems/openSUSE_Tumbleweed/filesystems.repo # zypper refresh # zypper install zfs
openSUSE Leap 42.3
# zypper addrepo https://download.opensuse.org/repositories/filesystems/openSUSE_Leap_42.3/filesystems.repo # zypper refresh # zypper install zfs
openSUSE Leap 15.1
# zypper addrepo https://download.opensuse.org/repositories/filesystems/openSUSE_Leap_15.1/filesystems.repo # zypper refresh # zypper install zfs
openSUSE Leap 15.0
# zypper addrepo https://download.opensuse.org/repositories/filesystems/openSUSE_Leap_15.0/filesystems.repo # zypper refresh # zypper install zfs
SLE 15 SP1
# zypper addrepo https://download.opensuse.org/repositories/filesystems/SLE_15_SP1/filesystems.repo # zypper refresh # zypper install zfs
# zypper addrepo https://download.opensuse.org/repositories/filesystems/SLE_15/filesystems.repo # zypper refresh # zypper install zfs
SLE 12 SP5
# zypper addrepo https://download.opensuse.org/repositories/filesystems/SLE_12_SP5/filesystems.repo # zypper refresh # zypper install zfs
SLE 12 SP4
# zypper addrepo https://download.opensuse.org/repositories/filesystems/SLE_12_SP4/filesystems.repo # zypper refresh # zypper install zfs
SLE 12 SP3
# zypper addrepo https://download.opensuse.org/repositories/filesystems/SLE_12_SP3/filesystems.repo # zypper refresh # zypper install zfs
- ZFS on the openSUSE Software portal
- openSUSE File Systems repository root
- OBS Filesystem tools and FUSE-related packages
External Introductions and overviews
- Article: Ars walk through: Using the ZFS next-gen filesystem on Linux by Jim Salter for Ars Technica published February 23, 2014
- Article: Digging into the new features in OpenZFS post-Linux migration by Jim Salter for Ars Technica published June 6, 2019
- Video: OpenZFS Basics by Matt Ahrens and George Wilson 1h:28m video from the OpenZFS channel on YouTube published May 14, 2018.
- Video: Becoming a ZFS Ninja Part 1 by Ben Rockwood speaks at CommunityOne, June 2009.
- Video: Becoming a ZFS Ninja Part 2 by Ben Rockwood speaks at CommunityOne, June 2009.
- Video: Open-ZFS Bootcamp 1h:42m video by Linda Kateley on YouTube published Oct 14, 2014.
- Tutorial: Install ZFS on Debian GNU/Linux A multipart in depth tutorial by Aaron Toponce published in 2012-2013.