Thanks Christof,
we had left out "gpfs" from the
now Explorer on Windows 7 and 10 do not recall the file while viewing the folder with "Large icons"
and a standard icon with an X is displayed.
But after the file is then opened and recalled, the icon displays the thumbnail image and the OFFLINE flag is lost.
Also as you observed, Finder on MacOSX 10.13 ignores the file's offline flag,
so we still risk a recall storm caused by them.
All the best,
Cameron
----- Original message -----
From: Cameron Dunn <Cameron.Dunn@bristol.ac.uk>
Sent by: gpfsug-discuss-bounces@spectrumscale.org
To: "gpfsug-discuss@spectrumscale.org" <gpfsug-discuss@spectrumscale.org>
Cc:
Subject: [gpfsug-discuss] preventing HSM tape recall storms
Date: Tue, Jul 3, 2018 6:22 AM
HSM over LTFS-EE runs the risk of a recall storm if files which have been migrated to tapeare then shared by Samba to Macs and PCs.MacOS Finder and Windows Explorer will want to display all the thumbnail images of afolder's contents, which will recall lots of files from tape.According to the Samba documentation this is preventable by setting the following----------------------------------------------https://www.samba.org/samba/docs/current/man-html/vfs_gpfs.8.htmlgpfs:recalls = [ yes | no ]When this option is set to no, an attempt to open an offline filewill be rejected with access denied.This helps preventing recall storms triggered by careless applications like Finder and Explorer.yes(default) - Open files that are offline. This will recall the files from HSM.no - Reject access to offline files with access denied. This will prevent recalls of files from HSM.Using this setting also requires gpfs:hsm to be set to yes.gpfs:hsm = [ yes | no ]Enable/Disable announcing if this FS has HSM enabled.no(default) - Do not announce HSM.yes - Announce HSM.--------------------------------------------------However we could not get this to work.On Centos7/Samba4.5, smb.conf containedgpfs:hsm = yesgpfs:recalls = no(also tried setting gpfs:offline = yes, though this is not documented)We made a share containing image files that were then migrated to tape by LTFS-EE,to see if these flags were respected by OS X Finder or Windows Explorer.Neither Mac OS X (using SMB3) or Windows 7 (using SMB2) respected the settings,so that when browsing the stubs in the share, the files were recalled from tapeand the thumbnails displayed.Has anyone seen these flags working as they are supposed to ?
Many thanks for any ideas,
Cameron
Cameron DunnAdvanced Computing Research Centre
Advanced Computing Systems AdministratorUniversity of Bristol_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss