Solved

New drive in SQL-cluster

Posted on 2010-11-08
8
268 Views
Last Modified: 2012-05-10
Hi,

We were lacking diskspace on our SQL-cluster  (F-drive) and added a new one (H-drive).
Then we detached a database and now want to attach it. However, the H-drive is not visible when we choose "attach". I read somewhere you can set the default location of database so new database will go to the new drive, but this seems a bit tricky. Won't SQl look for all its database on the H-drive then?

I would prefer to just reattach from H-drive, moving database by database.
Thanks for your feedback.
0
Comment
Question by:exchangeexpertsdelijn
  • 4
  • 3
8 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 34084910
Is H: drive local?
0
 

Author Comment

by:exchangeexpertsdelijn
ID: 34084938
Yes, it's a local drive (SAN).
0
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34085409
The defalt database location is only for new databases.

In cluster adminstrator make the new h: a dependency of the SQL Server service. SQL will not allow you use drives that are not a dependency.
0
 

Author Comment

by:exchangeexpertsdelijn
ID: 34090980
Thanks, are you absolutely sure about this? It's a production environment in which I cannot take any risk.
Is there any Microsoft-article 'bout it?

The reason why I ask, is what you mention about the dependency.
I don't thinks this is correct. If I look in the properties of our F-drive (on which current databases reside) there is no dependency set. This config is working for some years, we had some reboots, power cuts etc and the cluster came up without any issues.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 16

Accepted Solution

by:
EvilPostIt earned 500 total points
ID: 34091504
The drive needs to be a dependency of the SQL Server service not the SQL Service of the drive.

Here is an article telling you how to add a new disk.

http://sqllearnings.blogspot.com/2010/01/adding-new-disk-resource-to-cluster.html

Here is another link saying to add this as a dependency by a SQL Server MVP

http://social.technet.microsoft.com/Forums/en/winserverClustering/thread/60c6f061-050b-4756-ac77-fccb362e9d89
0
 

Author Comment

by:exchangeexpertsdelijn
ID: 34091720
Ok, so the dependency is set on the SQL-server.
However, we have to bring it down to set the dependency????
=> "Right Click on SQL Server, select Take Offline."

So, in order to add a new disk, we have to bring down our production SQL-cluster???
There should be another way, we cannot just bring down our cluster ....
0
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34091809
This is the way it works. There is no other way.
0
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34094048
Are you happy with the proposed answer or do you require further assistance?
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now