Making WHS storage management easier
Latest version: 1.0.9.8
Author: Sam Wood (signalnoise[at]idolatry[dot]org)
Windows Home Server Disk Management is an Add-In for Microsoft Windows Home Server. This Add-In is designed for users who need more detail about their server's storage status than what the standard WHS Server Storage interface provides.
Features:
You can use the information provided by Disk Management to identify, troubleshoot, and monitor the disks inside your server.
After building a 3D wireframe representation of your server using WHS Disk Management, you can select disks or drive bays to quickly identify the location and status of physical hard drives. The 3D wireframe can be rotated, moved, and zoomed in real-time.
German translations by Martin Rothschink and Max Lührig. Icons by FamFamFam and damieng.com.
For support, join the We Got Served forums and post here.
Windows Home Server Disk Management with Power Pack 1 Support
Latest version: 1.0.9.8
English: http://www.tentaclesoftware.com/WHSDiskManagement/WHSDiskManagement.1.0.9.8.msi
Deutsch: http://www.tentaclesoftware.com/WHSDiskManagement/WHSDiskManagement.1.0.9.8.de.msi
If you are updating WHS Disk Management, remember to uninstall the old version first; your current settings will be preserved. Copy the new MSI to \\server\Software\Add-Ins, then install the new version of the Add-In from the WHS Console.
If you do not have PP1 installed, you should use the latest 1.0.8.x release (v1.0.8.6) below. Version 1.0.9.8 requires PP1 RC4 or PP1 RTM
Windows Home Server Disk Management without Power Pack 1 Support
Latest version: 1.0.8.6
http://www.tentaclesoftware.com/WHSDiskManagement/WHSDiskManagement.1.0.8.6.msi
If you have PP1 installed, you must use the latest 1.0.9.x release (v1.0.9.8) above.
Upgrading from 1.0.7.x
The new 3D server wireframe code means that your old server wireframe will not be upgraded; you will need to reconfigure your server wireframe for the new system from a blank template.
The new wireframe uses a different file for storing settings, so your previous wireframe will be retained if you decide to go back to the old 1.0.7.x version.
Pre-configured Server Wireframes
If your server case or OEM model is listed below you can download a pre-configured wireframe representation of your Windows Home Server. These downloads are provided as-is, and may require some tweaking to work with your system.
To use, right-click the appropriate XML file and save it to a share on your Windows Home Server. In the Disk Management settings dialog, click "Import" and select the downloaded file. If you need to change drive path assignments or add external disks, click "Edit Current Wireframe."
Sharing your Server Wireframe
If you've made improvements to the wireframes above, or would like to share your own, please email the file to us at signalnoise[at]idolatry[dot]org. If we love it, we'll give you credit and make it available for other users here.
Unlock the wireframe by clicking the padlock icon, then use the following mouse inputs and keyboard shortcuts:
This issue appears to impact multiple Add-Ins, not just WHS Disk Management. It looks like WHS sometimes has an issue reading an MSI package for the first time, and logs incorrect information in the registry.
Luckily, WHS refers to Add-In MSI files by filename. If WHS doesn't show WHS Disk Management as a valid Add-In to install after you've copied it to the \\server\software\add-ins\ folder, try renaming the MSI file to "newWHSDiskManagement.x.x.x.x.msi" or similar.
For more information see this bug I posted on Microsoft Connect.
It is important that you uninstall the previous version first. Your settings will be preserved during the upgrade process.
Step-by-step instructions:
1. Uninstall the current version using the WHS Console.
2. Download the latest WHS Disk Management MSI to \\server\software\add-ins\.
3. (Optional) Delete the old MSI.
4. Install the latest version using the WHS Console.
Click the "cog-with-green-arrow" icon in the WHS Disk Management toolbar, on the top right of the window,
Windows Home Server "balancing storage" doesn't necessarily mean spreading files evenly across all disks. One disk with significantly higher usage than others doesn't indicate a problem.
For more information see the Drive Extender Whitepaper from Microsoft.
Prior to Power Pack 1, Microsoft only counted storage inside shared folders as taking up space in the Storage Pool. WHS Disk Management looks at all the space used on individual drives, including files outside the Storage Pool.
Some combinations of disks and disk controllers do not present this information to Windows via WMI. Sometimes rolling back to the default Windows drivers will work (reverting to stock Windows drivers works for NVIDIA nForce4 chipsets).
If your SATA controller has IDE emulation or compatibility mode enabled, your disks are identified as IDE. This can mean disk locations are erroneously identified as IDE Master or Slave.
Windows identifies SATA disks (that are not using IDE compatibility mode) as SCSI. This does not indicate an problem.
A red drive bay indicates that WHS Disk Management believes that the disk associated with that drive bay is missing. You will most likely see this for USB/1394 disks that you have disconnected.
If the disk will be missing for a long time, consider marking the drive bay as "Empty" in the Settings dialog.
This can be caused by an Add-In that allows you to minimise the WHS Console application.
To resolve the issue, restart your Windows Home Server or reset the console (Options --> Reset the WHS Console from the Console login screen).
We write all our settings to D:\folders\{AD6D2DAD-BBCB-4C4D-878C-A8A19935FD0A}\ on the server. Settings are preserved through upgrades of the Add-In; uninstalling the Add-In does not remove your settings.
If you want to entirely remove WHS Disk Management from your system, you will need to delete these XML files as well. The GUID folder cannot be deleted, however; if you delete the folder, WHS will recreate it on the next boot (this is a limitation of WHS Application Folders).
Sometimes WHS doesn't successfully uninstall some Add-Ins; you end up in a state where the WHS Add-Ins tab shows that an Add-In is installed, but the Add-In isn't loaded and you can't install an updated version.
To manually uninstall any WHS Add-In, follow these steps:
1. Make a note of the name of the Add-In that cannot be uninstalled ("WHS Disk Management 1.0.4.0" for example).
2. Log into WHS using remote desktop.
3. Locate the Add-In in Add/Remove Programs and uninstall it.
4. Open regedit and locate HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Home Server\RegisteredAdditions\.
5. Locate the subfolder that references the name of the problem Add-In ("WHS Disk Management 1.0.4.0" for example) and delete it.
6. Open and then close the WHS Console from within the remote desktop session (to free up any in-use files).
7. Navigate to C:\Program Files\Windows Home Server\.
8. If present, rename the Add-In file ("HomeServerConsoleTab.DiskMgt.dll" for example) to remove the DLL extension ("HomeServerConsoleTab.DiskMgt.xxx").
9. (Optional) Install the desired version of the Add-In through the WHS Console as normal.
No, WHS Disk Management does not run as a service. This means that when the Windows Home Server Console is closed, WHS Disk Management is not running and cannot send alerts.
Fixed: Resolved a rare crash if an ID number could not be found for a specific disk
Changed: IDE location now returns SCSI path if master/slave position cannot be determined (affects SATA controllers in IDE mode only)
Fixed: Resolved a rare issue where the WHS Disk Management settings tab would not load
Fixed: Resolved a rare crash when performance counters in Windows return corrupt data
Fixed: Resolved a rare issue where the WHS Disk Management settings tab would not load, causing "System.OutOfMemoryException: Error creating window handle" to be logged
Changed: Finalized localization support for all forms and controls
Changed: Refactored Enum processing for localization support
Changed: XML files are now tab-indented (more human readable)
Changed: Moved all new PP1 disk operation wizard strings to resource file ready for localization
Fixed: More gracefully handle malformed XML files
Added: Check disk status before running add/remove wizard (to work around no Notification sent when adding Server Backup Disk on Server Storage tab)
Changed: Cleaned up XML handling
Changed: Refactored Notification processing
Changed: No longer perform full refresh after canceling add/remove wizards
Fixed: Resolved lockup of Console when removing a disk in Server Storage tab
Fixed: LastBackupKey is now set when existing Server Backup Disk is plugged back in
Fixed: Error handling when External disk is not ejected successfully
Fixed: Now add/remove buttons are disabled until refresh is complete
Fixed: Fixed crash if removing last internal drive bay and external drive bays still remain. User is prompted to remove external drive bays first.
Added: Custom-sized Multi-disk Bays
Added: PP1 RC4 support
Changed: Add/Remove Disk wizards now much shinier
Changed: Add Disk wizard supports Server Backup disks
Changed: Remove Disk wizard supports Server Backup disks
Changed: Remove Disk wizard supports new PP1 removal verification routines
Changed: Main Tab shows Server Backup Disks as a separate group in the listview
Changed: Refresh is paused during disk remove and add operations
Fixed: Fixed crash if removing last internal drive bay and external drive bays still remain. User is prompted to remove external drive bays first.
Added: Custom-sized Multi-disk Bays
Added: Add-In is now ready for localisation (any takers for translations?)
Added: Wireframe colours manually customisable (whsdiskmgt.serverwireframe.xml, use valid HTML RGB codes or colour names, only save with Notepad in UTF-8)
Changed: Now disallow adding external disks until at least one internal disk is added
Fixed: Cleaned up wireframe wizard text
Fixed: External drive path showing as "Drive Path:"
Added: Non-disk drivebay (DVD etc) designation for wireframe
Added: Empty/unconfigured wireframe now shows "click here" text on Main tab
Added: Can manually edit case dimensions (MarginX, MarginY, MarginZ in whsdiskmgt.serverwireframe.xml; only save with Notepad in UTF-8)
Changed: A handful of icons ("Refreshing" indicator in particular is now much more Web 2.0)
Fixed: Crash in Edit on page4 if path doesn't exist
Fixed: Crash in Edit on page3 when unchecking Empty if path does not exist
Fixed: Crash in Add on page2 if returning from page3 (next is grayed out, combobox is unselected, selecting = crash)
Fixed: Full refresh while monitoring is enabled stopped temp/activity monitoring
Fixed: Starting storage wizards while monitoring is enabled stopped temp/activity monitoring
Added: Can now sort by column in the Main tab ListView (click column header for ASC, click again for DESC)
Added: Mousewheel zooms wireframe
Added: Missing disk path renders drive bay red
Added: Drive paths for External disks now include disk GUIDs (mulitple external disks on the same controller should now highlight individually)
Changed: Hid Repair toolbar button and context menu item (they were never hooked up)
Changed: Wireframe no longer reloads from saved XML after every selection change on Main tab (allows you to leave the wireframe rotated without saving changes)
Fixed: Sort order for disks numbered 10+ should now be correct
Fixed: Resolved crash on startup if a disk was missing
Fixed: Resolved crash while editing drive bay if disk was missing from path
Fixed: Now correctly updating ListView disk usage bar for non-pool disks
Fixed: Now correctly refreshing GUI after selecting non-empty drive bay with missing disk
Added: Drive bays can now share a drive path (to represent a RAID volume) - check the "Show all drive paths" box
Changed: Now cannot select an empty drive bay on the main tab
Fixed: Clicking arrows in advanced mode no longer crashes the Console if you haven't created the drive bay yet
Fixed: First drive bay in a multi-bay can now be marked as empty
Fixed: Disk usage bar now updates correctly when deselecting a drive bay on the main tab
Added: New 3D server wireframe system
Added: Customisable alert thresholds for disk and storage pool usage
Added: Add enable/disable for monitoring in Settings
Changed: Change wireframe creation to wizard system
Changed: Change disk usage bars to be more attractive
Fixed: Resolved issue with enumeration of drive paths on non-English versions of WHS
Fixed: Disk location columns are no longer empty on refresh
Fixed: Storage pool usage bar is now recalculated after all disk data is pulled
Changed: You can now copy/paste a single line from Disk Details window
Fixed: Resolved erroneous white border around main window form elements after closing Settings
Fixed: Rebuilt MSI package using latest WiX/Votive to prevent Vista from marking the installer as invalid
Added: Close/Done button on Disk Details window
Added: Copy button on Disk Details window to copy disk information to the clipboard
Changed: Settings tab now updates main window on settings close
Fixed: Buttons are no longer erroneously disabled after closing Disk Details window
Added: Real-time Disk Temperature display on main window, with adjustable refresh rate in Settings
Added: Real-time Disk Activity display on main window, with adjustable refresh rate in Settings
Added: Button on main window to globally start and stop temperature and activity monitoring (button state persists between sessions, monitoring is off by default)
Added: Tooltips for most controls
Changed: WMI data gathering speed has been significantly improved
Changed: Add-In now receives notifications from WHS when a disk is changed/added/removed and refreshes automatically
Changed: Removed "Refreshing" progress bar, replaced with animated image on main window
Changed: Disk Information window has had a makeover
Fixed: Resolved crash when opening Disk Details window for a Missing disk
Fixed: Resolved issue with displaying Add-In when WHS is set to a non-standard font size
Added: Each drive bay now has a user-editable comment field (currently only displayed in the Settings dialog)
Changed: Drive bay settings dialog now has Update/Replace functionality (previously you had to delete the old drive bay and recreate it if you wanted to make a change)
Changed: Shadow copy size is now correctly deducted from "Used Space" counters (this is more intuitive)
Changed: Misc UI improvements in Settings dialog
Fixed: Unhealthy System disks now correctly show in the Attention Required category
Known issue: Unmanaged disks mounted as mountpoints are displayed as requiring attention
Added: Disk Information now includes Volume Shadow Copy size
Changed: Storage information panel on main tab now shows disk space statistics (used, free, shadow copy size) per disk and globally
Changed: Removed disk controller and SCSI path info from storage information panel (this data is still present in the hidden listview columns and the Disk Information dialog)
Changed: Moved Disk Information button to toolbar
Fixed: Unmanaged disks with multiple drive letters are now displayed correctly
Fixed: Perpendicular/Vertical drive bays can now break to a new row manually (check the "Row End" box when adding the last bay in a row)
Fixed: Storage Wizards now cannot be closed while they are working
Fixed: Storage Wizards now show your customized disk name (if present)
Fixed: Storage Wizards now properly handle long disk names
Known issue: Unmanaged disks mounted as mountpoints are displayed as requiring attention
Fixed: Apply button now works (and settings save) when wireframe scale slider is changed
Fixed: Wireframe scale value is now read on each refresh of wireframe image
Added: Added routine to descramble HP EX74x hard drive serial numbers (it appears that the SiS 0182/1182 RAID Controller mangles disk serial numbers)
Added: Editable disk names - open the Disk Info window (double-click the disk), edit the disk's name in the drop down at the top
Added: Disk SMART status and temperature in the Disk Info window
Added: Perpendicular/Y-Axis stacking disk bays
Changed: Significant reworking of external/empty disk bays - check the appropriate boxes in the Settings dialog when adding a drive bay
Changed: Main tab list view now has disk categories (Attention Required, Storage Pool, and Unmanaged Disks)
Changed: Main tab sort order is now by Disk number
Fixed: Apply button in Settings dialog now works as expected
Added: Right-click menu for disk operations
Added: Disk information detail. Select a disk and click the info button, double click a disk, or right click a disk and select Details
Added: Non-storage pool disks with drive letters now show details (accurate free space, drive letter etc)
Added: External disks now show in wireframe (make sure you put external disks in the last column for proper drawing)
Added: Vertical internal drive bays
Changed: Color scheme for wireframe changed
Fixed: Now allow backspace in column/bay text box on Settings dialog
Fixed: Misc UI elements now disabled/enabled correctly
Fixed: Misc redraw issues with server wireframe
Fixed: Bug when opening Settings for the first time. Invalid trackbar value caused the Type drop down box to fail to build.
Fixed: Potential dataloss issue when removing disks from the storage pool.
Added: Server case wireframe diagram + customizable case configuration (see below for instructions)
Added: Progress bar for disk information refresh
First release