Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How do I corrupt a raw datafile?
Thats precisely what I did. Logged in as Oracle.
All ran successfully. I see the timestamp on the raw volume change to current time. But the datafile is online. I can create tables on the tablespace (made of only this datafile). I can select on pre-existing tables. I can successfully do checkpoints. I can shutdown and startup, and receive no errors.
Either 9i is really robust and unbreakable, or I stay in Utopia.
After typing in all this, I used a file the same size as the datafile, and specifed the file name as the input file in the dd, and EUREKA!!! I now have a corrupted data file.
Regards
Raj
Mladen, you should have a standard disclaimer in all your replies ;-)
raju pa <raju_pa_24_at_ya To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> hoo.com> cc: Sent by: Subject: RE: How do I corrupt a raw datafile? ml-errors_at_fatc ity.com 11/14/2003 02:59 PM Please respond to ORACLE-L
Did you try copying a junk file to it. dd if= of=
:) did not think corrupting something would be a problem.
"Bellow, Bambi" <bbellow_at_chi.navtech.com> wrote: WOW! There's something you don't hear everyday, Chauncy!
How about
echo "Mary had a little lamb" > /dev/rdsk/
-----Original Message-----
Sent: Friday, November 14, 2003 12:19 PM
To: Multiple recipients of list ORACLE-L
In the process of testing my rman recovery scripts? How do I corrupt a datafile created on a raw volume? DD, CAT, VI, RM ?????
Thanks in Advance
Raj
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
INET: Rajesh.Rao_at_jpmchase.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services
:) did not think corrupting something would be a problem.
"Bellow, Bambi" <bbellow_at_chi.navtech.com> wrote: WOW! There's something you don't hear everyday, Chauncy!
How about
echo "Mary had a little lamb" > /dev/rdsk/
-----Original Message-----
Sent: Friday, November 14, 2003 12:19 PM
To: Multiple recipients of list ORACLE-L
In the process of testing my rman recovery scripts? How do I corrupt a datafile created on a raw volume? DD, CAT, VI, RM ?????
Thanks in Advance
Raj
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
INET: Rajesh.Rao_at_jpmchase.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesto: 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 Fri Nov 14 2003 - 15:44:25 CST
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |