After upgrade to 6.0, my ZFS mountpoints no longer attach on boot. If I run zfs mount manually, they will attach but they are not coming up on boot. PVE recognizes and sees them:
configured in storage.cfg:
mountpoints exist:
zfs-mount service runs:
It creates the /zfs_pool folder but none of the subdirectories:
unless i run zfs mount manually:
Any ideas why the zfs mounts aren't attaching? I'm sure it's something dumb I am forgetting, but I'm at a loss here.
Code:
# pvesm status
Name Type Status Total Used Available %
local dir active 59600812 25246548 31297012 42.36%
local-lvm lvmthin active 167772160 41070624 126701535 24.48%
zfs1 zfspool active 5656018404 1383865596 4272152808 24.47%
configured in storage.cfg:
Code:
zfspool: zfs1
pool zfs_pool
blocksize 4k
content images,rootdir
sparse 0
mountpoints exist:
Code:
# zfs list -r -o name,mountpoint,mounted
NAME MOUNTPOINT MOUNTED
zfs_pool /zfs_pool no
zfs_pool/subvol-101-disk-1 /zfs_pool/subvol-101-disk-1 no
zfs_pool/subvol-102-disk-0 /zfs_pool/subvol-102-disk-0 no
zfs_pool/subvol-103-disk-1 /zfs_pool/subvol-103-disk-1 no
zfs_pool/subvol-107-disk-0 /zfs_pool/subvol-107-disk-0 no
zfs_pool/subvol-111-disk-0 /zfs_pool/subvol-111-disk-0 no
zfs_pool/vm-201-disk-1 - -
zfs_pool/vm-202-disk-0 - -
zfs_pool/vm-205-disk-0 - -
zfs-mount service runs:
Code:
# systemctl status zfs-mount.service
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enab
Active: active (exited) since Tue 2019-07-16 13:19:59 EDT; 3min 1s ago
Docs: man:zfs(8)
Process: 911 ExecStart=/sbin/zfs mount -O -a (code=exited, status=0/SUCCESS)
Main PID: 911 (code=exited, status=0/SUCCESS)
Jul 16 13:19:59 icarus systemd[1]: Starting Mount ZFS filesystems...
Jul 16 13:19:59 icarus systemd[1]: Started Mount ZFS filesystems.
It creates the /zfs_pool folder but none of the subdirectories:
Code:
root@icarus:/# cd /zfs_pool/
root@icarus:/zfs_pool# ls -lah
total 8.0K
drwxr-xr-x 2 root root 4.0K Jul 16 13:20 .
drwxr-xr-x 24 root root 4.0K Jul 16 13:20 ..
root@icarus:/zfs_pool#
unless i run zfs mount manually:
Code:
root@icarus:/zfs_pool# zfs mount -a
root@icarus:/zfs_pool# zfs list -r -o name,mountpoint,mounted
NAME MOUNTPOINT MOUNTED
zfs_pool /zfs_pool yes
zfs_pool/subvol-101-disk-1 /zfs_pool/subvol-101-disk-1 yes
zfs_pool/subvol-102-disk-0 /zfs_pool/subvol-102-disk-0 yes
zfs_pool/subvol-103-disk-1 /zfs_pool/subvol-103-disk-1 yes
zfs_pool/subvol-107-disk-0 /zfs_pool/subvol-107-disk-0 yes
zfs_pool/subvol-111-disk-0 /zfs_pool/subvol-111-disk-0 yes
zfs_pool/vm-201-disk-1 - -
zfs_pool/vm-202-disk-0 - -
zfs_pool/vm-205-disk-0 - -
root@icarus:/zfs_pool# cd ..
root@icarus:/# cd /zfs_pool/
root@icarus:/zfs_pool# ls -lah
total 31K
drwxr-xr-x 7 root root 7 Jun 26 14:46 .
drwxr-xr-x 24 root root 4.0K Jul 16 13:20 ..
drwxr-xr-x 2 root root 2 Sep 18 2018 subvol-101-disk-1
drwxr-xr-x 22 root root 22 May 1 15:35 subvol-102-disk-0
drwxrwxrwx 5 1000 1000 5 Aug 17 2018 subvol-103-disk-1
drwxr-xr-x 22 root root 22 Aug 27 2018 subvol-107-disk-0
drwxr-xr-x 4 root root 4 Nov 2 2018 subvol-111-disk-0
Any ideas why the zfs mounts aren't attaching? I'm sure it's something dumb I am forgetting, but I'm at a loss here.