Storage tiers in Windows Server 2012 R2 enables the file server to automaticly move the most accessed files or storage blocks to SSD (fast) storage while rarely accessed data is stored on spindle disks (slow). This function let’s you create larger storage pools and virtual disks while maintaining good performance. In my case this gives me a performance boost in my Hyper-V environment.
My lab/demo setup looks like this:
- Connected disk cabinet with 4 x 2TB SATA disks (Hardware Raid 10).
- 2 x 240GB SSD Drives
After creating a storage pool with this disk configuration I found that “Create storage tiers on the virtual disk” was greyed out.
After some investigation I found that the Operating System was unable to classify my “Slow” storage. Media type showed: Unknown.
- Start Powershell.exe (to get cracking)
- We need to list our disks: Get-PhysicalDisk | ft FriendlyName,CanPool,Size,MediaType
- As you can see, Physical Disk 3 has “UnSpecified” set as Media Type.
- Next, we need to set MediaType manually: Get-PhysicalDisk | Where FriendlyName -EQ PhysicalDisk3 | Set-PhysicalDisk -MediaType HDD
- Run the following command again to verify: Get-PhysicalDisk | ft FriendlyName,CanPool,Size,MediaType
- Problem solved, I am now able to select “Create storage tier on this virtual disk”