Storage Spaces Direct Needs Rebalance

When you write or delete a lot of data in your storage pool it could be that your volumes end up with the operational status of “Needs Rebalance”

Needs rebalance

This operation needs to be executed by the Administrator (Yes, i’m pointing at you right now) when your disks need a rebalance.
You can use the following Powershell cmdlet to do so:

$UniqueId = (Get-StoragePool | Where {$_.IsPrimordial -eq $false}).UniqueId
Optimize-StoragePool -UniqueId $UniqueId

The output will be a progress bar for the optimization job:


You could also use the “Get-StorageJob” cmdlet to show the status of the job:


After the job is completed, everything is ok:

S2D Storage Pools

Happy days!

Thank you for reading my blog.
If you have any questions or feedback, leave a comment or drop me an email.

Darryl van der Peijl


Leave a Reply

Your email address will not be published. Required fields are marked *