Fix removal of SMART alerts
I had an old drive that had a lot of pending bad sectors. I replaced the drive but the UI doesn't clear the error message after replace/resilver. I believe this should be cleared after a drive is replaced without requiring a reboot.
Current drive (smartctl -a <drive>):
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
#4 Updated by William Grzybowski almost 2 years ago
- Status changed from Blocked to Unscreened
- Assignee changed from William Grzybowski to Vladimir Vinogradenko
- Reason for Blocked deleted (
Waiting for feedback)
Vladimir can you investigate this please? There is code to remove smart alerts in middleware disk plugin based on devd event, that must be malfunctioning for some reason.