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
Solved

SQL server issue

Posted on 2014-10-10
8
80 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

860 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