After last update in no-subscription on one of my test servers, zfs fails to import and mount datasets on boot.
PVE however creates directories which will then prevent zfs from mounting the datasets afterwards. Also one of my pools needs manually importing now instead of automatic mounting like before.
Some debugging:
No zfs properties were changed.
PVE however creates directories which will then prevent zfs from mounting the datasets afterwards. Also one of my pools needs manually importing now instead of automatic mounting like before.
Some debugging:
Code:
# journalctl -lu zfs-import-cache.service
-- Logs begin at Thu 2017-08-03 08:35:19 CEST, end at Thu 2017-08-03 08:47:18 CEST. --
Aug 03 08:35:20 test-pve systemd[1]: Starting Import ZFS pools by cache file...
Aug 03 08:35:26 test-pve zpool[3554]: cannot import 'test-vm': no such pool or dataset
Aug 03 08:35:26 test-pve zpool[3554]: Destroy and re-create the pool from
Aug 03 08:35:26 test-pve zpool[3554]: a backup source.
Aug 03 08:35:26 test-pve systemd[1]: zfs-import-cache.service: Main process exited, code=exited, status=1/FAILURE
Aug 03 08:35:26 test-pve systemd[1]: Failed to start Import ZFS pools by cache file.
Aug 03 08:35:26 test-pve systemd[1]: zfs-import-cache.service: Unit entered failed state.
Aug 03 08:35:26 test-pve systemd[1]: zfs-import-cache.service: Failed with result 'exit-code'.
Code:
# journalctl -lu zfs-mount.service
-- Logs begin at Thu 2017-08-03 08:35:19 CEST, end at Thu 2017-08-03 08:47:18 CEST. --
Aug 03 08:35:26 test-pve systemd[1]: Starting Mount ZFS filesystems...
Aug 03 08:35:26 test-pve zfs[5535]: cannot mount '/rpool': directory is not empty
Aug 03 08:35:27 test-pve systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
Aug 03 08:35:27 test-pve systemd[1]: Failed to start Mount ZFS filesystems.
Aug 03 08:35:27 test-pve systemd[1]: zfs-mount.service: Unit entered failed state.
Aug 03 08:35:27 test-pve systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
Code:
# zfs mount -a
cannot mount '/rpool': directory is not empty
cannot mount '/test-vm/data': directory is not empty
cannot mount '/test-vm/vms': directory is not empty
No zfs properties were changed.