SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Re-assigning drive letters


Re-assigning drive letters

Author
Message
Dave Blount
Dave Blount
Valued Member
Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)Valued Member (64 reputation)

Group: General Forum Members
Points: 64 Visits: 78
Hi, due to a data center requirement I have the need to do the following:-
current situation is
c:\ All system files
d:\ all SQL binaries
h:\ all MSD and NDF files (user and system)
o:\ all LDF files (user and system)
t:\ all tempDB files.

Data centre guys attach new LUNS called X; Y : Z:
I stop sqlservices. copy all the MDF, LDF, NDF from h: o: and t: to x: y and Z:
I reassign drive letters
h: -> p:
o: -> q:
t: -> r:
and
x:-> h:
y:-> o:
z: -> t:

restart SQL services.
Everything resumes and databases are online and working fine.
SQl just accepts windows presentation of drive volume to it? Correct? It does not do any bypassing of windows OS to the disk underneath?
I'm 99% sure this is all OK, and will test it beforehand, but just posting for comment. Thanks dave
george sibbald
george sibbald
SSC-Insane
SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)SSC-Insane (24K reputation)

Group: General Forum Members
Points: 24456 Visits: 13698
that will work fine. As long as SQL is down whilst you do it and all the drives SQL sees end up with the same letters, this will work (i have done it myself).

Of course back up everything first and have a backout plan including making sure you know how to reinstall (you won't need to but be prepared)

---------------------------------------------------------------------
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search