Fixing a situation where most of my Storage Spaces JBOD disks were missing in Disk Management and Get-PhysicalDisk showed their Operational Status as being stuck on “Starting”/"Error".
Most of the disks disappeared in Disk Management and thus couldn’t be added to a new Storage Spaces pool, however in Device Manager they should be listed. I removed the devices and rebooted but the disks didn’t appear in Disk Management. I then ran Get-PhysicalDisk and this came up:
The solution may be to run Reset-PhysicalDisk:
$phydisk = (Get-Physicaldisk | Where-Object -FilterScript {$_.HealthStatus -Eq “Unknown”})
foreach ($item in $phydisk)
{
Reset-PhysicalDisk -FriendlyName $item.FriendlyName
}
A few seconds later, things looked a lot better:
Afterwards Server Manager will be able to create the new pool and virtual disks.