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
    
    >>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 
    
    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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
    
    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: [EMAIL PROTECTED] (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
[EMAIL PROTECTED]
(605) 988-1373

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rodd Holman
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to