<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 id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div>HSM over LTFS-EE runs the risk of a recall storm if files which have been migrated to tape </div>
<div>are then shared by Samba to Macs and PCs. </div>
<div>MacOS Finder and Windows Explorer will want<span style="font-size: 12pt;"> to display all the </span><span style="font-size: 12pt;">thumbnail images of a </span></div>
<div><span style="font-size: 12pt;"></span><span style="font-size: 12pt;">folder's contents, </span>which will recall lots of files from tape.</div>
<div><br>
</div>
<div>According to the Samba documentation this is preventable by setting the following </div>
<div>----------------------------------------------</div>
<div>https://www.samba.org/samba/docs/current/man-html/vfs_gpfs.8.html</div>
<div><br>
</div>
<div>gpfs:recalls = [ yes | no ]</div>
<div>When this option is set to no, an attempt to open an offline file </div>
<div>will be rejected with access denied. </div>
<div>This helps preventing recall storms triggered by careless applications like Finder and Explorer.</div>
<div><br>
</div>
<div>yes(default) - Open files that are offline. This will recall the files from HSM.</div>
<div>no - Reject access to offline files with access denied. This will prevent recalls of files from HSM. </div>
<div>Using this setting also requires gpfs:hsm to be set to yes.</div>
<div><br>
</div>
<div>gpfs:hsm = [ yes | no ]</div>
<div>Enable/Disable announcing if this FS has HSM enabled.</div>
<div>no(default) - Do not announce HSM.</div>
<div>yes - Announce HSM.</div>
<div>--------------------------------------------------</div>
<div><br>
</div>
<div>However we could not get this to work.</div>
<div><br>
</div>
<div>On Centos7/Samba4.5, smb.conf contained</div>
<div>
<div>gpfs:hsm = yes</div>
<div>gpfs:recalls = no</div>
<div><span style="font-size: 12pt;">(also tried setting </span><span style="font-size: 12pt;">gpfs:offline = yes, though this is not documented)</span><br>
</div>
<div><br>
</div>
</div>
<div>We made a share containing image files that were then migrated to tape by LTFS-EE, </div>
<div>to see if these flags were respected by OS X Finder or Windows Explorer.</div>
<div><br>
</div>
<div>Neither Mac OS X (using SMB3) or Windows 7 (using SMB2) respected the settings,</div>
<div>so that when browsing the stubs in the share, the files were recalled from tape</div>
<div>and the thumbnails displayed.</div>
<div><br>
</div>
<div>Has anyone seen these flags working as they are supposed to ?</div>
<p></p>
<p style="margin-top:0;margin-bottom:0">Many thanks for any ideas,</p>
<p style="margin-top:0;margin-bottom:0">Cameron</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div dir="ltr">
<div>Cameron Dunn<br>
Advanced Computing Systems Administrator</div>
Advanced Computing Research Centre</div>
<div dir="ltr">University of Bristol</div>
</div>
</div>
</div>
</body>
</html>