<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Transition of the Farm /cache filesystem to read-only from farm and ifarm</b> </div>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 </div>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>What is changing?</b> </div>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
On November 19, 2024, during monthly maintenance, the /cache filesystem will be changed to read-only access from farm, ifarm, Globus, and XRootD Data Transfer Nodes. After that date, files will only be copied to /cache via in the following ways: </div>
<ul style="direction: ltr; text-align: left; margin-top: 0px; margin-bottom: 0px;">
<li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
The jcache command, which reads files from tape and writes them into /cache </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
The jput command, which writes files to tape and can optionally place a copy immediately in /cache when the<i> -cache</i> flag is specified </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
Data ingest from the experimental halls using the jmirror command with a regular expression pattern match for data retention in cache. </div>
</li></ul>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 </div>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Why is this happening?</b> </div>
<ul style="direction: ltr; text-align: left; margin-top: 0px; margin-bottom: 0px;">
<li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
The new system will ensure that files move to tape promptly and that /cache is an accurate subset of files stored on tape.  </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
In the current /cache filesystem, there are a commonly cases where files are in conflict with tape storage, leading to work slow downs. </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
Small file handling has been a historic problem, and many small files in /cache were not stored on tape or backed up in any way </div>
</li></ul>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 </div>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>How will this affect farm job workflows?</b> </div>
<ul style="direction: ltr; text-align: left; margin-top: 0px; margin-bottom: 0px;">
<li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
Jobs that are part of a SWIF workflow with an output specification to /cache will continue to work. </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
Jobs that attempt to write directly to cache using open(), cp, mv, or other POSIX tools will fail.  Output from slurm jobs that are not part a SWIF workflow should be stored on /volatile and will need to be moved to tape manually using jput on ifarm.  Generally,
 slurm workflows that need to interact with tape would be better implemented using SWIF. </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
Note that jput is not available on (non-interactive) farm nodes because it may queue, stalling the farm node and potentially timing out the job. </div>
</li></ul>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 0px 48px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 </div>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>What is not changing?</b> </div>
<ul style="direction: ltr; text-align: left; margin-top: 0px; margin-bottom: 0px;">
<li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
Cache deletion policy: remains unchanged. </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
Cache file pinning: continues to work as before. </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
jcache client: continues to work as before.</div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
SWIF outputs to /cache: continues to work as before.</li></ul>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px 48px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 </div>
<div style="direction: ltr; text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px 0px 10.6667px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
References: </div>
<ul style="direction: ltr; text-align: left; margin-top: 0px; margin-bottom: 0px;">
<li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
KBA: <u><a href="https://jlab.servicenowservices.com/scicomp?id=kb_article_view&sysparm_article=KB0015468" id="LPlnk243594" class="OWAAutoLink" title="https://jlab.servicenowservices.com/scicomp?id=kb_article_view&sysparm_article=KB0015468">Migration to read-only
 cache</a></u> </div>
</li><li style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); direction: ltr; margin-top: 0px; margin-bottom: 0px;">
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 0px;">
KBA: <span style="color: rgb(5, 99, 193);"><u><a href="https://jlab.servicenowservices.com/scicomp?id=kb_article_view&sysparm_article=KB0014686" target="_blank" id="OWA1a162a9c-73af-e73f-bfbe-cb70093cac25" class="Hyperlink SCXW7131722 BCX0 OWAAutoLink" rel="noreferrer noopener" style="color: rgb(5, 99, 193); margin: 0px;">Computing
 Coordinators</a></u></span> </div>
</li></ul>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>