<div dir="auto">We had the same issue when we switched to job_container plugin. We ended up running cvmfs_cpnfig probe as part of the health check tool so that the cvmfs repos stay mounted. However after we switched on power saving we ran into some race conditions (job landed on a node before the cvmfs was mounted). We ended up switching to static mounts for the cvmfs repos on the compute nodes<div dir="auto"><br></div><div dir="auto">Best</div><div dir="auto">Ümit</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 12, 2023, 09:17 Bjørn-Helge Mevik <<a href="mailto:b.h.mevik@usit.uio.no">b.h.mevik@usit.uio.no</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In my opinion, the problem is with autofs, not with tmpfs.  Autofs<br>
simply doesn't work well when you are using detached fs name spaces and<br>
bind mounting.  We ran into this problem years ago (with an inhouse<br>
spank plugin doing more or less what tmpfs does), and ended up simply<br>
not using autofs.<br>
<br>
I guess you could try using systemd's auto-mounting features, but I have<br>
no idea if they work better than autofs in situations like this.<br>
<br>
We ended up using a system where the prolog script mounts any needed<br>
file systems, and then the healthcheck script unmounts file systems that<br>
are no longer needed.<br>
<br>
-- <br>
Regards,<br>
Bjørn-Helge Mevik, dr. scient,<br>
Department for Research Computing, University of Oslo<br>
</blockquote></div>