Thats precisely what I did.  Logged in as Oracle.

1. Tried dd if=/dev/null of=/dev/vx/rdsk/.........../tools_01
2.  cat sqlnet.log > /dev/vx/rdsk/.........../tools_01
3. echo "Mary has a little bambi" > /dev/vx/rdsk/.........../tools_01

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                                                            
                            
                    <[EMAIL PROTECTED]       To:     Multiple recipients of list 
ORACLE-L <[EMAIL PROTECTED]>       
                    hoo.com>             cc:                                           
                            
                    Sent by:             Subject:     RE: How do I corrupt a raw 
datafile?                         
                    [EMAIL PROTECTED]                                                  
                               
                    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" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]

Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
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.net
--
Author: Bellow, Bambi
INET: [EMAIL PROTECTED]

Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
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).

---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuardDid you try copying a
junk file to it. dd if= of=

:) did not think corrupting something would be a problem.

"Bellow, Bambi" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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