I updated/-graded the system today and rebooted:
After the reboot, all datasets are no longer available. The status of <systemctl status zfs-mount.service> shows me ...
My question is now which command I have to use in order to get all datasets mounted automatically again after each reboot?
Any help is much appreciated. Thank you in advance.
Regards
Mike
Start-Date: 2020-08-07 18:12:21
Commandline: apt upgrade
Upgrade: libpve-guest-common-perl:amd64 (3.1-1, 3.1-2), libjson-c3:amd64 (0.12.1+ds-2, 0.12.1+ds-2+deb10u1)
End-Date: 2020-08-07 18:12:26
After the reboot, all datasets are no longer available. The status of <systemctl status zfs-mount.service> shows me ...
My datasets are still there, checked with zfs list:root@pve2:/var/log/apt# systemctl status zfs-mount.service
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-08-07 21:40:43 CEST; 13min ago
Docs: man:zfs(8)
Process: 1629 ExecStart=/sbin/zfs mount -a (code=exited, status=1/FAILURE)
Main PID: 1629 (code=exited, status=1/FAILURE)
Aug 07 21:40:43 pve2 systemd[1]: Starting Mount ZFS filesystems...
Aug 07 21:40:43 pve2 zfs[1629]: cannot mount '/storage': directory is not empty
Aug 07 21:40:43 pve2 systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 21:40:43 pve2 systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
Aug 07 21:40:43 pve2 systemd[1]: Failed to start Mount ZFS filesystems.
A manual mount with <zfs mount -O -a> brings all the datasets back to the 'right place' until I reboot the machine again.root@pve2:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
storage 129G 7.78T 29.3G /storage
storage/backups 24K 7.78T 24K /storage/backups
storage/iso 24K 7.78T 24K /storage/iso
storage/vm 100G 7.78T 24K /storage/vm
storage/vm/vm-100-disk-0 100G 7.86T 9.72G -
My question is now which command I have to use in order to get all datasets mounted automatically again after each reboot?
Any help is much appreciated. Thank you in advance.
Regards
Mike
Last edited: