Unable to run DBCC CHECKDB when the database files reside in Azure Premium Storage in SQL Server 2014

Symptoms
Assume that you save your database files in Azure Premium Storage. When you run DBCC CHECKDB on the database in SQL Server 2014, you may receive error messages that resemble the following:
Msg 1823, Level 16, State 2, Line 3
A database snapshot cannot be created because it failed to start.

Msg 1823, Level 16, State 8, Line 3
A database snapshot cannot be created because it failed to start.

Msg 5120, Level 16, State 147, Line 3
Unable to open the physical file blob_storage_URL_path. Operating system error 24: "24(The program issued a command but the command length is incorrect.)".

Msg 7928, Level 16, State 1, Line 3
The database snapshot for online checks could not be created. Either the reason is given in a previous error or one of the underlying volumes does not support sparse files or alternate streams. Attempting to get exclusive access to run checks offline.

Msg 5030, Level 16, State 12, Line 3
The database could not be exclusively locked to perform the operation.

Msg 7926, Level 16, State 1, Line 3
Check statement aborted. The database could not be checked as a database snapshot could not be created and the database or table could not be locked. See Books Online for details of when this behavior is expected and what workarounds exist. Also see previous errors for more details.

Resolution
This problem was first fixed in the following cumulative update for SQL Server:


About cumulative updates for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Eigenschaften

Artikelnummer: 3164104 – Letzte Überarbeitung: 10/18/2016 03:12:00 – Revision: 2.0

Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Developer Community Technical Preview 2, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Enterprise Community Technology Preview 2, Microsoft SQL Server 2014 Enterprise Core, Microsoft SQL Server 2014 Enterprise Core Community Technical Preview 2, Microsoft SQL Server 2014 Express, Microsoft SQL Server 2014 Service Pack 1, Microsoft SQL Server 2014 Standard, Microsoft SQL Server 2014 Standard Community Technology Preview 2, Microsoft SQL Server 2014 Web, Microsoft SQL Server 2014 Web Edition Community Technical Preview 2

  • kbqfe kbsurveynew kbfix kbexpertiseinter KB3164104
Feedback