It is currently Thu Mar 28, 2024 9:15 am

All times are UTC - 7 hours [ DST ]

Recent News:



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Nov 25, 2011 10:47 am 
Offline
Top Contributor
Top Contributor
User avatar

Joined: Sun Jan 10, 2010 9:25 pm
Posts: 634
Location: Shelby Township, MI
Thanks: 78
Thanked: 152 times in 110 posts
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


Top
 Profile  
Thanks  

Attention Guest: Remove this ad by Registering with the MediaSmartServer.net Forums. It's Free!
PostPosted: Fri Nov 25, 2011 9:54 pm 
Offline
Top Contributor
Top Contributor
User avatar

Joined: Sun Jan 10, 2010 9:25 pm
Posts: 634
Location: Shelby Township, MI
Thanks: 78
Thanked: 152 times in 110 posts
This bug is fixed, and release v2.0.10.28 is now available for download. You can view the product page here: http://www.dojonorthsoftware.net/Freebi ... SMART.aspx.

Direct download here: http://www.dojonorthsoftware.net/Freebi ... .10.28.zip

The installer includes the prerequisite VC++ 2008 Runtime, which will be installed if it is absent.

_________________
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


Top
 Profile  
Thanks  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group