Storage Spaces on Windows Server
Storage Spaces is a software-defined storage feature in the Windows Server operating system that allows system administrators to combine several physical disks in a single logical storage space called “storage pool.” This storage pool can be used to create virtual storage spaces called “storage spaces” that offer various redundancy functions and advanced storage management capabilities.
Storage groups
The following Windows PowerShell cmdlets perform the same function as the previous procedure. Write each cmdlet in a single line, although here you can appear with line jumps between several lines here due to format restrictions.
The following example shows which physical disks are available in the primary group.
Get-StoragePool -IsPrimordial $true | Get-PhysicalDisk -CanPool $True
The following example creates a new storage group called StoragePool1 that uses all available disks:
New-StoragePool –FriendlyName StoragePool1 –StorageSubsystemFriendlyName "Windows Storage\*" –PhysicalDisks (Get-PhysicalDisk –CanPool $True)
By default the type of supply is mirror.
If we need to add more disks:
Add-PhysicalDisk -StoragePoolFriendlyName StoragePool1 -PhysicalDisks (Get-PhysicalDisk - CanPool $True)
Create a virtual disk
Let’s create a virtual disk:
New-VirtualDisk –StoragePoolFriendlyName StoragePool1 –FriendlyName VirtualDisk1 –Size (8GB)
It will automatically create a volume for us and mount it into a available letter:
We can interact with and save information:
We see that this is the “equivalent” to LVM on Windows. We see that there are similarities not only in the structure when creating it, but also that they refer in the official documentation to RAID 5 and RAID 6:
The way to store the data in either stripes or by saving the full space, as in Linux:
Bibliography
- [Official documentation] (https: / / learn.microsoft.com / es-en / windows-server / storage / storage-spaces / deploy-standalone-storage-spaces)