Storage Spaces: Cannot create Parity layout virtual disk with Usage=ManualSelect RRS feed

  • Question

  • Problem in Windows Server 2016 Storage Spaces.

    I get error while creating virtual disk (Parity layout) on physical disks with Usage=ManualSelect


    1. Have 4 physical disks of the same size.
    2. Create Storage pool with PS command:
      New-StoragePool -FriendlyName pool -PhysicalDisks (Get-PhysicalDisk -CanPool $true) -StorageSubSystemFriendlyName (Get-StorageSubsystem).FriendlyName
    3. Change disks Usage to ManualSelect:
      Get-PhysicalDisk -StoragePool (Get-StoragePool -FriendlyName pool) | Set-PhysicalDisk -Usage ManualSelect
    4. Create virtual disk:
      New-VirtualDisk -StoragePoolFriendlyName pool -FriendlyName data -NumberOfColumns 4 -PhysicalDiskRedundancy 1 -PhysicalDisksToUse (Get-PhysicalDisk -Usage ManualSelect) -ProvisioningType Fixed -ResiliencySettingName Parity -UseMaximumSize

    Error occurs:

    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: {63c2cf05-b67a-48f0-947c-9121c0f2858d}
    At line:1 char:1
    + New-VirtualDisk -StoragePoolFriendlyName pool -FriendlyName data -Number ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (StorageWMI:ROOT/Microsoft/...SFT_StoragePool) [New-VirtualDisk], CimException
        + FullyQualifiedErrorId : StorageWMI 1,New-VirtualDisk

    - Changing command parameters does not resolve the problem.
    - While using GUI the same error occurs.
    - If disk Usage is AutoSelect, the commands succeed.
    - If I create virtual disk with Mirror or Simple layout, the commands succeed.
    - The error occurs in Technical Preview 5 and Windows Server 2016 build 14393, that is going to be release.
    - No error occurs in Technical Preview 4 and Windows Server 2012 R2.

    So Parity layout virtual disks in useless in Windows Server 2016.

    Can be it fixed?
    Is there a workaround?

    Thursday, July 28, 2016 3:43 PM


  • Found a workaround (command line only):

    1. Set usage of physical disks you want to create virtual disk on to AutoSelect (with Set-PhysicalDisk -Usage command).
    2. Create virtual disk with New-VirtualDisk command without specifying -PhysicalDisksToUse parameter. The virtual disk will be created on physical disks with AutoSelect Usage set in the previous step.
    3. Restore physical disks usage.
    • Marked as answer by Mary Dong Monday, August 1, 2016 1:09 AM
    Saturday, July 30, 2016 11:36 AM

All replies