A bug report of sorts to raise - I just popped a new disk in (fresh out of a virgin anti static bag) and went to use the plugin.
I have previously used it to pre clear another disk, which (perhaps unrelated) was the same make/model/capacity.
The disk shows as pre clear having already completed, so there is no option to start it. Similarly in the main unraid dashboard it shows in Unassigned Devices as "Preclear in progress... Preclear Finished Successfully!"
I suspect this is because I have a permanently empty bay which I use for preclearing, then when its complete I move the drive to its 'correct' location. This means (again, speculative) that the new drive has come up with the same sdX as the previous successful pre clear, and the plugin thinks its already been dealt with.
If I run the old-style preclear_disk.sh script with -l, it does indeed identify this new one as being in need of a pre clear, and this serves as my stopgap method using the old screen approach.
Im not sure if a reboot would fix this, and its not a show stopper by any means, but I thought it couldn't hurt to raise it. Thank you for your ongoing efforts, gfjardim