[SOLVED] Automont ZFS after update

lilp

Renowned Member
Feb 10, 2016
63
1
73
37
Hello,
I juste update Proxmox from 5.4 to 6.2 following instruction from Update Proxmox.

But after restart my server, I can't mount my ZFS :
Code:
zfs list
NAME                         USED  AVAIL     REFER  MOUNTPOINT
tank                        9,29T   938G      163K  /tank
tank/Backup                 25,3G   938G     25,3G  /tank/Backup
tank/Downloads               520G   938G      496G  /tank/Downloads
tank/Movies                 6,35T   938G     6,35T  /tank/Films
tank/Owncloud                306G   938G      306G  /tank/Owncloud
tank/TvShows                1,98T   938G     1,98T  /tank/TvShows
tank/pve                     132G   938G      186K  /tank/pve
tank/pve/subvol-100-disk-1  4,04G  4,17G     3,83G  /tank/pve/subvol-100-disk-1
tank/pve/subvol-101-disk-4  23,6G  12,7G     13,3G  /tank/pve/subvol-101-disk-4
tank/pve/subvol-102-disk-1  2,08G  11,1G     1,92G  /tank/pve/subvol-102-disk-1
tank/pve/subvol-103-disk-1  1,80G  11,3G     1,67G  /tank/pve/subvol-103-disk-1
tank/pve/subvol-104-disk-1  1,28G  11,9G     1,14G  /tank/pve/subvol-104-disk-1
tank/pve/subvol-105-disk-1  1,75G  6,42G     1,58G  /tank/pve/subvol-105-disk-1
tank/pve/subvol-106-disk-0   503M  7,51G      503M  /tank/pve/subvol-106-disk-0
tank/pve/subvol-107-disk-0  4,23G  6,54G     1,46G  /tank/pve/subvol-107-disk-0
tank/pve/subvol-108-disk-2  1,88G  11,5G     1,47G  /tank/pve/subvol-108-disk-2
tank/pve/subvol-110-disk-0  1,04G  7,10G      918M  /tank/pve/subvol-110-disk-0
tank/pve/subvol-111-disk-0  1,37G  7,82G     1,18G  /tank/pve/subvol-111-disk-0
tank/pve/subvol-112-disk-1  1,09M  8,00G      140K  /tank/pve/subvol-112-disk-1
tank/pve/subvol-112-disk-2  1,72G  11,6G     1,44G  /tank/pve/subvol-112-disk-2
tank/pve/vm-113-disk-0      86,6G  1005G     9,89G  -

So my CT and VM can't start, and I can't access to my data.

I'm a little lost for what to do.

Thanks for your help.
 
which datasets are not mounted? (output of `mount`)
check the logs since boot (`journalctl -b`) for messages from zfs or zpool.
check the output of `zfs get all tank` and `zfs get all tank/pve/subvol-100-disk-1`

I hope this helps!
 
I edit this file : /lib/systemd/system/zfs-mount.service, and added : ExecStart= /sbin/zfs mount -O -a.
After few restrat ZFS automount correctly.

Thanks for your help.
 
My suggestion would have been to set a cache-file and rebuild the initramfs.