openzfs / openzfs-docs

OpenZFS Documentation
https://openzfs.github.io/openzfs-docs/
135 stars 194 forks source link

Stop udev before zpool export #454

Open stackcoder opened 1 year ago

stackcoder commented 1 year ago

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 commented 1 year ago

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

gmelikov commented 1 year ago

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

stackcoder commented 1 year ago

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

gmelikov commented 1 year ago

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