- S2D aggregates local disks into a cluster and provides automatically managed caching, tiering, and resiliency.
- Performance and HA: SMB3 with RDMA, ReFS, CSV, and even chassis and rack fault tolerance.
- Flexible models: hyperconverged or converged, scaling from 2 to 16 nodes and up to 4 PB per cluster.
- Modern management with Windows Admin Center, QoS per VM, Health Service and Automation PowerShell.
If you manage Windows Server and are considering modernizing your storage with a software-defined database, Storage Spaces Direct, or S2D for short, is one of those technologies you should definitely be familiar with. It allows you to consolidate internal disks from multiple servers into a cluster and expose them as shared storage with high performance, resilience, and very manageable day-to-day operations.
In broad terms, we're talking about a feature integrated into Azure On-Premise and the Datacenter editions of Windows Server 2016, 2019, and 2022, as well as the Azure Edition of Windows Server 2022. With S2D, you can boot from industry-standard hardware and, in minutes, have a storage cluster ready for virtualized workloads, whether in a converged or hyperconverged architecture.
What is Storage Spaces Direct
Storage Spaces Direct is a software-defined storage solution that aggregates the local drives of a group of physical servers to create a common pool. This storage pool automatically applies tiers, caching, resilience, and erase coding , so the administrator can focus on creating volumes and serving data, not micromanaging disks.
The technology is a pillar of Azure Local in versions 21H2 and 20H2, and is part of Windows Server Datacenter 2016, 2019 and 2022. It works from 2-node clusters and scales up to 16 servers , being able to combine SSD , HDD, NVMe or persistent memory within the same architecture.
In addition to traditional physical clusters, there is support for guest clusters consisting of virtual machines on private or public clouds. In production, guest deployment is supported when based on Windows Server , a useful option in multi-tenant or advanced lab scenarios.
How S2D works and its architecture
Under the hood, S2D relies on several system components: Failover Clustering, Cluster Shared Volumes, SMB 3 with SMB Direct and Multichannel, and Storage Spaces' own technology. The key innovation is the Software Storage Bus , the framework that allows all servers to see each other's local drives as if they were their own.
The servers connect to each other via Ethernet, forming a cluster without the need for Fibre Channel or shared SAS. By enabling S2D, the internal drives of each node are combined into a software-managed logical pool. From there, you create volumes that are mounted as CSV files and remain accessible even if a disk or an entire node fails.
These volumes can host .vhd and .vhdx files for virtual machines, databases , or user files. The cluster can operate as a scale-out file server or as a hyperconverged platform with Hyper-V , placing VMs directly onto the volumes.
To accelerate I/O, S2D employs the Storage Bus Layer Cache, which associates the fastest drives with the slowest. This server-side read/write cache improves latency and performance , particularly leveraging the potential of NVMe over PCIe.
Key components and parts of the stack
- network hardware: S2D uses SMB3 with SMB Direct and SMB Multichannel over Ethernet. 10GbE or higher with RDMA, either iWARP or RoCE, is recommended. to ensure low latency and higher performance in communication between nodes, and you can check performance with tests with ntttcp in Windows.
- Storage hardware: : Between 2 and 16 approved servers with directly attached drives (SATA, SAS, NVMe, or persistent memory) are required. Each server must have at least two SSDs and at least four additional drives.; SATA and SAS devices must go behind a SAS HBA and expander.
- Failover Clustering: Failover clustering is the foundation of high availability at the server level. It is responsible for node orchestration, resource marking and unmarking, and service continuity..
- Storage Bus Software: This software bus forms the software-defined storage fabric, eliminating the need for traditional SANs. Think of it as the logical replacement for Fibre Channel or Shared SAS, but software-defined.
- Storage Bus Layer Cache: The cache distributes reads and writes over fast media linked to slower media. This absorbs I/O bursts and increases sustained IOPS. without extra complexity for the administrator.
- storage pool: The storage pool contains all eligible drives. It is created and populated automatically. The usual recommendation is one pool per cluster with the default configuration to simplify operations.
- Storage Spaces: The virtual disks you create on the pool can use mirroring, erasure coding, or combinations. In S2D it is common to configure tolerance to two simultaneous failures through three-way mirroring, with each copy on a different server, and there is awareness of fault domains by chassis and rack.
- Refs: The ReFS file system is optimized for virtualization and .vhdx. Provides speedups for creating, expanding, or combining checkpoints, plus checksums to detect and correct bit errors, and real-time tiers that move data between hot and cold layers.
- CSV: Cluster Shared Volumes exposes a single namespace accessible from any server. For each node, each volume behaves as if it were mounted locally., which greatly simplifies concurrent access.
- Scale-Out File Server: In converged scenarios, this layer exposes SMB3 to remote clients such as another Hyper-V cluster. De facto, it turns S2D into a NAS easy to scale and manage, useful for synchronize network folders.
Performance, resilience and efficiency
With S2D, in both hybrid and all-flash configurations, internal tests have recorded IOPS exceeding 13,7 million per server. The embedded hypervisor architecture and integrated cache deliver consistent and very low latencies.
Fault tolerance covers disks, servers, and components, ensuring continuous availability. In large deployments, you can configure fault tolerance per chassis and per rack , so that physical failures do not affect the overall integrity of the cluster.
Storage efficiency is enhanced with erasure coding, including innovations such as Local Reconstruction Codes. This allows for up to 2,4 times greater capacity efficiency , reducing CPU usage and freeing up resources for virtual machines.
Hardware and network requirements
For a robust production experience, several guidelines apply. These include a 10 GbE or higher network with RDMA iWARP or RoCE , compatible cabling and switches, and verified SMB Direct and Multichannel configurations.
Each server should ideally have at least two SSDs for caching and several additional capacity drives. Support includes SATA, SAS, NVMe, and persistent memory ; SATA and SAS devices should be paired with an HBA and SAS expander.
In terms of the number of nodes, S2D supports from 2 to 16 servers. For true high availability, it's ideal to work with 3 or more nodes , since losing a node in a 2-node cluster leaves no room for error.
Regarding maximum capacity, recent documentation mentions up to 400 drives and 4 PB per cluster, while earlier sources cite lower limits such as 1 PB per pool. Keep in mind that these limits depend on the hardware version, firmware, and manufacturer validations. If you encounter insufficient storage space, consult solutions for " insufficient storage space ."
Deployment models
Hyperconverged : A single cluster for compute and storage. By enabling Hyper-V on the same hosts, VMs are hosted directly on S2D volumes. This reduces costs and complexity for small and medium-sized businesses and remote sites by eliminating intermediate file servers.
Converged or disaggregated : Separate clusters for storage and compute. On top of S2D sits a Scale-Out File Server to expose SMB3. Ideal when you need to scale storage and compute independently , typical of large-scale IaaS.
When to use S2D
If you want to expand capacity without redesigning your entire SAN, S2D is a great fit. You can scale by adding disks or new servers , and the system automatically incorporates the drives and rebalances the pool.
If multiple computers need to access the same dataset, the pool behaves like a shared network resource. Users can access the data from different sources without worrying about its physical location , facilitating distributed workloads.
When you need to mix media, S2D automatically decides which type of drive to use based on the access pattern. It places hot data on fast media and cold data on slower media , transparently optimizing cost and performance.
Administration and monitoring
Management has evolved significantly with Windows Admin Center, which has become the standard console. It allows you to view host health, storage, performance, and alerts , and to create or manage volumes graphically.
For more detailed information, you can review drive inventory, status, firmware, location, manufacturer, type, serial number, and pool membership. This is ideal for identifying problematic drives and acting quickly before they impact service, for example, to rebuild a damaged NTFS partition.
In addition, S2D integrates per-VM storage QoS controls, with minimum and maximum IOPS limits. The Health Service provides built-in monitoring and alerts , and new APIs make it easy to collect rich capacity and performance metrics at the cluster level.
PowerShell remains the most comprehensive tool for automation and diagnostics. Commands like Enable-ClusterS2D allow you to activate the feature and adjust checks for labs as needed.
Practical laboratory guide: from zero to first volume
In a test environment, you can enable S2D with two nodes to familiarize yourself with the technology. In production, three or more nodes and certified hardware are recommended to ensure true fault tolerance and compatibility.
Prepare each host with Windows Server, Hyper-V, and the clustering feature installed. Verify from Cluster Manager that the nodes and networks are healthy , with one network for the enterprise and another dedicated to storage traffic.
Regarding disks, leave the operating system on its volume and provide at least three data drives per node in an unpartitioned state, initialized if necessary. Avoid reusing system disks for the pool , and if you use SATA in the lab, assume it is not supported in production.
Open PowerShell as administrator on the cluster and run: Enable-ClusterS2D -PoolFriendlyName S2D. If your lab uses ineligible units, add -SkipEligibilityChecks to skip production-specific validations.
After automatic configuration, you'll see the new pool in the storage section of Cluster Manager. From there, you can create a virtual disk and then a volume on it using the corresponding wizard.
When creating the virtual disk, choose the pool and select the resilience: simple, mirror, or parity. In mirror mode, you can choose two-way or three-way ; more copies mean greater fault tolerance but also higher capacity consumption.
Select the virtual disk size, confirm it, and then create the volume. For virtualization, Microsoft recommends ReFS because of its optimizations with .vhdx and its integrity capabilities.
Once created, add the volume as a Cluster Shared Volume from the Cluster Manager. You will see the ClusterStorage folder appear in C: on each node with read and write access, ready to host payloads.
From Hyper-V Manager, create a VM in that CSV file and add it to the cluster. You'll be able to move it live between nodes without interruption , just as if you were working with a traditional SAN array.
Versions, limits and support
S2D is present in Windows Server 2016, 2019, and 2022 Datacenter, and in Azure Local 20H2 and 21H2. It is also available in Windows Server Azure Edition 2022 , with specific enhancements for hybrid scenarios.
In terms of scale, the current reference is up to 16 nodes and over 400 units per cluster, with a total capacity per cluster of up to 4 PB. Some previous sources mention limits of 1 PB of pool ; assume that the maximum depends on the full stack and your provider's validations.
For production, use hardware validated by Microsoft and OEM partners, with recommended firmware and driver versions. Random mixes of disks, HBAs, and NICs can cause performance or support incompatibilities, so it's best to rely on up-to-date compatibility lists.
Table of Contents
- 1 What is Storage Spaces Direct
- 2 How S2D works and its architecture
- 3 Key components and parts of the stack
- 4 Performance, resilience and efficiency
- 5 Hardware and network requirements
- 6 Deployment models
- 7 When to use S2D
- 8 Administration and monitoring
- 9 Practical laboratory guide: from zero to first volume
- 10 Versions, limits and support