# 高级格式

**高级格式**（Advanced Format，AF）是一种硬盘介质格式，由国际磁盘驱动器设备与材料协会（IDEMA）命名，以 4,096 字节（4 KB）扇区取代传统的 512 字节物理扇区。2010 年前后，硬盘制造商开始从 512 字节扇区向 4K 扇区迁移；2009 年 12 月，IDEMA 提名并批准将高级格式作为该标准的名称；制造商承诺自 2011 年 1 月起出货采用高级格式的台式机和笔记本电脑硬盘。<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup>

| 关键事实 | 详情 |
|---|---|
| 物理扇区大小 | 4,096 字节，将八个传统 512 字节扇区合并为一个 4K 扇区<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup> |
| 格式效率 | 传统 512 字节布局约为 88%（每扇区 50 字节纠错码加 15 字节间隙/同步/地址标记），高级格式为 97%（100 字节纠错码，其他开销同为 15 字节）<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup> |
| 介质类型 | 512 字节模拟（512e）：逻辑 512 字节、物理 4 KB；4K 原生（4Kn）：逻辑与物理均为 4 KB<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup> |
| Windows 对 512e 的支持 | Windows 8、Windows Server 2012、安装 KB 982018 的 Windows 7、Windows 7 SP1、安装 KB 982018 的 Windows Server 2008 R2、Windows Server 2008 R2 SP1、安装 KB 2553708 的 Windows Vista、安装 KB 2553708 的 Windows Server 2008<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup> |
| Windows 对 4Kn 的支持 | Windows 8 和 Windows Server 2012 及更高版本<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup> |
| 不支持的平台 | Windows XP、Windows Server 2003 和 Windows Server 2003 R2 不支持 512e 或 4Kn 介质<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup> |
| 固件要求 | 4Kn 硬盘仅在基于 UEFI 的计算机上受支持；512e 硬盘在基于 BIOS 或基于 UEFI 的计算机上均可工作<sup>[3](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/hard-drives-and-partitions?view=windows-11)</sup> |

## 扇区大小为何改变

三十多年来，硬盘一直将数据格式化为 512 字节扇区，许多系统软件也假定采用这一大小。随着面密度提高，每个 512 字节扇区占据的盘片表面积越来越小，因此给定物理尺寸的介质缺陷会损坏更大比例的数据载荷，并要求更强的纠错能力。一个 512 字节扇区通常最多能纠正 50 字节长的缺陷，而面密度领先的硬盘正在逼近这一纠错能力的极限。<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup>

4K 扇区直接解决了这一问题。高级格式布局保持相同的 15 字节间隙、同步和地址标记开销，但将纠错码字段从 50 字节加倍到 100 字节，使分扇区格式效率从约 88% 提升到 97%，提高了近 10%。更大的扇区还为提升面密度和硬盘容量提供了更快的途径，并提供更稳健的纠错能力。<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup>

## 512e 与 4Kn 介质

由于大多数现有软件假定使用 512 字节扇区，业界引入了两种介质类型。<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup>

**512 字节模拟（512e）。** 硬盘对外暴露 512 字节作为其逻辑扇区大小，即用于逻辑块寻址的单位，也是存储接受的最小写入单位；同时在内部以 4 KB 物理扇区（原子写入的单位）执行读写。硬盘通过标准 ATA 和 SCSI 命令提供其真实物理扇区大小。在 Windows 上，IOCTL_DISK_GET_DRIVE_GEOMETRY 等大多数 API 返回逻辑扇区大小；物理大小则通过 IOCTL_STORAGE_QUERY_PROPERTY 控制代码，在 STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR 结构的 BytesPerPhysicalSector 字段中获取。<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup>

**4K 原生（4Kn）。** 这种介质没有模拟层，逻辑和物理扇区大小均暴露为 4 KB。主要风险在于，不查询物理扇区大小、也不将 I/O 对齐到物理扇区大小的应用程序和操作系统可能遇到意外的 I/O 失败。<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup>

