Hello,
although I've been using Snapraid for some time now I just recently started using the diff script and I got a bit confused about the delete threshold.
If I open up the Diff Script Settings it reads the following for the delete threshold: "Define threshold of files deleted to start the sync-process. default = 0 to make sure no sync process is started while testing or if there are any deleted files."
So I assumed if I leave the value at 0 the diff script checks for differences and then does nothing regardless how many files have been deleted since the last sync.
But then I received the output of the diff script via email and it read
Changes detected [A-20,D-54355,M-0,C-0,U-2] -> there are deleted files (54355) but delete threshold (0) is disabled. Running SYNC Command
SnapRAID SYNC Job started - Wed Mar 8 04:00:09 CET 2017
In this context delete threshold = 0 apparently means that the threshold is disabled and the script will run a sync regardless how many files have been deleted.
These are my current settings:
So what does the delete threshold actually do? And how can I use it correctly?
Thanks a lot for any help in advance.
Edit:
I'm running OMV 3.0.65 with kernel 4.9.0-0.bpo.1-amd64 and openmediavault-snapraid 3.6.2.