[slurm-users] Hide Filesystem From Slurm
Douglas Duckworth
dod2014 at med.cornell.edu
Thu Jul 11 19:33:39 UTC 2019
Thank you everyone!
We will Spank it first
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
On Thu, Jul 11, 2019 at 11:52 AM Lloyd Brown <lloyd_brown at byu.edu<mailto:lloyd_brown at byu.edu>> wrote:
We've taken the per-user-namespace approach, as my boss documented here: http://tech.ryancox.net/2013/07/per-user-tmp-and-devshm-directories.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__tech.ryancox.net_2013_07_per-2Duser-2Dtmp-2Dand-2Ddevshm-2Ddirectories.html&d=DwMDaQ&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=FtlmwwKvdNwTOpt7NYn5qNv3nnM1n_gPKkLKRf9sU2M&s=smITWE_yRmXkwcUHR-dtK5ud2wpxfEgo7GN10lr9Zw8&e=>
This setup makes sure that all user processes are in their own namespace, whether they're launched by slurm or not. We do put them inside a subdir of /tmp, but you could probably do something similar that puts them into /scratch.
Lloyd
On 7/11/19 9: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
--
Lloyd Brown
HPC Systems Administrator
Office of Research Computing
Brigham Young University
http://marylou.byu.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__marylou.byu.edu&d=DwMDaQ&c=lb62iw4YL4RFalcE2hQUQealT9-RXrryqt9KZX2qu2s&r=2Fzhh_78OGspKQpl_e-CbhH6xUjnRkaqPFUS2wTJ2cw&m=FtlmwwKvdNwTOpt7NYn5qNv3nnM1n_gPKkLKRf9sU2M&s=IFnSJ4lm3f_je9hWbeJLXW_HSs6pfoWmQIEc6kdi6KE&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190711/33b24084/attachment-0001.htm>
More information about the slurm-users
mailing list