Unable to remove failed disk error when configuring a Redundant Storage Space in Windows Server 2012 R2 by David Papkin

david papkinThis post by David Papkin  is Unable to remove failed disk error when configuring a Redundant Storage Space in Windows Server 2012 R2 and you have to replace it by adding another disk to the storage pool.

1)  PS C:\Users\administrator.ADATUM> get-physicalDisk

FriendlyName CanPool OperationalStatus HealthStatus Usage Size
———— ——- —————– ———— —– —-
PhysicalDisk-1 False Lost Communication Warning Auto-Select 31.25 GB
PhysicalDisk0 False OK Healthy Auto-Select 127 GB
PhysicalDisk1 False OK Healthy Auto-Select 127 GB
PhysicalDisk3 False OK Healthy Auto-Select 31.25 GB
PhysicalDisk5 False OK Healthy Auto-Select 31.25 GB
PhysicalDisk7 False OK Healthy Auto-Select 31.25 GB
PhysicalDisk4 False OK Healthy Auto-Select 31.25 GB
PhysicalDisk2 True OK Healthy Auto-Select 32 GB
PhysicalDisk8 False OK Healthy Auto-Select 31.25 GB

PS C:\Users\…  >$Disk = Get-PhysicalDisk -FriendlyName PhysicalDisk-1
PS C:\Users\administrator.ADATUM> Remove-PhysicalDisk -PhysicalDisks $Disk -StoragePoolFriendlyName StoragePool1

Confirm
Are you sure you want to perform this action?
Removing a physical disk will cause problems with the fault tolerance capabilities of the following storage pool:
StoragePool1″.
Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): Y
emove-PhysicalDisk : The virtual disk could not complete the operation because its health or operational status does not permit it line:1 char:1
Remove-PhysicalDisk -PhysicalDisks $Disk -StoragePoolFriendlyName StoragePool1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (StorageWMI:ROOT/Microsoft/…_StorageCmdlets) [Remove-PhysicalDisk ], CimException
+ FullyQualifiedErrorId : StorageWMI 50003,Remove-PhysicalDisk

2) Retire the disk you want to remove

Set-PhysicalDisk -FriendlyName PhysicalDisk-1 -Usage Retired

3) Repair virtual disk “mirrored disk”

Repair-VirtualDisk -FriendlyName “mirrored disk”

4) Remove the disk

Remove-PhysicalDisk -PhysicalDisks $Disk -StoragePoolFriendlyName StoragePool1

PS C:\Users\administrator.ADATUM> get-physicalDisk

FriendlyName CanPool OperationalStatus HealthStatus Usage Size
———— ——- —————– ———— —– —-
PhysicalDisk0 False OK Healthy Auto-Select 127 GB
PhysicalDisk1 False OK Healthy Auto-Select 127 GB
PhysicalDisk3 False OK Healthy Auto-Select 31.25 GB
PhysicalDisk5 False OK Healthy Auto-Select 31.25 GB
PhysicalDisk7 False OK Healthy Auto-Select 31.25 GB
PhysicalDisk4 False OK Healthy Auto-Select 31.25 GB
PhysicalDisk2 True OK Healthy Auto-Select 32 GB
PhysicalDisk8 False OK Healthy Auto-Select 31.25 GB

https://technet.microsoft.com/en-us/library/dn782852.aspx

http://blogs.technet.com/b/josebda/archive/2013/07/31/windows-server-2012-r2-storage-step-by-step-with-storage-spaces-smb-scale-out-and-shared-vhdx-physical.aspx

http://thebeagle.itgroove.net/2014/01/18/server-20122012-r2-storage-spaces-creating-storage-pools/

This concludes this post by David Papkin