Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Help Please - DBCC Check Failed-The operating system returned error 87


Help Please - DBCC Check Failed-The operating system returned error 87

Author
Message
JC-3113
JC-3113
SSC-Addicted
SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)

Group: General Forum Members
Points: 450 Visits: 620
Hi folks

came in today and found this error on one of my databases.

Would appreciate any assistance on this as I have not seen this type of error before
If you could lend me your expertise in this i would greatly appreciate it:

Event Error:

The operating system returned error 87(The parameter is incorrect.)
to SQL Server during a write at offset 0x000001cdc58000 in file 'K:\MSSQL\UserDB\Data\SP04_WSS_Content.mdf'.
Additional messages in the SQL Server error log and system event log may provide more detail.
This is a severe system-level error condition that threatens database integrity and must be corrected immediately.
Complete a full database consistency check (DBCC CHECKDB).
This error can be caused by many factors; for more information, see SQL Server Books Online.

Thanks
Jim

use [sp04_wss_content];
dbcc checkdb;
go

Changed database context to 'SP04_WSS_Content'.
Msg 823, Level 24, State 3, Server NSAB-SS80-SQL-N, Line 4
The operating system returned error 87(The parameter is incorrect.) to SQL Server during a write at offset 0x000001cdc58000 in file
'K:\MSSQL\UserDB\Data\SP04_WSS_Content.mdf'.
Additional messages in the SQL Server error log and system event log may provide more detail.
This is a severe system-level error condition that threatens database integrity and must be corrected immediately.
Complete a full database consistency check (DBCC CHECKDB).
This error can be caused by many factors; for more information,
see SQL Server Books Online.
Msg 1823, Level 16, State 2, Server NSAB-SS80-SQL-N, Line 4
A database snapshot cannot be created because it failed to start.
Msg 7928, Level 16, State 1, Server NSAB-SS80-SQL-N, Line 4
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, Server NSAB-SS80-SQL-N, Line 4
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Server NSAB-SS80-SQL-N, Line 4
Orlando Colamatteo
Orlando Colamatteo
SSCrazy Eights
SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)

Group: General Forum Members
Points: 8235 Visits: 14368
JC-3113 (3/11/2013)
Hi folks

came in today and found this error on one of my databases.

Would appreciate any assistance on this as I have not seen this type of error before
If you could lend me your expertise in this i would greatly appreciate it:

Event Error:

The operating system returned error 87(The parameter is incorrect.)
to SQL Server during a write at offset 0x000001cdc58000 in file 'K:\MSSQL\UserDB\Data\SP04_WSS_Content.mdf'.
Additional messages in the SQL Server error log and system event log may provide more detail.
This is a severe system-level error condition that threatens database integrity and must be corrected immediately.
Complete a full database consistency check (DBCC CHECKDB).
This error can be caused by many factors; for more information, see SQL Server Books Online.

Thanks
Jim

use [sp04_wss_content];
dbcc checkdb;
go

Changed database context to 'SP04_WSS_Content'.
Msg 823, Level 24, State 3, Server NSAB-SS80-SQL-N, Line 4
The operating system returned error 87(The parameter is incorrect.) to SQL Server during a write at offset 0x000001cdc58000 in file
'K:\MSSQL\UserDB\Data\SP04_WSS_Content.mdf'.
Additional messages in the SQL Server error log and system event log may provide more detail.
This is a severe system-level error condition that threatens database integrity and must be corrected immediately.
Complete a full database consistency check (DBCC CHECKDB).
This error can be caused by many factors; for more information,
see SQL Server Books Online.
Msg 1823, Level 16, State 2, Server NSAB-SS80-SQL-N, Line 4
A database snapshot cannot be created because it failed to start.
Msg 7928, Level 16, State 1, Server NSAB-SS80-SQL-N, Line 4
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, Server NSAB-SS80-SQL-N, Line 4
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Server NSAB-SS80-SQL-N, Line 4

Error 823 means SQL Server had trouble accessing the database file on disk. If you cannot run CHECKDB it may be a sign of an impending crash of your I/O subsytem. Do you have a current backup of this database. Can you take a new FULL backup of this database? Enlist the help of your hardware team (if you have one) and look for other messages in the Windows Event log and SQL Server Error log denoting issues with the I/O subsystem right away.

From the database side, try restoring a current database backup to another machine and checking for corruption there, i.e. run DBCC CHECKDB(sp04_wss_content) WITH NO_INFOMSGS on the restored copy and post the entire result here.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
JC-3113
JC-3113
SSC-Addicted
SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)

Group: General Forum Members
Points: 450 Visits: 620
Hi opc.three

Well, i started to back up all the databases since i did not get any backups since sat. I am using SSMS and if the DBCC CHECKDB fails on any database, the backups do not run, since i do that first.

I know, pretty poor. I am going to have to address this, but anyway i was backing up existing databases and started getting the same problem on two other databases. I found this error also
"A system assertion check has failed. "

Not good according to Gail. Lots of dump files and "BugCheck Dump" files. Not good also.
Anyway as I was doing a check on the third database, the server crashed.

After it came back up and I started the services, I ran a check again on the bad databases.

To my surprise, all the databases that showed a problem, passed the check and I was able to get full backups. So I am not sure what the cause is at this time.

I am trying to get an Admin to get me a ticket with MS to see if they can shed some light on issues we had.

Thanks
Jim
Orlando Colamatteo
Orlando Colamatteo
SSCrazy Eights
SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)SSCrazy Eights (8.2K reputation)

Group: General Forum Members
Points: 8235 Visits: 14368
Gail looked to be offline so I jumped in. Hopefully she'll drop by and help shed some additional light on the situation.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Lynn Pettis
Lynn Pettis
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24177 Visits: 37948
Does that particular database have an database snapshot currently defined? Just a guess here.

Cool
Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
kyleheath33
kyleheath33
SSC Veteran
SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)

Group: General Forum Members
Points: 207 Visits: 811
Could be an issue with the DBCC snapshot.. the only thing I could remember was this post a while ago:
http://www.sqlservercentral.com/Forums/Topic450261-146-2.aspx#bm477512

Would make sense if your DBCC came back after a server restart after a crash
JC-3113
JC-3113
SSC-Addicted
SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)

Group: General Forum Members
Points: 450 Visits: 620
Thanks kyleheath33

from what I was told from a sysadmin
this sql server is a virtual machine on vmware

i do not know that much abour vmware

anyway apparently, the vmware console or master pink screened and took down all the clients
of which my server is one, so thus the crash yesterday

that does not explain why i was getting corruption notices starting on last sat though unless that master was going south at that time.

Jim
kyleheath33
kyleheath33
SSC Veteran
SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)

Group: General Forum Members
Points: 207 Visits: 811
From my post I meant that it would make sense for the DBCC to come back clean after a reboot as the SQL restart (server crash) would have cleared the hidden previous snapshot which was causing the issue, this is all just suggestion and would keep going with the MS ticket.
JC-3113
JC-3113
SSC-Addicted
SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)SSC-Addicted (450 reputation)

Group: General Forum Members
Points: 450 Visits: 620
Hi Lynn

i am not using snapshots that I am aware of

Jim
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search