.recycle folder

plato79

Member
Nov 24, 2020
25
9
23
46
Hi,

I just found ".recycle" folder under my ZFS datasets, and it seems it stored all deleted files there..

Is it a feature of ZFS? It seems it's counted towards total disk space, and I didn't see any automatic emptying job or something. Is it possible to turn off this feature?
 
Found some problem on Turnkey FileSystem.
Look's like it's Samba configuration option by default:

INI:
[global]
vfs object = recycle
recycle:touch = yes
recycle:keeptree = yes
recycle:versions = yes
recycle:exclude_dir = tmp quarantine

For disable it globally (or put vfs object inside specific share name):
INI:
[global]
vfs object =

More information:
About .recycle: https://www.samba.org/samba/docs/current/man-html/vfs_recycle.8.html
About vfs object : https://wiki.samba.org/index.php/Virtual_File_System_Modules
 
Ah, I did found out this attribute earlier. But thanks for sharing it here. If anyone else have this problem they could see your answer.
 
  • Like
Reactions: damiw