Windows Server 2022 Features: How to Adjust Storage Repair Speed

In clustered Windows Server environments, it may sometimes be necessary to perform a storage resynchronization. In the past, a Windows administrator didn’t really have much control over this. However, Windows Server 2022 provides the option to adjust the storage repair speed. You can also adjust the storage repair speed in Azure Stack HCI.

Windows Server lets you choose storage repair speeds ranging from very low to very high, with medium speed being the default. Often, the default storage repair speed will be just fine. However, there are situations where an adjustment to the storage repair speed is warranted.

Choose a storage repair speed

When you adjust the storage repair speed, you are setting a priority for the system.

For example, if you choose a low storage repair speed, you are actually telling Windows to allocate most of the available resources to servicing active workloads. If you choose a high storage repair speed, this tells Windows to reallocate resources for servicing active workloads to the storage resynchronization and repair processes.

For the most part, storage repair speed is really just a matter of personal preference. However, you must be careful to choose a very low or very high repair speed. If you choose a very low repair speed, the resync process may not even be able to keep up with the data change rate. If you select a very high storage repair speed, there might not be enough resources available to handle your production workloads. As such, choosing a repair speed is a balancing act.

Configuring Storage Repair Speed ​​on Windows Admin Center

To configure Storage Repair Speed, log in to Windows Admin Center. Click on the cluster node you want to adjust. This will take you to the server manager screen for that server. You can see an example of this in Figure 1.

Figure 1

This is what the Windows Admin Center Server Manager view looks like.

In the top left corner of the screen, you will see text that says Windows Admin Center. Just to the right of this text is a drop-down list labeled Server Manager. Click on this drop-down list and select the Cluster Manager option. Now click on your cluster and Windows Admin Center will connect to it.

The next thing to do is to click on the Settings icon, which you can find in the lower left corner of the screen (shown in Figure 2 below). This will cause the Windows Admin Center to display the cluster settings. Locate the Storage section, then click on the “Storage Spaces and Pools” option.

Repair speed 2.jpg

Figure 2

Click on the “Storage Spaces and Pools” option in the Storage section.

Now just click on the Storage Repair Speed ​​option and then choose the repair speed you want to use.

Using PowerShell commands

You can also use PowerShell instead of Windows Admin Center. Here is the command to do it:

Set-StorageSubSystem -FriendlyName  -VirtualDiskRepairQueueDepth 

The trick to using this PowerShell command is that you can’t just express the storage repair speed as high, medium, or low. Instead, you need to provide queue depth, which directly translates to overall repair speed. Queue depth should be entered as an integer between 1 and 16. The higher the number, the faster the repair speed.

Here’s how the queue depths correspond to the repair speeds listed in Windows Admin Center:

Queue depth 1 = very low speed

Queue depth 2 = low speed

Queue depth 4 = average speed

Queue depth 8 = high speed

Queue depth 16 = very high speed.

As mentioned earlier, Windows defaults to medium storage repair speed, which uses a default queue depth of 4. You can check the queue depth using this command:

Get-StorageSubSystem | Select-Object FriendlyName, VirtualDiskRepairQueueDepth

All this is described in the official Microsoft documentation, which you can find here.

What Windows Server 2022 features have you found useful? Tell us in the comments below!

Comments are closed.