Windows 不支持报告 4 KB 或 512 字节以外扇区大小的介质。<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup>

## 读-改-写与对齐

从 512e 硬盘读取很简单：硬盘读取 4K 块，并在其 DRAM 中重新格式化所请求的 512 字节虚拟扇区，没有可测量的性能影响。当主机只写入物理 4K 扇区的一部分时，写入就更为复杂。此时硬盘必须读取整个 4K 扇区，合并新数据，再重写整个扇区，这一序列称为读-改-写（RMW）周期，会带来额外的机械步骤并降低性能。<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup>

有两种情况会触发 RMW：因逻辑到物理分区未对齐而导致的写入请求未对齐，以及小于 4K 的写入请求。<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup> 每个 512 字节扇区都有一个逻辑块地址（LBA），LBA 0 落在 4K 物理扇区内的可能位置有八个。当 LBA 0 与第一个虚拟 512 字节块对齐时，该情况称为对齐 0，硬盘可以将八个连续的 512 字节扇区映射到一个 4K 扇区中，将部分写入缓存在缓存中，直到累积满一个完整的 4K 块。对齐 1（LBA 0 落在第二个虚拟块上）以及其他六种未对齐情况会强制触发 RMW 周期。现代应用程序写入的块大于 4K，因此零碎写入很少见，但未对齐分区仍是需要避免的关键情况。<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup>

