Windows Server 2019 S2D Remove-PhysicalDisk is denied

Stefan Falk 171 Reputation points
2025-03-31T12:33:04.4633333+00:00

Hello everybody,

at a customer's site still running Windows Server 2019 in a 4-node-Hyper-V-Cluster with S2D, on one hosts 3 (three!) disks failed on the same morning. One was already replaced by the hardware vendor, but neither of the three can be removed from the pool despite there are no storage jobs (repair etc.) running any more - what could I be missing please?

[CLUSTER2019]: PS C:\Users\Administrator.BLV\Documents> Remove-PhysicalDisk -StoragePool $pool -PhysicalDisks $disks

Bestätigung
Möchten Sie diese Aktion wirklich ausführen?
Removing a physical disk will cause problems with the fault tolerance capabilities of the following storage pool: "S2D on CLUSTER2019".
[J] Ja  [A] Ja, alle  [N] Nein  [K] Nein, keine  [?] Hilfe (Standard ist "J"): j
Remove-PhysicalDisk : The storage pool could not complete the operation because the health or operational status of one or more virtual disks in it does not permit it.
Activity ID: {068e7339-952f-0028-7f3d-b0062f95db01}
In Zeile:1 Zeichen:1
+ Remove-PhysicalDisk -StoragePool $pool -PhysicalDisks $disks
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Remove-PhysicalDisk], CimException
    + FullyQualifiedErrorId : StorageWMI 48011,Remove-PhysicalDisk

Thanks and best regards,

Stefan

Windows Server High availability Clustering and high availability
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2025-04-01T09:20:30.37+00:00

    Hello,

    Thank you for posting in Microsoft Q&A.

    Based on the description, I understand your question is related to Remove-PhysicalDisk is denied.

    I understand that you would like us to look at the scripts, but understand that detailed analysis of the scripts will require more professional resources and this may be beyond the range of this forum.

    However, I found an official link which provides detailed scripts and example of Remove-PhysicalDisk, you can take it as a reference:

    https://learn.microsoft.com/en-us/powershell/module/storage/remove-physicaldisk?view=windowsserver2025-ps

    Have a nice day.

    Best Regards,

    Molly

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it

    0 comments No comments

  2. Stefan Falk 171 Reputation points
    2025-04-02T13:28:40.13+00:00

    Hello Molly,

    Thank you for your response. No, you don't need to have a look at any scripts. It is just that Remove-PhysicalDisk returns error message "The storage pool could not complete the operation because the health or operational status of one or more virtual disks in it does not permit it." despite the fact that these disks are physically (!) removed, replaced and definitely no longer needed. The storage is fine, everything is replicated, nevertheless Remove-PhysicalDisk throws that error. Why?

    Best Regards,

    Stefan

    0 comments No comments

  3. Stefan Falk 171 Reputation points
    2025-04-04T09:09:57.3833333+00:00

    Hello everybody,

    is someone still reading this?

    Best Regards,

    Stefan

    0 comments No comments

  4. Stefan Falk 171 Reputation points
    2025-04-07T10:17:39.79+00:00

    Hello? Is anyone still there? Thanks!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.