Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Oracle8i on WinNT - renaming disc drives

Re: Oracle8i on WinNT - renaming disc drives

From: Rodd Holman <rodney.holman_at_lodgenet.com>
Date: Wed, 28 Nov 2001 08:29:27 -0800
Message-ID: <F001.003CF125.20011128075026@fatcity.com>

Ron,
You're making this way too dificult.
To reorg the drive names on NT/2000:

  1. Backup your database (just a good thing to do)
  2. ALTER DATABASE BACKUP CONTROLFILE TO TRACE; - Generates a script with all the datafiles listed in it.
  3. Edit init<sid>.ora and any ifile linked configs that point to drive paths. (Backup originals first).
  4. Edit the controlfile script generated in #2 to show the new paths.
  5. Shutdown the database
  6. Rename the devices at the NT/2000 level
  7. in svrmgrl or sqlplus (8i or 9i) run the script from #4.
  8. Recover database if necessary. May need to do a recover until cancel and cancel it as soon as it asks for archived logs.

We recreate instances doing this all the time to create dev and test systems. By recreating the controlfile you can rename all the dbfiles at once. If you can't take the system off line, it will be very tedious as Ron mentioned. Also if you want to change the location of SYSTEM tablespace, you have to take the system off line.

Rodd Holman

On Wed, 2001-11-28 at 08:05, Ron Rogers wrote:

    Sonja,
     It is a complicated process to rename disk drives in the Oracle environment. Depending in the drives that Oracle uses and what are changes(renamed) could really cause you frustration.

    The initxxx.ora lists the current location of the controlfiles, logfiles, dump dirs, trace dirs, etc.

    You will have to startup the database (if it can find the controlfile) and "alter database rename .. to .." for each of the effected datafiles. It can be a long and detailed process. These are just a few thoughts off the top of my head.

    Make notes and document everything to CYA.     Good Luck
    ROR mª¿ªm     

>>> sonja.sehovic_at_pbz.hr 11/28/01 05:20AM >>>
    List hi!
    Oracle 8.1.7 on WinNT.
    Our Windows guys want to rename disc drives for some administration reasons.     

    I'm really in UNIX so I'm wondering could you give me some advices on this     matter.
    As far as I know, I have to recreate control files, with new drives. Is     there anything else I should do? Some Windows stuff?     

    TIA,
        Sonja
    --
    Please see the official ORACLE-L FAQ: http://www.orafaq.com     --
    Author: =?ISO-8859-2?Q?Sonja_=A9ehovi=E6?=       INET: sonja.sehovic_at_pbz.hr     

    Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
    San Diego, California        -- Public Internet access / Mailing Lists
    --------------------------------------------------------------------
    To REMOVE yourself from this mailing list, send an E-Mail message     to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in     the message BODY, include a line containing: UNSUB ORACLE-L     (or the name of mailing list you want to be removed from). You may     also send the HELP command for other information (like subscribing).     

    --
    Please see the official ORACLE-L FAQ: http://www.orafaq.com     --
    Author: Ron Rogers
      INET: RROGERS_at_galottery.org     

    Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
    San Diego, California        -- Public Internet access / Mailing Lists
    --------------------------------------------------------------------
    To REMOVE yourself from this mailing list, send an E-Mail message     to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in     the message BODY, include a line containing: UNSUB ORACLE-L     (or the name of mailing list you want to be removed from). You may     also send the HELP command for other information (like subscribing).
-- 
Rodd Holman
Enterprise Data Systems Engineer
LodgeNet Entertainment Corporation
rodney.holman_at_lodgenet.com
(605) 988-1373

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rodd Holman
  INET: rodney.holman_at_lodgenet.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Nov 28 2001 - 10:29:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US