Create Storage Pools and Virtual Disks via PowerShell

Issue:

If creating New Virtual Disk using the New Virtual Disk Wizard GUI emits this error:

Failed to create virtual disk - 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:

Solution:

Try using PowerShell to create the Storage Pool (Reference article). You might encounter this problem if you have multiple SSDs/HDDs connected to the host via an HBA Adapter.

Reference articles:

New-StoragePool

New-VirtualDisk -StoragePoolFriendlyName STORAGE_POOL_NAME `
                -FriendlyName VIRTUAL_DISK_NAME `
                -UseMaximumSize `
                -ResiliencySettingName "Parity" `
                -PhysicalDiskRedundancy 1 `
                -ProvisioningType Fixed `
                -MediaType SSD

Get-VirtualDisk