MSSQLSERVER.exe migration to different drive letter

  • so I have a bit of an odd question. at my new company the former DBA did one of the messiest SQL installs I have ever seen. that said I need to migrate the actual service and files to a different drive.

    anyone know of a fast way to do this to minimize downtime. Ive never actually had to do this before.

    If anyone is curious, its a VMWare server with dynamic spanned disks across two volumes that I pointed out needs to be fixed ASAP as we are seeing 100ms+ write and read latencies. Its a damn nightmare.

  • as far as I know, the binaries for SQL must be installed on the %systemdrive% (usually the C:\ drive)

    that part cannot be changed, but you can easily change / move where all the databases and default paths are pointing to.

    For changing the default paths for folders and backups you go here in Facets:

    for moving the databases and system databases, MS has a decent articles:

    http://msdn.microsoft.com/en-us/library/ms345408(v=sql.90).aspx

    http://www.mssqltips.com/sqlservertip/1604/move-all-sql-server-system-databases-at-one-time/

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Lowell (1/21/2013)


    as far as I know, the binaries for SQL must be installed on the %systemdrive% (usually the C:\ drive)

    The binaries can be anywhere. I have mine installed on the D drive (system is C)

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • jfriedl (1/21/2013)


    so I have a bit of an odd question. at my new company the former DBA did one of the messiest SQL installs I have ever seen. that said I need to migrate the actual service and files to a different drive.

    To move the binaries, dlls and the rest of the installation...

    Uninstall. Reinstall.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • I was hoping I wouldnt have to do that, does MS have any best practices for where the binaries and dll files should be installed?

  • the installation Path can be anywhere, some parts of the install will always end up on the C drive though.

    ---------------------------------------------------------------------

  • jfriedl (1/21/2013)


    I was hoping I wouldnt have to do that, does MS have any best practices for where the binaries and dll files should be installed?

    not on the system drive, nor on the same drive as the databases

    ---------------------------------------------------------------------

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply