- You apply Microsoft SQL Server 2008 R2 Service Pack 1 (SP1) for Microsoft SQL Server 2008 R2.
- You try to start the SQL Server services.
In this scenario, an error 9013 which resembles the following might be logged in the SQL Server error log:
Note This error causes no risk to the database.
When a database is created, a logical sector size is stored in the metadata. When a database is brought online, a check is performed to see whether the data that is written in the log file is aligned with the sector size that is formatted. If they are not aligned, then the tail of the log will be rewritten and the issue that is mentioned in the "Symptoms" section occurs.
Based on the design from Microsoft SQL Server 2000, the master, model, and msdb databases are formatted with a sector size of 4096 bytes. The maximal value of physical sector size and logical sector size are used in versions of SQL Server earlier than SQL Server 2008 R2 SP1. However, SQL Server 2008 R2 SP1 adds support for 512-byte Emulation (512e) disk drives. Because of a defect, the physical sector size is used when it should not be. For example, if the physical sector size of the disk drive is 512 bytes and the logical sector size of the master, model, and msdb databases is 4096 bytes, then they are not aligned. Therefore, the error message that is mentioned in the "Symptoms" section is logged in the SQL Server error log.
Note Usually, it is the physical sector size of the disk drive on which the database is created.
Cumulative update information
Cumulative update package 4 for SQL Server 2008 R2 SP1
The fix for this issue was first released in Cumulative Update 4. For more information about how to obtain this cumulative update package for SQL Server 2008 R2 SP1, click the following article number to view the article in the Microsoft Knowledge Base:
Article ID: 2624272 - Last Review: Dec 19, 2011 - Revision: 1