I do a lot of messing around with Storage Spaces. This can involve reusing disks that have been used in other pools – I want to erase the disks but I encounter an error:
Error deleting virtual disk: The storage pool could not complete the operation because its configuration is read-only.
This is easy to fix … with PowerShell. Get the name of the Storage Pool, also known as the friendly name – for example Pool1. Then run:
Get-StoragePool –FriendlyName “Pool1” | Set-StoragePool –IsReadOnly $false
Then if you are sure, you can delete the storage pool, thus cleaning the disks for reuse:
Get-StoragePool –FriendlyName “Pool1” | Remove-StoragePool