We help IT Professionals succeed at work.
Get Started

Need to move several .ndf files of a large DB for Raid work.

blberger
blberger asked
on
222 Views
Last Modified: 2012-05-09
I have a large (relative) db running in MSSQL2000 that has several .ndf files that reside on a drive that needs to be reformatted.  (Raid should be 500GB, but only shows 150GB).  Anyway, I am looking for the fastest way to move the data files that reside on that drive to another drive on that server that will create the least amount of down time.  Options that I have explored are:
(1) Backup the database (600GB total) and then drop current DBa and recreate with new data files not on the drive in question (Backup currently takes 6hrs). (2) Backup database, then detatch Db and move the specific files to another drive and then re-attach DB using:

EXEC sp_attach_db @dbname = 'your database name',
     @filename1 = 'new path\database file name_data.mdf',
      . . . . . . . ,
     @filename2 = 'new path\database file name_log.ldf'

Unless you can suggest another, which would an expert recommend?

Comment
Watch Question
CERTIFIED EXPERT
Awarded 2008
Awarded 2008
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE