1. My database is up and running since morning 9 O'clock.
2. I have three disks and in the first disk I have only master
control file (i.e the first control file in the Init controlfile
list).
Ques 1. If at any cost, my first disk will crash at any time(I don't
know when it has opened) does my Database will throw any
ERROR when the database is up and runing?
Ques 2. Secondly, if I will copy the control file from the other disk
to it's original first disk, will it give any problem to open
my database?
There is no such thing as a 'master' control file. You have at least 2 copies of the control file which are exact opies of each other
If you lost just the control file, shut the db down, copy the good control to another place so you have two copes again, add this to your init.ora file and startup.
You wont get the error immediatelty, you will get it when the DB tries to write to the control file, which wont be too long.
If the control isnt there you will get this if you shutdown
SQL> shutdown immediate
ORA-00210: cannot open the specified controlfile
ORA-00202: controlfile: '/u02/oradata/RE8/control1.ctl'
ORA-27041: unable to open file
SVR4 Error: 2: No such file or directory
Additional information: 3
SQL>
What I had to do was shutdown abort, make the changes on the OS level and restart
Ok, if we are just talking about control files here do this.
Get the database shutdown.
Take a copy of the GOOD control file and copy it to the location of the other control file. If that disk has gone then copy it to a different place and edit the init.ora file and put the location of the new control file in there at the same time removing the location of the old one
Bookmarks