.recycle folder

plato79

Member
Nov 24, 2020
25
7
23
45
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!