Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Hard disk drive sector-size support boundaries in SQL Server

View products that this article applies to.


Microsoft SQL Server currently supports the following sector sizes that are equal to or less than 4 kilobytes (KB):
  • SQL Server supports disk drives that have standard native sector sizes of 512 bytes and 4 KB.
  • SQL Server does not support drives with sector sizes that are greater than 4K. For example, 8K sector size.

If you try to use sector size that is higher than 4K, you will encounter the following error message:

You can use the following Windows OS commands to determine the physical sector sizes that are reported by the hardware:

↑ Back to the top

More Information

SQL Server requires correct reporting of physical sector size to maintain data safety and avoid data loss. Avoidance of sector rewrites is a fundamental requirement of SQL Server. We do not support the read, write, and modify behavior that logical sector size reporting causes.

For more information about support for larger sector sizes, see the "4-KB disk sector sizes" section in the following white paper:

If you are using Advanced Format Disks that are physically formatted with 4,096 bytes, but expose a logical sector size of 512 bytes, then you must update your SQL Server systems with the following fixes to be in a supported state:
  • Windows Update to enable correct recognition and reporting of physical and logical sector size:
    • 2553708 A hotfix rollup that improves Windows Vista and Windows Server 2008 compatibility with Advanced Format disks
    • 982018 An update that improves the compatibility of Windows 7 and Windows Server 2008 R2 with Advanced Format Disks is available
  • SQL Updates to use the updated logical and physical sector sizes in the SQL Server transaction log manager:
    • SQL Server 2008 R2 Service Pack 1 and later versions of SQL Server 2008 R2
    • SQL Server 2012 RTM and later versions of SQL Server 2012

The disk drive manufacturer specification should indicate whether the drive is an Advanced Format Disk. After you apply the Windows updates, utilities such as fsutil start reporting both the physical and logical sector sizes. If you use Advanced Format Disks without the updates that are mentioned earlier in this section, there is a risk of potential data loss and performance issues. This is because the drive firmware has to perform Read-Modify-Write to support the logical 512-byte and physical 4,096-byte sector mappings. For more information about this behavior, visit the following Microsoft Tech Community webpage:

Note Disk drives that have native 4KB sector size (both physical and logical) will work fine without the Windows and SQL updates that are mentioned earlier in this section.

For more information about the Windows sector support policy, visit Microsoft support policy for 4K sector hard drives in Windows.

↑ Back to the top

Keywords: kb, kbtshoot, kbhowto, kbinfo, kbentirenet

↑ Back to the top

Article Info
Article ID : 926930
Revision : 12
Created on : 3/5/2019
Published on : 3/8/2019
Exists online : False
Views : 411