Solved

SQL server issue

Posted on 2014-10-10
8
81 Views
Last Modified: 2014-10-24
Hello Guys,

I am new to SQL server, We had this problem and it took long to find out the issue. When we start the SQL server, it didn't start the problem is that drive was on Read-Only mode. We wouldn't find until OS team tell us. Where is the SQL log file locates? Wouldn't it throw any error message or anything on SQL log regading read only mode drive?
0
Comment
Question by:mokkan
  • 4
  • 3
8 Comments
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 125 total points
ID: 40373037
location of the errorlog file:
http://technet.microsoft.com/en-us/library/ms187885%28v=sql.105%29.aspx
View the SQL Server error log by using SQL Server Management Studio or any text editor. 
By default, the error log is located at 
Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG and ERRORLOG.n files.

Open in new window

0
 
LVL 26

Accepted Solution

by:
Zberteoc earned 375 total points
ID: 40373122
What is read only the hard drive, a database, if a database which one? Your question is very confusing and doesn't provide enough information.
0
 

Author Comment

by:mokkan
ID: 40373136
The file system is mounted using veritas volume manager and  when it mounts,  it mount the drive as read only mode. My question is that if the drive is read only, sql log should show some sort of error message right?
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 26

Assisted Solution

by:Zberteoc
Zberteoc earned 375 total points
ID: 40373160
If your drive is read only it makes no sense to move to SQL server. It is obvious that your SQL server will not work and beside that it CAN"T write in a log if the drive where the log file resides is read only.

This is an OS issue that has nothing to do with SQL server. Fix it and then you can move aead.
0
 

Author Comment

by:mokkan
ID: 40373335
I totally understand this is OS issue, my question is that what kind of error might caused in sql LOG file ?
0
 

Author Comment

by:mokkan
ID: 40373337
I totally understand this is OS issue, my question is that what kind of error might caused in sql LOG file ?
0
 
LVL 26

Assisted Solution

by:Zberteoc
Zberteoc earned 375 total points
ID: 40373546
I don't recall exactly the message and number but when it tries to initialize the databases on a drive that is not accessible or is read only it will throw an I/O error that will mention the database file with full path, including the drive. The same error will also be shown in the Windows Events Log.
0
 

Author Closing Comment

by:mokkan
ID: 40403466
Thank you alll
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

696 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