openzfs-docs icon indicating copy to clipboard operation
openzfs-docs copied to clipboard

Stop udev before zpool export

Open stackcoder opened this issue 2 years ago • 4 comments
trafficstars

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.

stackcoder avatar Sep 13 '23 15:09 stackcoder

I can also reproduce this behavior on Debian Bookwork. Upcoming doc here: #444

stackcoder avatar Sep 13 '23 15:09 stackcoder

I've tried it lately, in my case it wasn't udev

gmelikov avatar Oct 03 '23 18:10 gmelikov

@gmelikov You might share what it caused in your case? Maybe this also works for me.

stackcoder avatar Oct 19 '23 10:10 stackcoder

@stackcoder unfortunately I didn't have time to investigate further, I've just manually imported pools with force on first boot.

gmelikov avatar Oct 19 '23 13:10 gmelikov