'Disk d1 has split 0 with UUID changed from ..' on daemon page
Hello,
I have an array of 10 disks (2 parity) on snapraid since a few years.
D1 (spin disk) showed sign of failure and I replaced it with an nvme of lower capacity that I had laying around. As the data on it was irrelevant, I didn't try to recover the data and just force an empty sync.
In command line, everything was peachy. Warning from snapraid about he change of UUID that dissapears after a sync.
The daemon on the other hand keeps complaining with:
"CRITICAL: ARRAY FAILING
System health is currently FAILING.
Disk d1 has split 0 with UUID changed from ...."
I tried to stop the daemon, clear browser cache and restart the daemon to no avail.
I tried an snapraid --force-uuid fix -d d1 -l fix.log that gives no error but didn't solve the issue.
Then I put some data on the disk and after another sync, everything is now working correctly both in the command line and on the daemon page.
So it seems replacing a disk and not recovering the data (only a '.content' file on it) is not liked by the daemon.
As a test, I then tried to remove all data on it and the command line gives a classic "WARNING! All the files previously present in disk 'd1' ..are now missing or have been rewritten!" that dissapears after a '--force-empty sync'
Everything continue to work fine, both cli and web page.
I just report it in case it happened to someone else or for devs to see if the message can be improved. The issue in that case was not the UUID change but the fact that all data from the disk was not present anymore.
Snapraid is a great program!