Steps to fix Parity Storage Spaces issue on Windows 10

Steps to fix Parity Storage Spaces issue on Windows 10

Microsoft is providing workaround steps to minimize the problem and restore files on devices using Storage Spaces after upgrading to Windows Server and Windows 10 version 2004 (May 2020 Update).

Instructions appear after the data protection feature stops working after an update and can cause data loss in many confirmed cases. According to the company, only Parity Storage is affected. Mirror and Simple Storage Spaces are not affected by the issue.

If you haven’t already, Storage Spaces is a feature that helps protect data from hard drive failures and expand memory over time, when you add a drive to your PC. You can use Storage Spaces to group two or more drives together in a storage pool and then use the space from that pool to create virtual drives called storage space. storage).

Basically, Storage Space usually stores 2 copies of data, so if one of the drives on the system fails, you still have 1 intact copy of the data. If you run out of space, simply add more drives to the Storage Pool. When using some configuration settings, the partitions for Storage Spaces will be displayed as RAW in Disk Manager.

Storage Space

If you’re affected by issues, Microsoft offers steps to use the troubleshooter and PowerShell settings to mitigate the problem, and it also provides steps to recover files if you still have access. into the memory.

In this tutorial, you will learn the steps recommended by Microsoft to mitigate the problem and restore files from Storage Spaces in a parity configuration after upgrading to Windows Server or Windows 10 version 2004.

Solve the issue with Storage Spaces using the troubleshooter

Microsoft has provided a number of automatic troubleshooters to resolve some issues and mitigate the problem in some situations.

To check if the automatic troubleshooter has been run and applied to mitigate the problem, follow these steps:

1. Open Settings.

2. Click Update & Security .

3. Click Troubleshoot.

4. In the Recommended troubleshooting section , click the View history option .

5. If the troubleshooter tried to run, you should see an important troubleshooter or troubleshooter suggested with a title and description.

  • Hardware and devices troubleshooter : Automatically change system settings to fix problem on device.

Explanation: This troubleshooter will prevent problems with data on Storage Spaces. Once the troubleshooter runs, you will no longer write to Storage Spaces.

  • Storage space troubleshooter : Data corruption was detected on Parity Storage Space. This troubleshooter takes actions to prevent the data corruption from worsening. It also restores write permission if the previous space was marked as read-only.

Explanation: This troubleshooter will minimize the issue for some users and will restore read and write permissions to Parity Storage Spaces. Problematic files may need to be recovered manually.

Once the steps are complete, you should see the problem minimized. Microsoft also said that there are currently no adequate mitigation measures for all scenarios of this issue.

There are several ways to fix the problem with Storage Spaces

Solve the problem with Storage Spaces using PowerShell

To minimize the Storage Spaces issue on Windows 10 or Windows Server with PowerShell, follow these steps:

Step 1: Access the Start menu and type “powershell” in the search box.

Step 2: Right-click on Windows PowerShell and select Run as administrator .

Step 3: If the User Access Control dialog for Windows Powershell appears, choose Yes.

Step 4: In the PowerShell dialog box, enter the following command and press Enter :

Get-VirtualDisk | ? ResiliencySettingName -eq Parity | Get-Disk | Set-Disk -IsReadOnly $true

Step 5: Your Storage Spaces will now be set to “read only”.

Note: Microsoft strongly recommends that users not run the chkdsk command on any affected device.

The steps above are equivalent to the troubleshooter titled Hardware and devices troubleshooter above. There is currently no user manual equivalent to the Storage space troubleshooter .

Addressed issue with Storage Spaces with recovery files

If you can access Parity Storage Spaces and it doesn’t appear as RAW in Disk Manager, you can try to recover using Windows File Recovery (WinFR).

To restore files from Storage Spaces, follow these steps:

1. Open the Microsoft Store.

2. Download the Windows File Recovery app.

3. Open the WinFR application .

4. Run segment mode (/ r) with the / u flag to recover the files from the NTFS volume. By default, this will recover all possible files. You can add filter flags if you are only interested in certain file formats (such as / n * .docx ) and to reduce file system recovery. An example command to recover all docx files in C: drive to D: SpacesRecovery folder:

winfr.exe C: D:SpacesRecovery /r /u /n*.docx

When the steps are completed, you can see the recovered files. In the above example, you will need to go to D: SpacesRecovery to see your recovered data.

If you have a ReFS volume that shows up as RAW in Disk Manager, you can use the refsutil salvage command to restore data to a volume of equal size. There are two options for the salvage command: Fast and full. Quick recovery may not recover as much data as a full recovery.

To perform a quick restore, follow these steps:

1. Open Start.

2. Open Command Prompt with admin rights.

3. Type the following command to restore the file and press Enter :

refsutil salvage -QA SOURCE-VOLUME WORKING-DIRECTOR DESTINATION-FOLDER

For example:

refsutil salvage -QA E: F:SalvagedFiles

To perform a full restore, follow these steps:

1. Open Start.

2. Open Command Prompt with admin rights.

3. Type the following command to restore the file and press Enter :

refsutil salvage -FA SOURCE-VOLUME WORKING-DIRECTOR DESTINATION-FOLDER

For example:

refsutil salvage -FA E: F:SalvagedFiles

After you complete the steps, the files will be restored in the folder you specified.

3