moving log files away from same disk as data files on a sql cluster

  • i did the following,

    chnaged db to single user mode,

    detached the db

    copied the log file to the new location,(f:\logs)

    then i attempted to attach, this locations:

    E:\Program Files\Microsoft SQL Server\MSSQL$SQLCLUS\Data\XXX.MDF

    F:\logs\XXX.LDF

    I got an error that the database file already existed.

    so i created a new folder, (e:\data) and copied the data files to it.

     then i did

     

    E:\Data\XXX.MDF                                                                                                                                                                          

    F:\LOg\Data\XXX.LDF

    it worked but when i went into the EM to view the database, i noticed that the database was in read only mode, so i tried to change it from read only and got error messages. and i doing something wrong?

    [font="Comic Sans MS"][/font]It is what it is.

  • Did you reattach through the EM? Make sure to refresh the database after each action.

Viewing 2 posts - 1 through 1 (of 1 total)

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