Hi there!
I'm trying to use storage spaces, partly to learn about how that works, partly for actual use. But I ran into some problems, maybe it's my missing understanding of it.
So I have seven 2TB drives in a pool. Now I created a virtual disk with "simple" and "thin". It took some time to understand that even "simple" ALWAYS means striping (or is there a way around this? Setting columns to 1 perhaps?),
which is no good, because ONE drive failure means all data is gone. The data I'm planing on storing there isn't that important, but losing all of it because of one drive when I don't even need "striped" performance? Nope.
So I tried to setup a "parity" disk with the GUI in the server manager, again with all seven physical disks. But the GUI only allows me to select "auto" or "3" for columns (where "auto" will set it to 3 anyway), which
means a lot of wasted space as I found out. Why is that? Why can't I select 7?
Also I tried to setup a "parity" disk with dual redundancy in the GUI for my most important data. It's said I need seven physical disks. I have seven physical disks. What I don't have is that double redundancy disk, as I always get an error the
likes of "not enough resources for this". Why? Seven disks are present ans selected for that.
Alright, trying to get the single parity disk to work with Powershell. Powershell doesn't even let me create a parity disk with three colums, while at the same time this is working via GUI. I don't get it. This is the line I'm using:
> New-VirtualDisk -StoragePoolFriendlyName Pool1 -FriendlyName Data1Red -ProvisioningType Thin -NumberOfColumns 7 -ResiliencySettingName Parity -Size 5TB -PhysicalDiskRedundancy 1
and this is the response I get
> New-VirtualDisk : Not Supported
>
> Extended information:
> The storage pool does not have sufficient eligible resources for the creation of the specified virtual disk.
>
> Recommended Actions:
> - Choose a combination of FaultDomainAwareness and NumberOfDataCopies (or PhysicalDiskRedundancy) supported by the > storage pool.
> - Choose a value for NumberOfColumns that is less than or equal to the number of physical disks in the storage fault domain > selected for the virtual disk.
>
> Activity ID: {566fc3b1-d19c-4b15-8bda-2a7621192f52}
> In Zeile:1 Zeichen:1
> + New-VirtualDisk -StoragePoolFriendlyName Pool1 -FriendlyName Daten1Re ...
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> + CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/...SFT_StoragePool) [New-VirtualDisk], CimException
> + FullyQualifiedErrorId : StorageWMI 1,New-VirtualDisk
I tried all options for FaultDomainAwareness as suggested by the displayed error, but none is working. Am I supposed to tell New-VirtualDisk what physical drives from the pool it has to use with PhysicalDisksToUse? If so, how do I do that? I found nothing
about what name I have to type for the physical drives.
I spent hours and hours to get this to work, please help.
Also, I think I discovered a bug. If I leave open the property window of a virtual drive with all three options (from the left part of the window) on display, the physical drives in the list start to multiply. Instead of 7 disks, I see 14, the same 7 below
the first. After another while 21 and so on.