Replies: 3 comments 4 replies
-
They're probably not mounted in whatever namespace(s) systemd is running the services in. |
Beta Was this translation helpful? Give feedback.
-
Makes sense. |
Beta Was this translation helpful? Give feedback.
-
I've tested two systems with identical platform (zfs 2.1.12 on RHEL 9.2). The latter system is hardened with ANSSI BP-028 High profile, but I can't find any parameter that could influence this behavior. |
Beta Was this translation helpful? Give feedback.
-
Hello,
This might be a bit odd, never experienced this problem with ZFS before, but here we go.
I've created a fresh zpool via
Once this is done, I can see the new mountpoint via
Everything works well so far, but I cannot use that mountpoint in any systemd service, nor cron job since those jobs won't find the FS, and use the empty mountpoint
/ice
which will not be zfs.Also, as soon as I logout from my user and login again (ssh), the FS is not mounted anymore, and I have to run
zfs mount ice
in order to get the mountpoint again.I've been running ZoL since the 0.6x days, and never ever got any of these issues before.
Any guidance would be appreciated.
Diag info:
RHEL 9.2 linux 5.14.0-284.25.1.el9_2.x86_64
ZoL 2.1.12-1 (dkms)
Nothing relevant in log files.
I noticed something strange though, if I happen to run
systemctl restart zfs-mount
, then I get my zfs mounted twice:Is there some "mount as current user" magic involved I am not aware of ?
Beta Was this translation helpful? Give feedback.
All reactions