Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Data Corruption
»
tempdb location change - sql not coming...
tempdb location change - sql not coming online
Rate Topic
Display Mode
Topic Options
Author
Message
Benki Chendu
Benki Chendu
Posted Wednesday, August 01, 2012 4:02 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 7:44 AM
Points: 118,
Visits: 208
We have a newly built cluster environment and there is a dedicated disk for the tempdb.
Unfortunately, after the setup, I forgot to put tempdb in that drive.
so customer himself tried moving it.
Without that disk "S" being added as dependency to SQL Server resource in the cluster, customer tried to move tempdb and restarted SQL Server.
Now, SQL Server is not coming online as tempdb doesnt really exist anywhere.
Can someone help me fix this issue ASAP
Post #1338405
Adi Cohn-120898
Adi Cohn-120898
Posted Wednesday, August 01, 2012 5:54 AM
SSCrazy
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 10:07 PM
Points: 2,018,
Visits: 4,911
Take a look at this article -
http://msdn.microsoft.com/en-us/library/ms345408(v=sql.90).aspx
. You can start SQL Server at special configuration (single user and only master database is up) and then issue alter database for tempdb. In order to start SQL Server with master database only, you can run this command:
NET START MSSQLSERVER /f /T3608
After SQL Server starts you can run the alter database statement, and then restart the server.
Adi
--------------------------------------------------------------
To know how to ask questions and increase the chances of getting asnwers:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #1338441
Benki Chendu
Benki Chendu
Posted Wednesday, August 01, 2012 6:03 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Yesterday @ 7:44 AM
Points: 118,
Visits: 208
Issue resolved now.
the service account running SQL Server didn't have permissions on the clustered Disk "S"(in our case) to create temp mdf and ldf files.
After we have full permission to the service accounts, tempdb got created and we were able to start sql server.
Another issue that I sense here is that the customer wanted to create Tempdb mdf and ldf files in the root directory(S:)
I guess, had he created the tempdb in a folder within S Drive like S:\Tempdb, the permission issue wouldn't have happened.
Can someone pls confirm if the root directory of any drive needs special permissions?
Post #1338447
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.