So konfigurieren Sie Storage Spaces Direct (S2D) auf einem Windows Server

So beheben Sie Installations- und Festplattenerkennungsprobleme von Storage Spaces Direct (S2D)

Manchmal kann die Einrichtung von Storage Spaces Direct etwas knifflig werden. Beispielsweise werden Festplatten nicht richtig erkannt oder der Cluster lässt sich nicht aktivieren. Vielleicht haben Sie auch Laufwerke hinzugefügt, die aber selbst nach Stunden nicht im Speicherpool angezeigt werden. Das ist frustrierend, und Windows kann die Sache mit seinen RAID-Controllern, Firmware-Eigenheiten oder nicht unterstützten Laufwerkstypen noch komplizierter machen. Mit etwas Geduld und den richtigen Einstellungen lässt sich aber meist alles reibungslos einrichten. Dieser Leitfaden hilft Ihnen, einige häufige Probleme zu beheben – beispielsweise nicht angezeigte Festplatten, Fehler bei der Aktivierung von S2D oder Festplatten mit nicht unterstützten Bustypen. Das Ziel? Ein funktionierender Cluster mit einem intakten Speicherpool, damit Storage Spaces Direct endlich seine volle Leistung entfalten kann.

So beheben Sie Probleme mit Storage Spaces Direct in Windows Server

Lösung 1: Sicherstellen, dass die Festplatten für das Pooling ordnungsgemäß erkannt werden.

Wenn Festplatten nicht als „CanPool“ angezeigt werden oder für S2D nicht verfügbar sind, erkennt Windows sie möglicherweise als RAID oder nicht unterstützt. Dies liegt meist am Bustyp der Festplatte oder daran, dass der Treiber den Speicher nicht korrekt erkennt. Warum das hilft: Windows fragt die Festplatten mit `powershell Get-PhysicalDisk | Sort-Object BusType` ab Get-PhysicalDisk, und für S2D müssen die Festplatten in einem *unterstützten* Modus (z. B.SAS, SATA, NVMe) vorliegen. Werden sie als RAID angezeigt oder haben den falschen Bustyp, kann S2D sie nicht verwenden. Wann das relevant ist: Wenn Ihre Festplatten in PowerShell nicht mit `powershell Get-PhysicalDisk | Sort-Object BusType` angezeigt werden CanPool $Trueoder Fehlermeldungen wie „Keine Festplatten mit unterstützten Bustypen“ erscheinen, sollten Sie hier zuerst nachsehen. Was zu erwarten ist: Zuvor ausgeblendete oder falsch klassifizierte Festplatten sollten nun für das Pooling verfügbar sein. Manchmal ist eine Firmware-Anpassung oder ein Treiberupdate erforderlich.So gehen Sie vor: – Öffnen Sie PowerShell als Administrator und führen Sie folgenden Befehl aus: `powershell Get-PhysicalDisk | Sort-Object BusType`.Sehen Sie sich die Spalte „BusType“ an. Wenn dort RAID oder etwas Nicht-Unterstütztes (wie „Unbekannt“) angezeigt wird, ist Windows mit dem aktuellen Festplattenmodus nicht einverstanden.– Bei Festplatten mit RAID können Sie den Bustyp möglicherweise über eine Registry-Änderung auf SAS oder SATA ändern (die Vorgehensweise ist hardwareabhängig).Das ist etwas technisch, aber versuchen Sie Folgendes: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\arcsas\Parameters und BusTypedort den Wert entsprechend anpassen.0x0b (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!