Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

help: block level corrution

0 views
Skip to first unread message

charlie cs

unread,
Feb 1, 2003, 8:55:11 AM2/1/03
to
I am now learning RMAN on 9i. How could I purposely destroy a block to
mimic a block level corruption?

Thanks for your help


Jim Kennedy

unread,
Feb 1, 2003, 10:38:41 AM2/1/03
to
You need an editor that could edit a part of the file.
Jim

--
Replace part of the email address: kennedy-down_...@attbi.com
with family. Remove the negative part, keep the minus sign. You can figure
it out.
"charlie cs" <cs3526(no spam)@yahoo.com> wrote in message
news:3lQ_9.9333$dC3....@nwrddc02.gnilink.net...

Ronald Rood

unread,
Feb 1, 2003, 10:49:24 AM2/1/03
to
On Sat, 1 Feb 2003 14:55:11 +0100, charlie cs wrote
(in message <3lQ_9.9333$dC3....@nwrddc02.gnilink.net>):

> I am now learning RMAN on 9i. How could I purposely destroy a block to
> mimic a block level corruption?


Copy a block with dd to a file, edit it using vim -b and copy it back again
using dd.

--
With kind regards,
Ronald
http://ronr.nl/unix-dba

0 new messages