Ask a Question related to Oracle Server, Design and Development.
-
Gregor Theis #1
Re: find physical blocks/disks, mapped from Oracle file# and block#, block corruption
Hello
"lopera" <prlopera@techie.com> schrieb im Newsbeitrag
news:3E1C7C00.9090402@techie.com...I think that we need a bit more data here. Which OS are you running> Hi
>
>
> I have some block corruption issues with one of our databases, it
> happened 4 times in last 1.5 months, I am not sure if the underlaying
> disk is bad, actually I am not even sure which can be the bad disk since
> we are in RAID 0+1. Does anyone know how to find which physical disk is
> the datafile located providing I have the file# and block#? Something
> like a mapping from Oracle to physical hardware. I would like to know if
> all four corruptions occurs in same disk
>
> Also at Oracle level is there a way to tell weather we are facing
> logical block corruption or physical (media) corruption?
>
> Thanks in advance
>
(e.g. Solaris?)? What kind of Raid Software / Hardware are you running
(e.g. Veritas Volume Manager or Sun SDS, EMC)? What kind of
file system are you using (e.g. UFS, VFS).
The block corruption can actually be caused by ORACLE itself or if you
have bad luck (like I had a custumer site), you have bad EMC
box firmware.
With your block size, the block# and file# you can check which file
and which part of the file you have problems with. Did you already
run the oracle "dbv" utility on this file? To physically check the
file you might want to "dd if=the_file of=/dev/null seek=to_the_bad_block
count=the_full_db_block_in_fs_blocks". To calculate the parameters
you will have to check the OS block size and READ the dd manual
(if you are using a UNIX).
To actually find the disk in a raid config you will have to find
the blocks "logical" address on the virtual disk (you need the
file system information for this) and try to translate this into
the physical disk address (data from the RAID system needed for
this). This is complicated stuff. Maybe you find some tools on
the net that can do the calculation for you.
Have a nice day
Gregor
--
-----------------------------------------------------------------------
Dipl.-Ing. Gregor J. Theis (3x ORACLE OCP DBA 8, 8i, 9i)
mailto:gregor.theis@ib-theis.de [url]http://www.ib-theis.de[/url]
Gregor Theis Guest
-
scripts/multiple queries in one CF Query block in Oracle
Greetings: I am primarily an MS SQL programmer and I am wondering how to run multiple query statements inside a single cfquery block. For... -
How to find rects of hyperlinks within a block of text?
Hi, In order to increase display speed of large scrollable blocks of rich text, I'm grabbing their image and then using imaging Lingo to display... -
Getting a block of data from with a text file
Hi All, Any ideas on how to read a txt file from asp and get it to grab one block of information? Sample txt file; Windows IP Configuration... -
how to block a user downloading a file?
hi, how to block a user downloading a file? eg : when a user enter an address like http://localhost/downloads/testfile.cab i want to forward him... -
free block header corruption
I received the following message in the online.log: 18:47:48 Assert Failed: Memory free block header corruption detected in mt_shm_malloc_segid...



Reply With Quote

