Recently, I obtained a 64-bit ARM, budget Linux laptop, the Pinebook Pro. It’s a wonderful, sleek little notebook, boasting great convenience and power-efficiency. I enjoy using it so much, it’s becoming my main machine, and I’d love love to put all of my music, audiobooks, pictures, and ebooks on it. The only problem being my media takes up a bit more than the 64 GiB available on the machine’s built-in eMMC. With a spacious microSD card in-hand, I knew it was time to get more experience with my new filesystem of choice ZFS.
This tutorial describes the steps required to install ZFS on a Pinebook Pro running the tailored version of Manjaro KDE.
The ZFS software is readily available as a DKMS module for the arm64 architecture. The following instructions detail how to install the ZFS DKMS module.
It’s likely you want to have ZFS available without having to explicitly load the DKMS module, import pools, and mount datasets every time you restart your computer. These next steps describe exactly how to avoid such nonsense.
# Load ZFS at boot zfs
Enable importing pools and mounting datasets at boot.
$ sudo systemctl enable zfs-import-cache $ sudo systemctl enable zfs-import.target $ sudo systemctl enable zfs-mount $ sudo systemctl enable zfs.target
See External Storage on the Pinebook Pro with ZFS to learn how to use ZFS to store your files on a microSD card.