I recently had a couple of 2 TB drives to spare, and thought I would put them to good use as a ZFS mirror on my Arch Linux desktop.

So I installed zfs-linux and loaded the module.

$ yay -S zfs-linux
$ sudo modprobe zfs

Nice — I made the mirror VDEV and all was good. A few days later I tried updating my system.

$ sudo pacman -Suy

looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing linux (5.10.5.arch1-1) breaks dependency 'linux=5.10.3.arch1-1' required by zfs-linux

What the crap!? 😕 Alright, I’ll update ZFS then, and wait with the Linux kernel.

$ yay -Suy --ignore linux

:: 2 Packages to upgrade.
2  aur/google-chrome  87.0.4280.88-1         -> 87.0.4280.141-1
1  aur/zfs-linux      2.0.0_5.10.3.arch1.1-1 -> 2.0.1_5.10.5.arch1.1-1

 -> Could not find all required packages:
	zfs-utils=2.0.1 (Wanted by: zfs-linux)

What? So I’ll guess I’ll try to install zfs-utils.

sigma ➜  ~ yay -S zfs-utils

[Aur:1]  zfs-utils-2.0.0-1
  1 zfs-utils                                (Installed) (Build Files Exist)

2.0.0? But I need 2.0.1… I turned off my computer and went to bed.


The next day I booted my Arch Linux desktop and typed startx, as I normally do.

Fatal server error:
[   241.557] (EE) no screens found(EE)


Reinstall the Nvidia driver maybe?

$ sudo pacman -S nvidia-dkms

==> Unable to install module nvidia/460.32.03 for kernel 5.10.5-arch1-1: Missing kernel modules tree.

So… My display driver isn’t working because of the kernel I need for ZFS? Sorry ZFS — you have to go!

$ sudo pacman -Rs zfs-linux
$ sudo pacman -Suy
$ sudo pacman -S nvidia-dkms

No errors! And X started right up 😌 But now I don’t have ZFS.

What about ZFS DKMS, maybe that will be less of a hassle…

$ yay -Ss zfs-dkms


==> ERROR: A failure occurred in prepare().
error making: zfs-dkms

Hm, alright. I guess ZFS on Arch Linux just isn’t for me… I have a new server build coming up, I think the disks will be better suited for that.

Last commit 2024-04-05, with message: Tag cleanup.