Alpine Linux

Contents

Installation

Note: this is for installing ZFS on an existing Alpine installation. To use ZFS as root file system, see below.

  1. Install ZFS package:

    apk add zfs zfs-lts
    
  2. Load kernel module:

    modprobe zfs
    

Automatic zpool importing and mount

To avoid needing to manually import and mount zpools after the system boots, be sure to enable the related services.

  1. Import pools on boot:

    rc-update add zfs-import default
    
  2. Mount pools on boot:

    rc-update add zfs-mount default
    

Root on ZFS