Good day!
I am facing some issues with SnapRaid and I have no idea where the issue might be. My system has one parity drive and two pooled drives. Snapraid is configured as follows:

The scheduled diff is configured as follows:

Finally, the snapraid config looks like this:
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
autosave 0
# drives
#####################################################################
# OMV-Name: Standalone1 Drive Label:
content /srv/dev-disk-by-uuid-8c13770e-2445-485a-aaa6-9168205e3498/snapraid.content
data Standalone1 /srv/dev-disk-by-uuid-8c13770e-2445-485a-aaa6-9168205e3498
#####################################################################
# OMV-Name: POOL2 Drive Label:
content /srv/dev-disk-by-uuid-80ecf572-0de3-4f7b-aadd-03db85a12560/snapraid.content
data POOL2 /srv/dev-disk-by-uuid-80ecf572-0de3-4f7b-aadd-03db85a12560
#####################################################################
# OMV-Name: Parity_4_TB Drive Label:
parity /srv/dev-disk-by-uuid-67235391-d4ad-46aa-95cf-726fe23ebec3/snapraid.parity
exclude *.unrecoverable
exclude lost+found/
exclude aquota.user
exclude aquota.group
exclude /tmp/
exclude .content
exclude *.bak
exclude /snapraid.conf*
exclude /Downloads/
exclude /Syncthing/
Display More
The issue I am having is that the scheduled diff is running, but not properly. The scheduled diff runs every night at midnight, but it is behaving oddly:
- After the diff happens, there is no notification email (notifications are working, I already checked that). Hence n
- The diff is registered in the system logs, but says that no changes were detected (although there are indeed file changes). As a consequence, no synchronization happens.
If I run the diff command from the OMV interface manually, the diff works as expected and detects the file changes. A consequent sync commands also works as expected.
I just recently changed the parity drive and replaced one of the data drives. Before that, the scheduled diff was not working because in the snapraid configuration page I had not selected a default array. After the drive replacements, everything was working as expected. I then checked the scheduled diff and realized that there were two automated tasks to do the same thing: one of them was generated by the scheduled diff option, the other one was perhaps a carry over from my older OMV installation. I removed the old scheduled task and modified the new one to run daily. Since then, I am having the issues above.
Things that I have tried:
- Delete all snapraid scheduled tasks and create new ones
- Check that the correct array is selected under "default array"
Finally, I suspect that the issue is in the command sent by the scheduled tasks:
for conf in /etc/snapraid/omv-snapraid-*.conf; do /usr/sbin/omv-snapraid-diff ${conf}; done
The correct snapraid conf file is not omv-snapraid-*, but omv-snapraid-XXXXXXXX (where XXXXXXX is a long-ass string identifying the array I assume). Could it be that the scheduled diff fails since the wrong conf file is being addresed? If so, any suggestions how to tackle that?
Thanks in advance, and a happy new year)