Hoe los je installatie- en schijfdetectieproblemen met Storage Spaces Direct (S2D) op?
Soms kunnen er zich vreemde problemen voordoen bij het instellen van Storage Spaces Direct. Schijven worden bijvoorbeeld niet goed herkend, of het cluster weigert te worden ingeschakeld. Of misschien heb je wel schijven toegevoegd, maar verschijnen ze gewoon niet in de opslagpool, zelfs niet na uren. Het is frustrerend, en Windows kan het nog lastiger maken met zijn RAID-controllers, eigenaardigheden in de firmware of niet-ondersteunde schijftypen. Maar met wat geduld en de juiste aanpassingen krijg je het meestal wel aan de praat. Deze handleiding helpt je bij het oplossen van een aantal veelvoorkomende problemen, zoals schijven die niet verschijnen, fouten tijdens het inschakelen van S2D of schijven met niet-ondersteunde bustypen. Het doel? Een werkend cluster met een gezonde opslagpool, zodat je Storage Spaces Direct eindelijk kunt gebruiken zoals het hoort.
Hoe u Storage Spaces Direct in Windows Server kunt repareren
Oplossing 1: Zorg ervoor dat schijven correct worden gedetecteerd voor pooling.
Als schijven niet worden weergegeven als “CanPool” of niet beschikbaar zijn voor S2D, kan Windows ze als RAID of niet-ondersteund beschouwen. Dit komt meestal door het bustype van de schijf of doordat het stuurprogramma de opslag niet correct herkent. Waarom dit helpt: Omdat Windows de schijven opvraagt met Get-PhysicalDisk`busType`, moeten schijven voor S2D in een *ondersteunde* modus staan (zoals SAS, SATA, NVMe).Als ze worden weergegeven als RAID of het verkeerde bustype hebben, zal S2D ze niet gebruiken. Wanneer dit van toepassing is: Als uw schijven niet worden weergegeven in PowerShell met `busType` CanPool $True, of als u fouten krijgt zoals “geen schijven met ondersteunde bustypen”, dan is dit uw eerste stap. Wat u kunt verwachten: Schijven die eerder verborgen waren of verkeerd geclassificeerd waren, zouden nu beschikbaar moeten zijn voor pooling. Soms is een firmware-aanpassing of een stuurprogramma-update nodig.Dit is wat u moet doen: – Open PowerShell als beheerder en voer het volgende commando uit: `powershell Get-PhysicalDisk | Sort-Object BusType`.Bekijk de kolom `BusType`.Als er RAID staat of iets wat niet wordt ondersteund (zoals Onbekend), dan is Windows niet tevreden met de huidige modus van de schijf.- Voor schijven met RAID kunt u mogelijk het bustype wijzigen naar SAS of SATA via een aanpassing in het register (dit verschilt per hardware).Het is enigszins technisch, maar probeer dit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\arcsas\Parameters en stel dit in BusTypeop0x0b (which is 11, for SATA).But be warned: making registry changes on RAID controllers can be risky, and sometimes you need to update drivers or firmware instead.- Also, update your controller drivers and firmware. For HPE, Dell, or Lenovo servers, grabbing the latest support packs often fixes detection issues.- Once you’ve got disks showing the correct bus type, rerun: powershell Get-PhysicalDisk | Where-Object { $_. CanPool -eq $true } If disks are now poolable, good — you’re ready to go.
On some setups, Windows might still see disks as RAID, but you can sometimes switch the mode in the server’s BIOS/UEFI or storage controller settings. Because of course, Windows has to make it harder than necessary.
Fix 2: Handling Unsupported Driver or Firmware Issues
If disks aren’t detected properly or are seen as unsupported, updating the controller drivers or firmware can fix a lot of headaches. Why it helps: Because outdated drivers or firmware can present disks as RAID or unsupported types, stopping S2D from working. When it applies: If Get-PhysicalDisk shows disks with “Unknown” BusType or other odd statuses, consider driver/fw updates as the fix. What to expect: Disks should show their true type, and get recognized as suitable for pooling.Here’s what to do: - Visit your hardware manufacturer’s support site and download the latest HBA or RAID controller firmware.- Install the latest driver package for your storage controller.- After firmware updates, reboot and rerun: powershell Get-PhysicalDisk | Sort-Object BusType - Check that the BusType now shows SAS or SATA instead of RAID or Unknown.
Sometimes, you can also change the controller mode from RAID to HBA (passthrough) mode in BIOS/UEFI settings. Or, if your controller supports JBOD mode, switch there. That way, disks will be directly accessible, and S2D can use them properly.
Fix 3: Creating and Managing Storage Pools Properly
Once disks are recognized properly, you can proceed with enabling Storage Spaces Direct.- Run: powershell Enable-ClusterStorageSpacesDirect Sometimes, it takes forever or throws a bus type error. In that case, double-check disk detection first.- If you get an error like “no disks with supported bus types found, ” revisit Fix 1 or 2.- After enabling, go to Failover Cluster Manager, and verify that the pool appears under Storage.- You can rename the pool if needed: powershell Set-StoragePool -FriendlyName "Cluster Pool 1" -NewFriendlyName "S2D" - And create volumes (CSV) from the pool: powershell New-Volume -StoragePoolFriendlyName S2D -FriendlyName CSV001 -FileSystem CSVFS_ReFS -Size 200GB When disks are properly pooled, they won’t show up in Disk Management anymore — that’s okay. S2D handles them.
Fix 4: Replacing a Failed Disk
Sometimes, disks fail or get marked as Retired. Replacing them can be a pain, but PowerShell makes it manageable.- Check current status: powershell Get-StoragePool *S2D* | Get-PhysicalDisk - Find the problematic drive: powershell $Disk = Get-PhysicalDisk | Where-Object { $_. OperationalStatus -ne "OK" } - Mark the disk as Retired: powershell Set-PhysicalDisk -InputObject $Disk -Usage Retired - Remove it from pool: powershell Get-StoragePool *S2D* | Remove-PhysicalDisk -PhysicalDisks $Disk - Use the server’s disk LED (if available) to identify the failed drive, then replace it physically.- Once the new drive is inserted, scan for new disks: powershell $NewDisks = Get-PhysicalDisk | Where-Object { $_. CanPool -eq $true } - Add it back to the pool: powershell Get-StoragePool *S2D* | Add-PhysicalDisk -PhysicalDisks $NewDisks - S2D will automatically rebalance data across the new drive. Just wait for the process to finish.Note: If the new disk isn’t detected immediately, try rescanning disks in Device Manager or reboot.
And yes, disks marked as S2D don’t show up in Disk Management anymore, which can look suspicious. But that’s normal — S2D takes over the raw disks behind the scenes.
Summary
- Check disk bus types and update firmware/drivers if needed.
- Make sure disks are unformatted and in a supported mode.
- Enable Storage Spaces Direct cautiously; watch for errors related to disk detection.
- Replace failed disks carefully, using PowerShell to mark old disks as retired then add new ones.
Wrap-up
Dealing with Storage Spaces Direct isn’t exactly straightforward, especially when hardware quirks get in the way. But once the disks are set correctly and the cluster is happy, you get a pretty resilient, scalable storage solution. Just keep an eye on your bus types, drivers, and firmware — it’s all about the tiny details with S2D. Hopefully, this shaves off a few hours for someone trying to get their cluster to work. Fingers crossed this helps!