The GUI only allows you to create dual mirror tiers, all the powershell examples I've found are for dual mirror, and the only instructions i've found are for Windows Admin Center which does not match what i'm seeing in admin center.
This is the command I tried to run from the information gathered
The Result
This is the command I tried to run from the information gathered
Code:
New-StorageTier -StoragePoolFriendlyName "MainPool" -FriendlyName SSD_Tier -MediaType SSD -ResiliencySettingName Mirror
New-StorageTier -StoragePoolFriendlyName "MainPool" -FriendlyName HDD_Tier -MediaType HDD -ResiliencySettingName Parity
$ssd_tier = get-StorageTier -FriendlyName "SSD_Tier"
$hdd_tier = get-StorageTier -FriendlyName "HDD_Tier"
New-VirtualDisk -StoragePoolFriendlyName "MainPool" -FriendlyName "MainDisk" -StorageTiers @($ssd_tier, $hdd_tier) -StorageTierSizes @(72GB, 17.2TB) -ResiliencySettingName Mirror -WriteCacheSize 12GB
Code:
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: {ab76aed4-8089-427c-a3ec-298cb00f8582}
At line:1 char:1
+ New-VirtualDisk -StoragePoolFriendlyName "MainPool" -FriendlyName "Ma ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/...SFT_StoragePool) [New-VirtualDisk], CimException
+ FullyQualifiedErrorId : StorageWMI 1,New-VirtualDisk