Open tyjtyj opened 3 weeks ago
I'm trying to recap because I'm not sure I've understood correctly what you mean.
snapraid status
tells the sync was in progress and did not completeWhat is your ask?
I run the snapraid sync but did not complete due to system crashed Thus the script run snapraid diff and found no change, thus it did NOT process to run snapraid sync The script ended with "SYNC - Everything OK"
However when checked found WARNING! The array is NOT fully synced.
Problem is the script only rely on snapraid diff to decided if it need to run snapraid sync and claim everything is ok even snapraid status shows "WARNING! The array is NOT fully synced."
Got it.
To resolve this problem, the script should also run a snapraid status
command and behave based on the array status.
I'll look into this and update this issue accordingly.
The system crashed last sync this the sync did not completed
Sync scrub runs fine here
SnapRAID Status
Yes. i know the version is abit old but i check your latest code and its not fix SnapRAID AIO Script version 3.2
When running snapsync status, error below should give some warning or start sync "WARNING! The array is NOT fully synced."
When the sync is really completed. This is the logs "SYNC - Everything OK"