Check out TR-4067

https://www.netapp.com/media/10720-tr-4067.pdf - page 97

From: Toasters <toasters-bounces@teaparty.net> on behalf of Fenn, Michael <Michael.Fenn@DEShawResearch.com>
Sent: Wednesday, August 4, 2021 5:58:58 PM
To: toasters@teaparty.net <toasters@teaparty.net>
Subject: Removing .snapshot from directory listings?
 
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.



Does anyone know if there's a way to hide .snapshot in directory listings, but have it still be accessible if you know the name?  This is how .zfs/snapshot works, and it's an (IMHO) elegant way to make snapshots accessible without having a naïve find, du, etc. at the root of the filesystem descend into deep snapshot hierarchies.

 

Note that I do see the snapdir-access field on volumes, but setting that to false seems to block access to .snapshot completely, which isn't what I want.

 

Thanks,

Michael