Free Solution to Create a Software SSD / HDD Hybrid on Your Home PC Windows Tiered Storage Spaces

Hello, Habr! I've been reading great posts for many years now, and I think I finally found something I can share with the community myself. 





Today I would like to tell you about the technology for creating a software hybrid local disk based on SSD and HDD. I first became interested in this technology when I bought myself a new Ryzen processor and read an article about AMD StoreMI, but unfortunately, support for this product stopped, and I didn't want to buy FuzeDrive or PrimoCache. 





upd. It turns out that AMD released the second version of StoreMI, although not long ago they announced that they would stop supporting. Let me remind you that StoreMI only works if you have a motherboard with an AMD X570, B550, 400 series, X399 or TRX40 chipset.





In server versions of windows, there is a very interesting technology Tiered Storage Spaces, which allows you to easily combine one or more SSD and HDD into a common pool - a logical disk on which frequently used "hot" data will be seamlessly transferred to the SSD, and "cold" data , which the user accesses less often, will be stored on the HDD. You can read about setting up this technology on server products here by the link , there are already several articles on Habré. But, as it turned out, this technology is also present on the desktop version of windows, although it is configured only through the command line since there is no GUI. To simplify this process, there is a repository with scripts that automate the process of creating tier storage. 





windows storage spaces mirroring. Mirroring RAID c , , , .





PowerShell





Get-PhysicalDisk
      
      



CanPool



True



SSD HDD, . Get-PhysicalDisk



, False, diskpart :





list disk #   ,    2
select disk 2
clear
      
      



Powershell :





Reset-PhysicalDisk ST2000DM008-2FR102 
      
      



ST2000DM008-2FR102 - friendly name , True



. , , CanPool



True



, , , , .





, new-storage-space.ps1



, , .





, , . SSD , , SSD , ( , HDD , ).





?

:





youtube.





, 2 HDD Seagate BarraCuda 7200 rpm 256 MB cache, tier storage space HDD SSD Crucial BX500 240 . 





( stalker anomaly, .db 1 ) storage tier 400 /, , 110 /, HDD storage tier (160 / ).





, snipping tool .





left storage tier right just HDD
storage tier HDD

, 10 ( 4-5 ) storage tier 260 / 180 / HDD.





SSD PowerShell :





defrag D: /g /h /#
      
      



Percent of total I/Os serviced from the Performance tier - , SSD. , SSD .





 





Get-ScheduledTask -TaskName "Storage Tiers Optimization" | Start-ScheduledTask
      
      



. - , 1 2 20 . ( ). 0.13 .





-, WriteCacheSize tiered storage, 20 , AutoWriteCacheSize ( WriteCacheSize 1 ).





, , .





Set-StoragePool -FriendlyName "SSHD Storage Pool" -IsPowerProtected $True
      
      



github.





, , 1 SSD 1 HDD ( Mirroring). , , , . , SSD.








All Articles