You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Fedora 35 (kernel 5.14.10) where the /home/ dir is on ZFS (2.1.1). I have a NAS that exports several shares via NFS v4, which I've configured in fstab using the x-systemd.automount mechanism (with x-systemd.requires=network-online.target,x-systemd.requires=zfs.target for good measure).
If I set the mount points for my NFS shares to live under /mnt/ (ext4), accessing the folders triggers them to mount automatically and my NAS files are shown. However, if I set the mount point to live under my home directory (on ZFS), accessing the folders does not result in the NFS shares being mounted automatically, nor list files from my NAS. If I manually execute systemctl start home-myaccount-mynas-myshare.mount on one of the NAS share mount files generated from fstab by systemd, the share is mounted correctly under my home dir, and the NAS files are accessible.
I'm wondering if this failure to trigger the automount is a limitation of ZFS on Linux, or likely something else?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm running Fedora 35 (kernel 5.14.10) where the
/home/
dir is on ZFS (2.1.1). I have a NAS that exports several shares via NFS v4, which I've configured in fstab using thex-systemd.automount
mechanism (withx-systemd.requires=network-online.target,x-systemd.requires=zfs.target
for good measure).If I set the mount points for my NFS shares to live under
/mnt/
(ext4), accessing the folders triggers them to mount automatically and my NAS files are shown. However, if I set the mount point to live under my home directory (on ZFS), accessing the folders does not result in the NFS shares being mounted automatically, nor list files from my NAS. If I manually executesystemctl start home-myaccount-mynas-myshare.mount
on one of the NAS share mount files generated from fstab by systemd, the share is mounted correctly under my home dir, and the NAS files are accessible.I'm wondering if this failure to trigger the automount is a limitation of ZFS on Linux, or likely something else?
Much Thanks!
Beta Was this translation helpful? Give feedback.
All reactions