Hi GabeCz,
The exception indicating that the storage pool is set to read-only can happen for several reasons.
Here are the steps you can follow to troubleshoot the issue:
1.Verify all physical drives in the storage pool are connected and healthy.
2.Check storage pool status using PowerShell: Get-StoragePool <PoolName>.
3.If the pool is read-only, set it to read-write:
Get-StoragePool <PoolName> -IsPrimordial $False | Set-StoragePool -IsReadOnly $false
4.If applicable, bring the storage pool online from Failover Cluster Manager.
5.Repair the storage pool if drives had failures, using Repair-StoragePool.
6.Monitor for any automated policies or alerts that could cause storage read-only transitions.
7.Check for and Remove Resource Locks
- Navigate: Go to the Resource Group in the Azure Portal.
- Locks: Look for the Locks blade/setting on the left-hand navigation.
- Check Scope: Check if any locks are applied to:
- The Resource Group itself.
- The Storage Resource being used for the cluster.
- The Cluster Resource (if it exists).
Action: If a lock of type ReadOnly exists, delete it or change its type to CanNotDelete if you still want protection.
Documents:
Storage pool states and troubleshooting
Lock your Azure resources to protect your infrastructure
I hope the above helps. Please let us know if you have any further questions on this.
Thank You!