dbTalk Databases Forums  

ogical consistency-based I/O error

microsoft.public.sqlserver.replication microsoft.public.sqlserver.replication


Discuss ogical consistency-based I/O error in the microsoft.public.sqlserver.replication forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
LPR-3rd
 
Posts: n/a

Default ogical consistency-based I/O error - 01-18-2010 , 03:15 PM






I received this error message from one of my SQL 2005 Servers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SQL Server detected a logical consistency-based I/O error: incorrect
checksum (expected: 0x334e4db8; actual: 0x174eeacc). It occurred
during a read of page (1:22084) in database ID 12 at offset
0x0000000ac88000 in file 'D:\Program Files\Microsoft SQL Server\MSSQL.
1\MSSQL\DATA\STOREMAIN.mdf'. Additional messages in the SQL Server
error log or system event log may provide more detail. This is a
severe 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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When I run DBCC CHECKDB the following is reported for one of the
tables
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Msg 8928, Level 16, State 1, Line 1
Object ID 845246066, index ID 0, partition ID 72057594245939200, alloc
unit ID 72057594250592256 (type In-row data): Page (1:22084) could not
be processed. See other errors for details.
Msg 8939, Level 16, State 98, Line 1
Table error: Object ID 845246066, index ID 0, partition ID
72057594245939200, alloc unit ID 72057594250592256 (type In-row data),
page (1:22084). Test (IS_OFF (BUF_IOERR, pBUF->bstat)) failed. Values
are 12716041 and -4.
Msg 8928, Level 16, State 1, Line 1
Object ID 845246066, index ID 0, partition ID 72057594245939200, alloc
unit ID 72057594250592256 (type In-row data): Page (1:22085) could not
be processed. See other errors for details.
Msg 8939, Level 16, State 106, Line 1
Table error: Object ID 845246066, index ID 0, partition ID
72057594245939200, alloc unit ID 72057594250592256 (type In-row data),
page (1:22085). Test (m_freeCnt == freeCnt) failed. Values are 4132
and 8072.
Msg 8928, Level 16, State 1, Line 1
Object ID 845246066, index ID 0, partition ID 72057594245939200, alloc
unit ID 72057594250592256 (type In-row data): Page (1:22086) could not
be processed. See other errors for details.
Msg 8941, Level 16, State 2, Line 1
Table error: Object ID 845246066, index ID 0, partition ID
72057594245939200, alloc unit ID 72057594250592256 (type In-row data),
page (1:22086). Test (sorted [i].offset <= m_freeData) failed. Slot 0,
offset 0x19a4 is invalid.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


HELP!!!!!

Larry...

Reply With Quote
  #2  
Old   
LPR-3rd
 
Posts: n/a

Default Re: ogical consistency-based I/O error - 01-18-2010 , 03:37 PM






SOLUTION....


USE master
GO
ALTER DATABASE storemain
SET SINGLE_USER
GO

USE storemain
GO

DBCC CHECKTABLE('PCVITMP',REPAIR_ALLOW_DATA_LOSS )

USE master
GO
ALTER DATABASE storemain
SET MULTI_USER

Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: ogical consistency-based I/O error - 01-18-2010 , 05:04 PM



LPR-3rd (lreames (AT) gmail (DOT) com) writes:
Quote:
SOLUTION....


USE master
GO
ALTER DATABASE storemain
SET SINGLE_USER
GO

USE storemain
GO

DBCC CHECKTABLE('PCVITMP',REPAIR_ALLOW_DATA_LOSS )

USE master
GO
ALTER DATABASE storemain
SET MULTI_USER
First, I hope you understand what data loss is.

Next, corruption errors rarely comes out of thin air, but often
indicate that there are hardware problems. There is all reason to
examine what the cause may be, and if the system is mission-critical
you may consider to migrate the system to new hardware, before a real
disaster strikes.

A better option when you get this error is to restore from a known good
backup.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
  #4  
Old   
LPR-3rd
 
Posts: n/a

Default Re: ogical consistency-based I/O error - 01-21-2010 , 02:31 PM



Thanks Erland,

The problem occurred after the server locked up & was unaccessible
remotely, so we had someone restart the box. Not the best
alternative, but the only one we had.

thanks,
Larry...

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.