LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2010, 07:50 AM   #1
Ejdaha
Member
 
Registered: Jan 2007
Posts: 39

Rep: Reputation: 15
How to corrupt the datafile in Oracle


Hi dear all

How can I corrupt oracle data block manually using dd command from Linux?
thanks
 
Old 03-01-2010, 08:02 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
um - you can locate the oracle data block you want to corrupt, set the input file to /dev/random and the output to the datafile name specifying the block. (man dd)

Why would you want to do this?
I smell homework here.
http://momendba.blogspot.com/2008/02...in-oracle.html
(practising recovery?)

Of course you could open the file in an editor and write junk over the middle.

Or maybe you want an oracle version of this:
http://www.schneier.com/blog/archive...pted_word.html

Last edited by Simon Bridge; 03-01-2010 at 08:07 AM.
 
1 members found this post helpful.
Old 03-01-2010, 08:15 AM   #3
Ejdaha
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks Simon
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
login as oracle user but prompt show [root@ablnx oracle] how come? sathyguy Linux - Newbie 12 08-23-2008 03:52 AM
LXer: Oracle and Symantec Certify Veritas Data Center Solutions on Oracle(R) Enterprise Linux LXer Syndicated Linux News 0 07-18-2007 07:31 AM
xhost + as user oracle not working, need to see oracle install GUI enzo250gto Linux - Software 2 02-11-2007 12:27 PM
start|stop multiple oracle databases in the same oracle server prozac Linux - Software 8 01-23-2007 04:01 AM
LXer: Oracle Enhances Oracle Validated Configurations With More Solutions and New Partners to Help Deploy Linux Faster LXer Syndicated Linux News 0 08-16-2006 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration