Solved

SQL Server Errors

Posted on 2012-03-13
2
2,043 Views
Last Modified: 2012-03-14
Errors started last night on SQL Server, and when our server guy rebooted a whole drive disappeared and he had to rebuild the partition. From what I've read these errors mean that there is a an IO subsystem issue, where SQL Server is having difficulty talking to one of the drives. I read that it can happen with SAN multipathing and connectivity- but I really have no idea what I'm talking about. My boss wants me to figure out what caused these errors. Here they are in order:



LogWriter: Operating system error 21(The device is not ready.) encountered.

The log for database 'Administration' is not available. Check the event log for related error messages. Resolve any errors and restart the database.

fcb::close-flush: Operating system error (null) encountered.

The operating system returned error 21(The device is not ready.) to SQL Server during a read at offset 0000000000000000 in file 'E:\SqlData\Administration.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.

A file activation error occurred. The physical file name 'E:\SqlData\Administration.LDF' may be incorrect. Diagnose and correct additional errors, and retry the operation.

Any help is much appreciated.
0
Comment
Question by:new_to_networks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
lcohan earned 500 total points
ID: 37716403
"My boss wants me to figure out what caused these errors. "

Tell him/her that a bad SQL record scratched one HardDisk sector from your SAN and caused the failure and the error below :)

"The log for database 'Administration' is not available.
...
The operating system returned error 21(The device is not ready.) "

No you can't really say that and that is the problem - I don't think anyone would be able to say 100% what really caused a hard disk failure unless they know they hit it it hard with a hammer while it was on line.

My 1cent.:)
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 37717745
I agree.  The correct answer as lcohan has stated is:
You can't do that
http://www.experts-exchange.com/help/viewHelpPage.jsp?helpPageID=23
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question