Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

MSGS 823: The operating system returned error 1(Incorrect function.)

$
0
0

Hello folks,

We started having issues with our main application last week. Some users started getting error message 823 and a connection failure. I checked Event Viewer and found event 823. I ran DBCC CHECKDB(dbname) WITH NO_INFOMSGS and got the following output:

Msg 8921, Level 16, State 1, Line 1
Check terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is inconsistent. Check previous errors.

Msg 823, Level 24, State 2, Line 1
The operating system returned error 1(Incorrect function.) to SQL Server during a read at offset 0x000005a4412000 in file 'E:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Data\dbname_data.mdf:MSSQL_DBCC15'. 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.

TempDB.mdf and TempLog.ldf are located in a HDD with 244GB of free space.

dbname_data.mdf is stored on a RAID 5 Array with 4 hard drives of which one was in a failure state for some time (don't know for how long because I just stated working here). I replaced the hard drive with a new one and successfully rebuilt the array.

The last successful backup we have is from 9/1/14 and if I restore it we will lose the data we entered since that day. I've tried performing another backup but I get the same error 823.

I checked the status of the database and it is ONLINE.

PLEASE HELP! I don't know what else to do.

Thanks a lot! I will really appreciate any help.


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>