大网数据广告活动
Windows排障命令

refsutil fixboot

· 52CE 我爱测

Reference article for the refsutil fixboot tool, which repairs or updates the boot sector of a ReFS (Resilient File System) volume in Windows.

The refsutil fixboot command repairs or updates the boot sector of a specified ReFS (Resilient File System) volume. It ensures the boot sector is correctly configured based on the provided drive, version, and cluster size.

Warning: This operation modifies the boot sector(s) of a volume and may lead to complete data loss. Proceed with caution.

Syntax

refsutil fixboot <drive> <MajorVersion> <MinorVersion> <ClusterSize> [-f] [-w <Dir>] [-smr <SMRBandSizeInMB>] [-x]

Parameters

Parameter Description
<drive> Specifies the drive letter of the volume to be fixed in the format E:.
<MajorVersion> Specifies the major version of the ReFS volume.
<MinorVersion> Specifies the minor version of the ReFS volume.
<ClusterSize> Specifies the cluster size of the volume, either 4096 or 65536 bytes.
-f Forces the operation to ignore any valid boot sector found and fix the boot sector based on the provided parameters.
-w <Dir> Writes the changes to one or more boot sectors if needed and backs up one or more current boot sectors into the specified backup directory <DIR>.
-smr <SMRBandSizeInMB> Specifies that the volume is in SMR (Shingled Magnetic Recording) format. The cluster size must be 65536 bytes. SMRBandSizeinMB can be either 128 MB or 256 MB.
-x Forces the volume to dismount if necessary and invalidates all open handles to the volume.

Examples

To fix the boot sector of a ReFS volume on drive D: with a major version of 3, minor version of 3, and a cluster size of 4096 bytes, run this command:

refsutil fixboot D: 3 3 4096

To fix the boot sector of the ReFS volume on drive D: with a major version of 2, minor version of 1, and a cluster size of 65536 bytes, run the following command. This command forces the operation to ignore any valid boot sector found and writes the necessary changes to the boot sector, then backing up the boot sector into the directory C:\Backup:

refsutil fixboot D: 2 1 65536 -f -w C:\Backup

To fix the boot sector of the ReFS volume on drive D: with a major version of 2, minor version of 0, and a cluster size of 65536 bytes, run the following command. The command specifies that the volume is in SMR format with a band size of 128 MB:

refsutil fixboot D: 2 0 65536 -smr 128

Related links

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 04/02/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。