ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



General discussions > Public newsgroups > microsoft.public.sqlserver.server > Move Log File/Database File to seperate disk.

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread






Author Move Log File/Database File to seperate disk.
Rob Cawood
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Move Log File/Database File to seperate disk.

Hi All

You must excuse this post, I have lame XXX developers who have gone and
created a database with the logfile and database file on the same disk
array.

I need to move the log file from the raid 5 array to a raid 1 array.

I vaguely remember from my studies that there is a way of doing this but
can't remember how.

PS. It is a SQL 2000 Server, maybe this is different for SQL 7.

Please help.

Regards

Rob Cawood
IT Manager (explains it all, hehe)


Report this post to a moderator

Old Post 06-28-02 08:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Tom Moreau
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Move Log File/Database File to seperate disk.

Admitting you're an IT manager is the first step ... ;-)

Check out sp_detach_db and sp_attach_db in the BOL. In SQL Server 2000, you
can attach and detach via the EM GUI. Just detach the database, move the
offending file and then reattach. NBD.

--
Tom

----------------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCT
SQL Server MVP
Columnist, SQL Server Professional

Toronto, ON Canada
www.pinnaclepublishing.com/sql
www.apress.com
---
Rob Cawood wrote in message ...
Hi All

You must excuse this post, I have lame XXX developers who have gone and
created a database with the logfile and database file on the same disk
array.

I need to move the log file from the raid 5 array to a raid 1 array.

I vaguely remember from my studies that there is a way of doing this but
can't remember how.

PS. It is a SQL 2000 Server, maybe this is different for SQL 7.

Please help.

Regards

Rob Cawood
IT Manager (explains it all, hehe)




Report this post to a moderator

Old Post 06-28-02 09:25 AM
Reply w/Quote Edit/Delete Message IP: Logged
Rob Cawood
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Move Log File/Database File to seperate disk.

Thanks Tom

You got to give me some credit... At least i know where the DB files should
be stored.

PS. It is different to SQL 7? That is what got me confused as i am not that
involved with dev work anymore, so SQL 2000 is still a bit fuzzy.

Thanks again.

Rob.


"Tom Moreau" <tom@dont.spam.me.cips.ca> wrote in message
news:Og0McioHCHA.2584@tkmsftngp08...
> Admitting you're an IT manager is the first step ... ;-)
>
> Check out sp_detach_db and sp_attach_db in the BOL. In SQL Server 2000,

you
> can attach and detach via the EM GUI. Just detach the database, move the
> offending file and then reattach. NBD.
>
> --
> Tom
>
> ----------------------------------------------------------
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCT
> SQL Server MVP
> Columnist, SQL Server Professional
>
> Toronto, ON Canada
> www.pinnaclepublishing.com/sql
> www.apress.com
> ---
> Rob Cawood wrote in message ...
> Hi All
>
> You must excuse this post, I have lame XXX developers who have gone and
> created a database with the logfile and database file on the same disk
> array.
>
> I need to move the log file from the raid 5 array to a raid 1 array.
>
> I vaguely remember from my studies that there is a way of doing this but
> can't remember how.
>
> PS. It is a SQL 2000 Server, maybe this is different for SQL 7.
>
> Please help.
>
> Regards
>
> Rob Cawood
> IT Manager (explains it all, hehe)
>
>
>
>



Report this post to a moderator

Old Post 06-28-02 12:25 PM
Reply w/Quote Edit/Delete Message IP: Logged
Dan Guzman
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Move Log File/Database File to seperate disk.

The detach/attach method works with SQL 2000 as well.


Hope this helps.


Dan Guzman
SQL Server MVP

-----------------------
SQL FAQ links (courtesy Neil Pike):

http://www.ntfaq.com/Articles/Index...epartmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
-----------------------

"Rob Cawood" <rcawood@um.co.za> wrote in message
news:uJc$u6pHCHA.1596@tkmsftngp13...
> Thanks Tom
>
> You got to give me some credit... At least i know where the DB files

should
> be stored.
>
> PS. It is different to SQL 7? That is what got me confused as i am not

that
> involved with dev work anymore, so SQL 2000 is still a bit fuzzy.
>
> Thanks again.
>
> Rob.
>
>
> "Tom Moreau" <tom@dont.spam.me.cips.ca> wrote in message
> news:Og0McioHCHA.2584@tkmsftngp08...
> > Admitting you're an IT manager is the first step ... ;-)
> >
> > Check out sp_detach_db and sp_attach_db in the BOL. In SQL Server

2000,
> you
> > can attach and detach via the EM GUI. Just detach the database,

move the
> > offending file and then reattach. NBD.
> >
> > --
> > Tom
> >
> > ----------------------------------------------------------
> > Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCT
> > SQL Server MVP
> > Columnist, SQL Server Professional
> >
> > Toronto, ON Canada
> > www.pinnaclepublishing.com/sql
> > www.apress.com
> > ---
> > Rob Cawood wrote in message ...
> > Hi All
> >
> > You must excuse this post, I have lame XXX developers who have gone

and
> > created a database with the logfile and database file on the same

disk
> > array.
> >
> > I need to move the log file from the raid 5 array to a raid 1 array.
> >
> > I vaguely remember from my studies that there is a way of doing this

but
> > can't remember how.
> >
> > PS. It is a SQL 2000 Server, maybe this is different for SQL 7.
> >
> > Please help.
> >
> > Regards
> >
> > Rob Cawood
> > IT Manager (explains it all, hehe)
> >
> >
> >
> >

>
>



Report this post to a moderator

Old Post 06-28-02 12:25 PM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply

Featured site: MCSE, MCSD, CompTIA, CCNA training videos



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps