Yesterday I was contacted by a Home Server SMART user about a possible bug in HSS. He had a drive with bad sectors that he RMAed. He installed the new drive and saw bad sectors, and RMAed that. He wound up RMAing two or three drives and then decided there may be a bug.
After I researched this a bit, and checked the code, I confirmed it was indeed a bug. This applies to HSS v2.0.8.25 and earlier. The fix version will be 2.0.10.28.
HSS has two ways of considering a drive to be "online" for display in the UI, the automated health checking and purging of stale disks. When a drive is removed and a new one installed, Windows may reuse the device path (i.e. \\.\PHYSICALDRIVE2). If the HSS service is never restarted (i.e. manual restart, server reboot), it is possible to have multiple drives in the Registry with the same device path listed. There is also an IsOnline flag, which will be appropriately set to false for the removed drive.
Long story short, the automated health checking code appropriately checked the IsOnline flag but the UI code neglected to do so. Thus, if you installed the new drive and it came alphabetically "after" the replaced drive, the old data would continue to show in the UI, giving an erroneous result.
I coded a fix but now I need to test it. Hopefully I'll get it posted before the end of the weekend.
WORKAROUND: If this problem affects you, here's what you can do as a workaround until the fixed version is tested and deployed:
1. Open the HSS Settings. 2. Go to the Advanced tab. 3. Stop and restart the HSS service. The next step won't work without a service restart. 4. Click the Delete Stale Disks button. 5. Close Settings and return to the HSS UI. 6. Click Refresh.
The UI should now display current, correct data.
_________________ Matt Sawyer Owner, Dojo North Software, LLC
HP EX490, 4GB, E5300, 15TB - Server 2012 - Sharing and Streaming HP EX487, 4GB, E5300, 13TB - Server 2012 Essentials - Backups
|