Blame
|
1 | # StorageSpaceDirect |
||||||
| 2 | ||||||||
| 3 | ## What is it |
|||||||
| 4 | Storage Space Direct (S2D) |
|||||||
| 5 | ||||||||
| 6 | Imagine you have a few servers in your office. |
|||||||
| 7 | ||||||||
| 8 | Each server has its own hard drives or SSDs. Normally, those drives can only be used by that single server. |
|||||||
| 9 | ||||||||
| 10 | Storage Spaces Direct (S2D) is a Windows Server feature that lets you combine all those separate drives into one big, shared, and reliable storage system. |
|||||||
| 11 | ||||||||
| 12 | It’s like taking the storage from all your servers, putting it together, and making it act like a single, powerful storage box. |
|||||||
| 13 | ||||||||
| 14 | If one server or one disk fails, your data stays safe because S2D automatically keeps copies on other servers |
|||||||
| 15 | ||||||||
| 16 | Therefore, it is perfect for virtual machines, reducing the SAN Cost |
|||||||
| 17 | ||||||||
| 18 | Also, it is fast, reliable, highly available, and easily scalable too. |
|||||||
|
19 | |||||||
| 20 | ||||||||
| 21 | ## Prerequisites |
|||||||
| 22 | ||||||||
| 23 | 1. Cluster must be setup. |
|||||||
|
24 | |||||||
| 25 | ||||||||
| 26 | ## Setup |
|||||||
| 27 | ||||||||
| 28 | `Powershell: Enable-ClusterS2D` |
|||||||
| 29 | ||||||||
| 30 | Enable-ClusterS2D immediately detected all eligible local disks across the cluster. In my lab, that meant all four 50-GB VMware virtual disks (two per node) were listed as not claimed and ready to be used by Storage Spaces Direct. |
|||||||
| 31 | ||||||||
| 32 | After confirming the prompt, S2D automatically claimed the disks cluster-wide and created the initial storage pool using all four drives. |
|||||||
|
33 | |||||||
| 34 | ||||||||
|
35 | Cluster Shared Volume |
||||||
| 36 | ||||||||
| 37 | ||||||||
| 38 | ||||||||
| 39 | ||||||||
|
40 | |||||||
| 41 | ## Source |
|||||||
| 42 | https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/deploy-storage-spaces-direct?tabs=failover-cluster-manager |
|||||||
| 43 | ||||||||
| 44 | https://blog.matrixpost.net/mastering-hyper-v-clusters-with-storage-spaces-direct-s2d/ |
|||||||
