Hi. I am having OpenMediaVault setup with zfs plugin. Every time there is a kernel update, I run into this annoying problem. Maybe it is just how it must be, but it would be nice if it could be looked at and if it is even possible to do.
My problem is that when I update the kernel it wants to rebuild it to be able to use zfs. But it is not able to do that because it does not have the headers to the new kernel. Would it be possible to when you update the kernel and having the zfs plugin installed, to tell it to install the new kernel update and the headers to the new kernel. I have to figured out how to do this without a reboot.
When I install the new kernel it does net install the headers for it.
I can then reboot after the kernel install but when it boots the zfs won't work because of the missing headers.
Then I simply have to install the new headers to the new kernel and then reboot again. Now the zfs works again but it have messed up the mounting point for the zfs because it was booted up without zfs working.
I then just have to remove the old mount point for the zfs and just remount for it to work again.
All of this could probably be avoided if it install the headers at the same time as the new kernel installs.
I hope that I am not the only one with this issue and please let me know if you want some more info to maybe fix this.
It is something that I can live with but if you was totally unaware of this you would probably as a "normal" user be scared of losing your data when this happens.