From db45e9c9e7fe56d8fc84b4bad7794853b9ff3685 Mon Sep 17 00:00:00 2001 From: stackcoder Date: Wed, 13 Sep 2023 17:54:02 +0200 Subject: [PATCH] Stop udev before zpool export In my setup systemd-udevd reproducible locks and prevent exporting the zpool with: `pool is busy`. After stopping udev I was able to export the zpool. However shutting it down before rebooting the whole machine should not make it worse. Also much nicer than booting into an "dirty" zpool within initramfs. --- docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst b/docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst index 4091116be..a9f3e65e9 100644 --- a/docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst @@ -940,6 +940,7 @@ Step 6: First Boot mount | grep -v zfs | tac | awk '/\/mnt/ {print $3}' | \ xargs -i{} umount -lf {} + systemctl stop udev zpool export -a #. If this fails for rpool, mounting it on boot will fail and you will need to