分区软件决定对齐方式。Windows Vista Service Pack 1 及更高版本（包括 [Windows 7](https://www.edgepedia.org/zh/windows-7) 和 [Windows 10](https://www.edgepedia.org/zh/windows-10)）会创建对齐（[对齐](https://www.edgepedia.org/zh/alignment) 0）分区；Windows XP 会创建未对齐分区，SP1 之前的 Windows Vista 则会错误地进行分区。第三方分区工具是未对齐分区的常见来源，多分区硬盘上的每个分区都必须使用支持 4K 的软件创建。补救措施包括使用支持 4K 的分区工具、运行重新对齐工具，或依赖硬盘层面的处理。<sup>[1](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)</sup>

**硬盘侧缓解。** 希捷的 SmartAlign 技术是一种硬盘固件，可在硬盘内部动态管理 RMW 情况，无需主机干预；它不会重新对齐分区，希捷的测试显示，对绝大多数桌面工作负载而言性能保持一致，因此硬盘表现得就像传统 512 字节扇区硬盘一样，无需对齐工具。<sup>[4](https://www.seagate.com/docs/pdf/whitepaper/mb_smartalign_technology_faq.pdf)</sup>

## Windows 支持与工具

Windows 7 SP1 和 Windows Server 2008 R2 SP1 支持带模拟（512e）的 4K 磁盘。[Windows 8](https://www.edgepedia.org/zh/windows-8) 和 [Windows Server 2012](https://www.edgepedia.org/zh/windows-server-2012) 增加了对 4K 原生磁盘的完整内置支持，包括从 4Kn 磁盘安装和启动 Windows、VHD 和新的 VHDX 文件格式、完整的 Hyper-V 支持、Windows 备份、完整的 NTFS 支持、[存储空间](https://www.edgepedia.org/zh/storage-spaces)和存储池，以及 Windows Defender。Windows 8 还引入了 FileFsSectorSizeInformation API，可在网络卷上、任意文件句柄上以及从非特权应用查询物理扇区大小；并增强了 fsutil 命令，可报告逻辑和物理扇区大小及对齐信息；安装 KB 982018 的 Windows 7 和 Windows Server 2008 R2 可使用不带对齐信息的基本版本。<sup>[2](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)</sup>

在部署方面，4Kn 硬盘需要基于 UEFI 的计算机，而 512e 硬盘在 BIOS 或 UEFI 固件上均可工作。在 4K 原生硬盘上，最小分区大小为 260 MB，这是受 FAT32 限制所致：FAT32 最小大小按扇区大小（4 KB）× 65527 = 256 MB 计算。<sup>[3](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/hard-drives-and-partitions?view=windows-11)</sup>

**虚拟磁盘。** 默认情况下，VHD 文件以 512 字节物理扇区大小暴露，以便依赖物理扇区大小的应用程序在迁移期间不受影响；而 VHDX 磁盘默认以 4 KB 物理扇区大小创建。[Windows Server 2012 R2](https://www.edgepedia.org/zh/windows-server-2012-r2) 及更高版本中的 Hyper-V 支持 4 KB 原生磁盘，在必须满足 512 字节请求时，在虚拟存储栈中使用软件 RMW 算法。[Windows Server 2016](https://www.edgepedia.org/zh/windows-server-2016) 中的 Hyper-V 通过将结构对齐到 4 KB 边界，减轻 512e 磁盘上 VHD 栈的 RMW 影响；从早期版本复制的 VHD 不会自动对齐，可使用 Convert-VHD 命令进行转换。<sup>[5](https://learn.microsoft.com/en-us/windows-server/administration/performance-tuning/role/hyper-v-server/storage-io-performance)</sup>

## 当前硬盘的格式灵活性

企业级硬盘越来越多地让买家选择逻辑扇区格式。希捷的快速格式化（Fast Format）功能用于 Exos 7E10 等硬盘，支持 512e 或 4Kn 逻辑扇区大小，并通过 ACS-4 标准中的 SET SECTOR CONFIGURATION EXT（B2h）命令在 512 字节和 4,096 字节格式之间转换；命令完成后更改立即生效，默认出货格式为 512E。<sup>[6](https://www.seagate.com/content/dam/seagate/migrated-assets/www-content/product-content/enterprise-hdd-fam/exos-7e10/_shared/docs/200440800f.pdf)</sup> 东芝的灵活格式化（Flexible Format）技术在 MG11（14 TB 至 24 TB）和 MG10（1 TB 至 10 TB）型号上通过重新格式化，在一块硬盘上支持 512e 或 4Kn，从而无需分别备货不同块大小的型号，并让云规模运营商优化物流和库存。<sup>[7](https://www.toshiba-storage.com/products/enterprise-capacity-hard-drive-mg-series/)</sup> 东芝数据表将格式编码在型号后缀中：A 表示高级格式 4K 扇区，E 表示 512 字节模拟，N 表示 512 字节原生，P 表示 4Kn。<sup>[8](https://www.toshiba-storage.com/wp-content/uploads/2021/04/AL_Series_Datasheet_2021.pdf)</sup>

## References

1. [Transition to Advanced Format 4K Sector Hard Drives, Seagate (May 22, 2024)](https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/)
2. [Advanced format disk compatibility update, Compatibility Cookbook, Microsoft Learn](https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update)
3. [Hard Drives and Partitions, Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/hard-drives-and-partitions?view=windows-11)
4. [SmartAlign Technology Frequently Asked Questions, Seagate Marketing Bulletin](https://www.seagate.com/docs/pdf/whitepaper/mb_smartalign_technology_faq.pdf)
5. [Hyper-V storage I/O performance, Microsoft Learn](https://learn.microsoft.com/en-us/windows-server/administration/performance-tuning/role/hyper-v-server/storage-io-performance)
6. [Seagate Exos 7E10 5xxE-4KN SATA Product Manual, Rev. F](https://www.seagate.com/content/dam/seagate/migrated-assets/www-content/product-content/enterprise-hdd-fam/exos-7e10/_shared/docs/200440800f.pdf)
7. [Enterprise Capacity Hard Drive, MG Series, Toshiba](https://www.toshiba-storage.com/products/enterprise-capacity-hard-drive-mg-series/)
8. [AL Series Enterprise Performance HDD datasheet, Toshiba](https://www.toshiba-storage.com/wp-content/uploads/2021/04/AL_Series_Datasheet_2021.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Storage devices & memory › Magnetic & mechanical storage › HDD recording technology

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/advanced-format

English original: https://www.edgepedia.org/advanced-format
