How to Configure Windows Server Storage Spaces Direct (S2D) for Hyper-Converged Clusters

The End of the Traditional SAN

For two decades, the standard architecture for a highly available Windows Server cluster required three components: Compute nodes (running Hyper-V), a dedicated Storage Area Network (SAN), and a complex Fibre Channel or iSCSI fabric connecting them. The SAN was incredibly expensive, required specialized storage engineers to manage, and represented a massive single point of failure. If the dual-controller SAN chassis died, every single virtual machine on the cluster instantly crashed.

Modern data centers have transitioned to Hyper-Converged Infrastructure (HCI). In an HCI model, you do not buy a SAN. Instead, you purchase standard 1U rack servers, fill them with dozens of cheap, internal NVMe and SATA hard drives, and connect them together using high-speed 100GbE networking.

Microsoft’s native HCI solution is Storage Spaces Direct (S2D). When you enable S2D across a cluster of Windows Servers, the operating system autonomously reaches into every server, pools all the internal physical hard drives together, and creates a massive, software-defined virtual SAN. It handles the data replication mathematically across the network. If a physical hard drive dies—or if an entire server motherboard burns out—S2D simply rebuilds the missing data on the surviving nodes, keeping the Hyper-V virtual machines running without interruption.

Step 1: The Hardware and Network Prerequisites

Storage Spaces Direct is notoriously unforgiving of sub-par hardware. If your hardware is not certified by Microsoft (the Windows Server Software-Defined data center program), the cluster will likely fail.

  • Nodes: You need between 2 and 16 servers. (A 2-node cluster requires a separate “witness” file share for quorum).
  • Drives: Every node must have exactly identical drive configurations. Crucially, they must be raw, unformatted drives directly attached to the motherboard. You must completely disable the hardware RAID controller on the server. S2D requires Passthrough/HBA mode. If the hardware RAID card intercepts the I/O, S2D cannot manage the raw blocks, and it will fail.
  • Networking: S2D generates an astronomical amount of “East-West” traffic (servers talking to servers to replicate data). You must have at least 10Gbps networking, but 25Gbps or 100Gbps using RDMA (Remote Direct Memory Access) over RoCEv2 or iWARP is practically mandatory for production workloads.

Step 2: Validating the Cluster

Before enabling S2D, you must install the Hyper-V and Failover Clustering roles on all nodes, and then run the brutal Cluster Validation test.

Open PowerShell as an Administrator and run:

Test-Cluster -Node Server1, Server2, Server3, Server4 -Include "Storage Spaces Direct", "Inventory", "Network", "System Configuration"

This test will take approximately 15 minutes. It analyzes the firmware of your hard drives, tests the RDMA network latency, and ensures the nodes are identical. If this test returns a red “Failed” status on any storage component, do not proceed. You must fix the hardware error.

Step 3: Enabling Storage Spaces Direct

Once the standard Failover Cluster is created (New-Cluster -Name HCI-Cluster01 ...), you execute the single, incredibly powerful command that turns on the software-defined storage engine:

Enable-ClusterS2D

The moment you press Enter, the following autonomous actions occur:

  1. S2D reaches into all four nodes and claims every single raw, unformatted hard drive.
  2. It analyzes the performance tiers. It groups the NVMe/SSDs into a “Cache” tier and the massive HDD/SATA drives into a “Capacity” tier.
  3. It builds the ClusterPerformanceHistory volume (a hidden drive used to track metrics).
  4. It binds all the claimed drives into a single, massive Storage Pool.

Step 4: Creating Resilient Volumes

You now have a massive pool of raw storage, but you need a drive letter (like C:\ClusterStorage\Volume1) to actually store your Hyper-V virtual machines.

You create a volume using the New-Volume cmdlet. The critical decision here is the Resiliency Setting. This dictates how S2D protects your data across the network.

  • Two-Way Mirror: (Requires 2 nodes minimum). Data is written twice. It provides maximum performance but only 50% storage efficiency.
  • Three-Way Mirror: (Requires 3 nodes minimum). Data is written three times. It can survive the simultaneous failure of two entire servers.
  • Parity (Erasure Coding): (Requires 4 nodes minimum). Data is spread mathematically across the servers like RAID-5 across a network. It provides incredible storage efficiency (up to 80% usable space) but terrible write performance.

In modern deployments, Microsoft recommends Mirror-Accelerated Parity (MAP). This hybrid approach uses NVMe mirrors for blazing-fast writes, and then quietly rotates the cold data into Parity storage in the background to save space.

New-Volume -FriendlyName "VM_Storage" -FileSystem CSVFS_ReFS -StoragePoolFriendlyName S2D* -Size 10TB -ResiliencySettingName MirrorMac -PhysicalDiskRedundancy 2

(Note: You must format the volume as ReFS, not NTFS, to leverage Block Cloning and real-time corruption healing).

Step 5: Monitoring the Cluster (Windows Admin Center)

While PowerShell is required for setup, managing a live S2D cluster via the terminal is incredibly difficult. You should immediately deploy Windows Admin Center (WAC), Microsoft’s modern, web-based management portal.

When you add your HCI cluster to WAC, you receive a beautiful, real-time dashboard. WAC visually maps out exactly which physical hard drives are installed in which physical server chassis.

If a hard drive fails, WAC turns the specific drive bay red on the dashboard. Because S2D automatically rebuilt the data in the background, the VMs are perfectly safe. A junior technician simply pulls the dead drive out of the server and pushes a new one in. S2D autonomously detects the new drive, claims it, and rebalances the data across the cluster without a single click from the administrator.

Conclusion

The traditional SAN architecture is a rigid, expensive monolith. By deploying Windows Server Storage Spaces Direct, enterprise architects can build immensely scalable, software-defined data centers using commodity hardware. S2D mathematically abstracts storage across the network, providing the extreme performance of local NVMe drives coupled with the catastrophic failure resilience of a multi-node, self-healing cluster.

RELATED POSTS

  • How to Clear the Windows RSAT (Remote Server Administration Tools) Cache via PowerShell
  • How to Find Your Saved Wi-Fi Password on Windows 11
  • How to Deploy Software Packages Using Windows Group Policy
  • How to Setup a RADIUS Server for Wi-Fi Authentication in Windows Server
  • How to Block USB Storage Devices Using Group Policy in Windows Server
  • Get the best tech tips delivered straight to your inbox.

    Join thousands of readers mastering Apple, Google, Microsoft, and Linux.