RE: How does one manually corrupt a database (database file, redo logs and backups)

  • From: "Kevin Closson" <kevinc@xxxxxxxxxxxxx>
  • To: "Oracle-L Freelists" <oracle-l@xxxxxxxxxxxxx>
  • Date: Sat, 2 Sep 2006 10:47:27 -0700

 overwriting the binary files, but being simpled-minded I was using vi.
I thought about using the unix dd utility - unfortuantely I do not have
enough experience to be surgical (easy to mess up the first few blocks,
but what about the middle?). 


...use dd, you can precisely scribble over an exact block, such as:

$ dd if=/dev/zero of=system.dbf bs=4k seek=42 count=1


--
//www.freelists.org/webpage/oracle-l


Other related posts: