[slurm-users] Hide Filesystem From Slurm

Brian Andrus toomuchit at gmail.com
Thu Jul 11 15:34:11 UTC 2019


I don't think that is possible. At least not easily....

I just symlink /tmp to /scratch on systems I use.

That way folks can get used to /scratch, but if anything has hard-coded 
/tmp, it will still work.

Brian Andrus

On 7/11/2019 8:19 AM, Douglas Duckworth wrote:
> Hello
>
> I am wondering if it's possible to hide a file system, that's world 
> writable on compute node, logically within Slurm.  That way any job a 
> user runs cannot possible access this file system.
>
> Essentially we define $TMPDIR as /scratch, which Slurm cleans up in 
> epilogue scripts, but some users still keep writing to /tmp instead 
> which we do not want.  We would use tmpwatch to clean up /tmp but I 
> would rather just prevent people from writing to it within Slurm.
>
> Thanks
> Doug
>
> Thanks,
>
> Douglas Duckworth, MSc, LFCS
> HPC System Administrator
> Scientific Computing Unit <https://scu.med.cornell.edu>
> Weill Cornell Medicine
> 1300 York Avenue
> New York, NY 10065
> E: doug at med.cornell.edu <mailto:doug at med.cornell.edu>
> O: 212-746-6305
> F: 212-746-8690
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190711/eba4eeb2/attachment.htm>


More information about the slurm-users mailing list