Edit: could have sworn /mnt/tank (my zfs pool) wasn’t being mounted, but just saw that my bind mount isn’t mounted, whereas /mnt/tank is. The bind mount is to a btrfs subvolume /mnt/nvme.
I probably need to reboot and gather more info, but need to make a living at the moment.
Relevant line from /etc/fstab:
/mnt/nvme/work/folder /home/john/work none bind 0 0
After I boot, I can sudo mount -a
and the pool mounts as expected, so it seems like perhaps a timing thing.
The one thing I see that might be suspect is from the journalctl log below:
systemd-udev-settle.service is deprecated. Please fix zfs-import-cache.service not to pull it in.
zfs version, uname, zpool status, zfs list
❯ zfs --version
zfs-2.2.6-1
zfs-kmod-2.2.6-1
❯ uname -r
6.10.10-200.fc40.x86_64
❯ zpool status
pool: tank
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
sda ONLINE 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
sdd ONLINE 0 0 0
logs
/home/zfs/tank_logfile ONLINE 0 0 0
cache
/home/zfs/tank_cachefile ONLINE 0 0 0
errors: No known data errors
❯ zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 22.9T 19.3T 22.9T /mnt/tank
journalctl -b | rg -i zfs
❯ journalctl -b | rg -i zfs
Oct 21 09:51:55 bluefin kernel: zfs: module license 'CDDL' taints kernel.
Oct 21 09:51:55 bluefin kernel: zfs: module license taints kernel.
Oct 21 09:51:56 bluefin kernel: ZFS: Loaded module v2.2.6-1, ZFS pool version 5000, ZFS filesystem version 5
Oct 21 09:51:56 bluefin systemd-modules-load[496]: Inserted module 'zfs'
Oct 21 09:51:55 bluefin kernel: zfs: module license 'CDDL' taints kernel.
Oct 21 09:51:55 bluefin kernel: zfs: module license taints kernel.
Oct 21 09:51:56 bluefin kernel: ZFS: Loaded module v2.2.6-1, ZFS pool version 5000, ZFS filesystem version 5
Oct 21 09:51:56 bluefin systemd-modules-load[496]: Inserted module 'zfs'
Oct 21 09:52:00 bluefin udevadm[1163]: systemd-udev-settle.service is deprecated. Please fix zfs-import-cache.service not to pull it in.
Oct 21 09:52:01 bluefin kernel: drm_suballoc_helper drm_ttm_helper i915 crct10dif_pclmul crc32_pclmul crc32c_intel drm_buddy polyval_clmulni i2c_algo_bit polyval_generic drm_display_helper nvme ghash_clmulni_intel sha512_ssse3 uas nvme_core sha256_ssse3 cec usb_storage sha1_ssse3 ucsi_acpi typec_ucsi ttm typec nvme_auth vmd pinctrl_alderlake nvidia_drm(POE) nvidia_modeset(POE) video wmi nvidia_uvm(POE) nvidia(POE) zfs(POE) spl(OE) v4l2loopback(OE) videodev mc ip6_tables ip_tables fuse i2c_dev
Oct 21 09:52:02 bluefin systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Oct 21 09:52:02 bluefin (zpool)[1968]: zfs-import-cache.service: Referenced but unset environment variable evaluates to an empty string: ZPOOL_IMPORT_OPTS
Oct 21 09:52:07 bluefin systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Oct 21 09:52:07 bluefin audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=zfs-import-cache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:52:07 bluefin kernel: audit: type=1130 audit(1729518727.490:52): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=zfs-import-cache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:52:07 bluefin systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Oct 21 09:52:07 bluefin systemd[1]: Starting zfs-mount.service - Mount ZFS filesystems...
Oct 21 09:52:07 bluefin systemd[1]: Finished zfs-mount.service - Mount ZFS filesystems.
Oct 21 09:52:07 bluefin audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=zfs-mount comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:52:07 bluefin kernel: audit: type=1130 audit(1729518727.542:53): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=zfs-mount comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:52:07 bluefin systemd[1]: Starting zfs-share.service - ZFS file system shares...
Oct 21 09:52:07 bluefin systemd[1]: Started zfs-zed.service - ZFS Event Daemon (zed).
Oct 21 09:52:07 bluefin audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=zfs-zed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:52:07 bluefin zed[2450]: ZFS Event Daemon 2.2.6-1 (PID 2450)
Oct 21 09:52:07 bluefin systemd[1]: Finished zfs-share.service - ZFS file system shares.
Oct 21 09:52:07 bluefin audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=zfs-share comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:52:07 bluefin systemd[1]: Reached target zfs.target - ZFS startup target.
systemctl status zfs.target and zfs get canmount
❯ systemctl status zfs.target
● zfs.target - ZFS startup target
Loaded: loaded (/usr/lib/systemd/system/zfs.target; enabled; preset: enabled)
Active: active since Mon 2024-10-21 09:52:07 EDT; 52min ago
Oct 21 09:52:07 bluefin systemd[1]: Reached target zfs.target - ZFS startup target.
❯ zfs get canmount /mnt/tank
NAME PROPERTY VALUE SOURCE
tank canmount on default