Windows 10 版本 2004 面临访问Parity Storage Spaces 的问题。(Parity Storage Spaces was a problem.) 微软(Microsoft)建议将存储空间设置为只读(Read-only),这样数据就不会受到影响。现在Windows 团队(Windows Team)已经发布了用于奇偶校验存储空间(Windows Troubleshooters for Parity Storage Spaces)问题的 Windows 疑难解答。您可以使用它们自动更改系统设置以解决问题,并确保防止进一步的数据损坏。
注意(Note )简单存储(Storage) 空间(Spaces)和镜像存储(Mirror Storage) 空间(Spaces)不受此问题的影响。此外,故障排除程序仅在您遇到问题并且操作系统已尝试恢复时出现。确保检查它是否自动运行。
奇偶校验存储(Parity Storage)空间的 Windows 疑难解答
Microsoft已经警告说,恢复到以前的版本或运行CHKDSK命令以及任何不推荐的解决问题的尝试都可能导致数据损坏。您可以按照手动方法或从Windows 团队(Windows Team)下载疑难解答并试一试。目前没有针对此问题的所有场景的完全缓解措施。
- 打开 Windows 10 设置
- 导航到更新和安全 >疑难解答 (Troubleshoot )
- 单击 疑难解答 (Troubleshoot )部分中的查看历史记录(View History)链接
- 如果疑难解答程序已尝试运行,您将看到一个 关键疑难解答(critical troubleshooter)程序 或 推荐的疑难解答(recommended troubleshooter)程序 ,其标题和说明来自下表。注释列解释了疑难解答程序的作用。
Title | Description | Notes |
Hardware and devices troubleshooter | Automatically change system settings to fix a problem on your device. | This troubleshooter will prevent issues with the data on your Storage Spaces. After the troubleshooter has run, you will not be able to write to your Storage Spaces. |
Storage space troubleshooter | Data corruption was detected in your parity storage space. This troubleshooter takes action to prevent further corruption. It also restores write access if space was previously marked read-only. For more information and recommended actions, please see the link below. | This troubleshooter will mitigate the issue for some users and will restore read and write access to your Parity Storage Spaces. |
此疑难解答程序将缓解某些用户的问题,并将恢复对Parity Storage Spaces(Parity Storage Spaces)的读写访问权限。
注意 (Note )可能需要恢复已经存在问题的文件。有关详细信息,请参阅下面的“恢复文件”部分。
如果您在拥有Simple Storage (Simple Storage) Spaces或Mirror Storage Spaces时尝试运行这些,可能会显示故障排除程序无法运行 (Could not be run )消息。预计为 Simple Storage Spaces,Mirror Storage Spaces不受此问题的影响。
也就是说,如果故障排除程序仍然给您带来问题,唯一的出路是手动方法。您需要在具有管理员权限的(Admin)PowerShell中运行下面提到的命令,以将存储空间设置为只读。
VirtualDisk | ? ResiliencySettingName -eq Parity | Get-Disk | Set-Disk -IsReadOnly $true
如何从奇偶校验存储(Parity Storage)空间中恢复文件
如果您能够访问您的奇偶校验存储(Parity Storage) 空间(Spaces)并且它没有在磁盘管理器中显示为RAW,那么您可以使用WinFR工具来恢复丢失的文件。它是来自 Windows Team的官方文件恢复工具。(official file recovery tool)
您必须使用带有取消删除文件标志的分段模式来从NTFS卷中恢复文件。默认模式将恢复所有可能的文件,但如果您担心特定的文件类型,则可以使用 /n *.docx 仅恢复那些文件类型。这是完整的命令和选项集
winfr source-drive: destination-folder [/switches]
- /r – 段(– Segment)模式(仅限NTFS,使用文件记录段恢复)
- /n> - 过滤搜索(默认或分段模式,允许通配符,文件夹尾随)
- /x – 签名(– Signature)模式(使用文件头恢复)
- /y:–恢复(Recover)特定的分机组(仅签名模式,逗号分隔)
- /# – 显示(– Displays)签名模式扩展组和文件类型
- /?– 帮助文本
- /!- 显示高级功能
仅在签名模式下支持从非 NTFS 文件系统恢复文件。
如何在磁盘管理器(Disk Manager)中恢复RAW文件(Files)
如果 ReFS 卷在 磁盘管理器中显示为(Disk Manager)RAW ,您可以使用ReFSUtil命令将数据恢复到同等大小的卷。有两种模式,我们建议您从快速开始,然后尝试完整。该工具包含在Windows和Windows Server中。它尝试诊断严重损坏的ReFS卷、识别剩余文件并将这些文件复制到另一个卷。
执行快速恢复:
在提升的命令提示符下
refsutil salvage -QA <source volume> <working directory> <target directory>
例如
refsutil salvage -QA E: F:\SalvagedFiles
执行完全恢复
在提升的命令提示符下
refsutil salvage -FA <source volume> <working directory> <target directory>
例如:
refsutil salvage -FA E: F:\SalvagedFiles
很高兴看到微软(Microsoft)一直在努力为更新到Windows 10后面临(Windows 10)奇偶校验存储空间问题(Parity Storage Spaces Issue)的用户带来新的解决方案。这些疑难解答可以帮助解决一些问题,如果不是全部的话。
Windows Troubleshooters for Parity Storage Spaces issue
Windows 10 version 2004 faced the issue where accessing Parity Storage Spaces was a problem. Microsoft suggested making the storage space as Read-only, so the data doesn’t get affected. Now the Windows Team has released Windows Troubleshooters for Parity Storage Spaces issue. You can use them to automatically change system settings to fix the problem and also makes sure to prevent further data corruption.
Note Simple Storage Spaces and Mirror Storage Spaces are not affected by this issue. Also, the troubleshooter appears only when you have an issue, and OS has attempted to recover. Make sure to check if it was run automatically.
Windows Troubleshooters for Parity Storage Spaces
Microsoft has already warned that reverting to the previous version or running the CHKDSK command and any attempt to fix the problem not recommended by them might result in data corruption. You can follow the manual method or download the troubleshooters from the Windows Team and give it a try. There is currently no full mitigation for all scenarios of this issue.
- Open Windows 10 Settings
- Navigate to Update & Security > Troubleshoot
- Click on the View History link in the Troubleshoot section
- If the troubleshooter has attempted to run, you will see a critical troubleshooter or recommended troubleshooter with the title and description from the below table. The notes column explains what the troubleshooter does.
Title | Description | Notes |
Hardware and devices troubleshooter | Automatically change system settings to fix a problem on your device. | This troubleshooter will prevent issues with the data on your Storage Spaces. After the troubleshooter has run, you will not be able to write to your Storage Spaces. |
Storage space troubleshooter | Data corruption was detected in your parity storage space. This troubleshooter takes action to prevent further corruption. It also restores write access if space was previously marked read-only. For more information and recommended actions, please see the link below. | This troubleshooter will mitigate the issue for some users and will restore read and write access to your Parity Storage Spaces. |
This troubleshooter will mitigate the issue for some users and will restore read and write access to your Parity Storage Spaces.
Note Files that have already had issues may need to be recovered. See the “Recover files” section below for more information.
If you try to run these when having Simple Storage Spaces or Mirror Storage Spaces, It may show Could not be run message for the troubleshooter. It is expected as Simple Storage Spaces, and Mirror Storage Spaces are not affected by this issue.
That said, if the troubleshooter still gives you a problem, the only way out is the manual method. You need to run the below-mentioned command in PowerShell with Admin privileges to make the storage space as read-only.
VirtualDisk | ? ResiliencySettingName -eq Parity | Get-Disk | Set-Disk -IsReadOnly $true
How to Recover files from Parity Storage spaces
If you are able to access your Parity Storage Spaces and it does not show it as RAW in the disk manager, then you can use the WinFR tool to recover lost files. Its an official file recovery tool from Windows Team.
You will have to use the segment mode with the undelete files flag to recover files from the NTFS volumes. The default mode will recover all possible files, but if you are concerned about specific file types, then you can use the /n *.docx to recovery only those files types. Here is the full set of commands and options
winfr source-drive: destination-folder [/switches]
- /r – Segment mode (NTFS only, recovery using file record segments)
- /n <filter> – Filter search (default or segment mode, wildcards allowed, trailing \ for folder)
- /x – Signature mode (recovery using file headers)
- /y:<type(s)> – Recover specific extension groups (signature mode only, comma separated)
- /# – Displays signature mode extension groups and file types
- /? – Help text
- /! – Display advanced features
Recovering files from non-NTFS file systems are only supported in signature mode.
How to Recover Files in case of RAW in Disk Manager
If the ReFS volume shows as RAW in Disk Manager, you can use the ReFSUtil command to recover data to a volume of equivalent size. There are two modes, and we suggest you start with quick and then try full. The tool is included in Windows and Windows Server. It attempts to diagnose heavily damaged ReFS volumes, identify remaining files, and copy those files to another volume.
Perform Quick recovery:
In an elevated command prompt
refsutil salvage -QA <source volume> <working directory> <target directory>
For example
refsutil salvage -QA E: F:\SalvagedFiles
Perform Full Recovery
In an elevated command prompt
refsutil salvage -FA <source volume> <working directory> <target directory>
For example:
refsutil salvage -FA E: F:\SalvagedFiles
It is good to see that Microsoft has been working ion bring new solutions for those who are facing the Parity Storage Spaces Issue after updating to Windows 10. These troubleshooters can help in resolving the problem by a bit, if not all.