Hi,
This is my first post, so hello to everyone.
I have some strange problem with latest omv-snapraid-diff. There was a thread with "else" error, but it was updated already. Now, tonight strange thing happened:
First of all - scheduled diff completed and stopped - please note the start and stop times :
278010 equal
20 added
1165 removed
72 updated
0 moved
0 copied
0 restored
There are differences!
SnapRAID DIFF finished - czw, 22 sie 2019, 03:10:44 CEST
----------------------------------------
Changes detected [A-20,D-1165,M-0,C-0,U-72] -> there are updated files (72) but update threshold (0) is disabled. Running SYNC Command
Number of deleted files (1165) exceeded threshold (100). NOT proceeding with sync job.
Please run sync manually if this is not an error condition
Alles anzeigen
Now, second mail - this is something new:
Changes detected [A-20,D-1165,M-0,C-0,U-72] -> deleted files (1165) is below threshold (100). Running SYNC Command
SnapRAID SYNC Job started - czw, 22 sie 2019, 03:10:45 CEST
----------------------------------------
Self test...
Loading state from /srv/dev-disk-by-label-dane1/snapraid.content...
Scanning disk Dane1...
Scanning disk Dane2...
Using 211 MiB of memory for the file-system.
Initializing...
Hashing...
0%, 0 MB
Alles anzeigen
So one second AFTER diff, there goes SYNC script, that says 1165 is BELOW 100 and start SYNCINC. I'm no script master, but trying to view current latest omv-snapraid-diff, it seems to me, there is no exit condition after DELETE threshold check. Can someone please confirm, if it's a bug, or there is something wrong with my installation, and I shall configure it from sractch?
I have NO separate cron job for sync job - looks like its called from diff.
All the threshold stuff was working till last two updates, but it's strange no one is complaining about it