<div dir="auto">Not sure if still supported but you could try tagging all the files/directories in a fileset with the immutable attribute using the policy engine.  Not sure if that will cover what you need.<div dir="auto"><br></div><div dir="auto">You can simply use policy engine to add or subtract that attribute at will.  It's biggest drawback may be exactly what you're looking for.</div><div dir="auto"><br></div><div dir="auto">You could get fancy and mount the gpfs volume twice once read-wrire and a second read-only.. then use mount command to mount over the read only filesystem ontop of the read-write filesystem at the appropriate junctures.  You'd have to do this on each node you want affected...</div><div dir="auto"><br></div><div dir="auto">So:</div><div dir="auto">/FileSys/FileSetA</div><div dir="auto">/FileSys/FileSetB</div><div dir="auto"><br></div><div dir="auto">Mount FileSys again as /ro/FileSys and share out /ro/FileSys/FileSetA use read only option on mount.</div><div dir="auto"><br></div><div dir="auto">Mount /ro/FileSys/FileSetA ontop of /FileSys/FileSetA.</div><div dir="auto"><br></div><div dir="auto">I dont have root on my GPFS filesystems so I can't test this out... But would work on most other Unit FSs.</div><div dir="auto"><br></div><div dir="auto">Alec</div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 20, 2022, 3:10 AM Billich  Heinrich Rainer (ID) <<a href="mailto:heinrich.billich@id.ethz.ch">heinrich.billich@id.ethz.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I just wonder if I can  set a fileset to readonly - or link it as readonly. When I do data migration or finished a project which has it’s own fileset  assigned it would be nice if I could just set the fileset to readonly to make sure that nothing and nobody can do any changes. There may be more cases …<br>
<br>
Immutability seems overkill, and I can’t revert it<br>
<br>
Related: If I setup an afm cache fileset in readonly mode – is this enforced on the cache side or just by convention? The afm gateways need to write to cache anyway, so probably other processes can, too?<br>
<br>
If anybody could comment and maybe also explain why it’s been designed the way it is?<br>
<br>
Thank you,<br>
<br>
Heiner<br>
<br>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://spectrumscale.org" rel="noreferrer noreferrer" target="_blank">spectrumscale.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" rel="noreferrer noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br>
</blockquote></div>