-
System information
Describe the problem you're observingAt boot, zfs import is clearly being attempted, because zfs import reports that the pool has already been imported. However, the pool is inaccessible until I do the following dance:
After that, the pool is accessible and services depending on the pool can be started successfully. How to reproduce the problemEverything did work at one point. Things appeared to break after I rearranged my drives to use different ports. Not sure how that could result in this issue, but it does correlate. Warning/errors/backtraces from the system logsAn excerpt from dmesg
zpool status claims the pool is online, reporting only that 'zpool upgrade' is available since upgrading to zfs 0.8.0. zfs list correctly reports usage of the pool and subpools. It's as though the mountpoint itself is the only failure. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
This could be the case as boot time importing the pool and mounting the datasets are done as two steps. I'd suggest starting by checking the status of the |
Beta Was this translation helpful? Give feedback.
-
Things seem to be a little strange, @behlendorf . It appears as though zfs.target, zfs-import.target, and zfs-mount.service were all masked. Not sure if that's at all normal?
|
Beta Was this translation helpful? Give feedback.
-
This problem persists. If anyone might have new ideas, they would be most welcome. |
Beta Was this translation helpful? Give feedback.
-
This being moved to Q&A prodded me into Googling again. Upgrading to the latest release through Debian backports and following the instructions at https://askubuntu.com/questions/1186283/how-can-i-make-zfs-datasets-mount-automatically-on-boot seems to have resolved the issue for me at last. Copied verbatim, |
Beta Was this translation helpful? Give feedback.
This being moved to Q&A prodded me into Googling again. Upgrading to the latest release through Debian backports and following the instructions at https://askubuntu.com/questions/1186283/how-can-i-make-zfs-datasets-mount-automatically-on-boot seems to have resolved the issue for me at last.
Copied verbatim,
systemctl enable zfs.target zfs-import.service zfs-mount.service
and sincezfs.target
seems to be invalid,systemctl enable zfs-import.service zfs-mount.service
should be equivalent.