Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: find physical blocks/disks, mapped from Oracle file# and block#, block corruption

Re: find physical blocks/disks, mapped from Oracle file# and block#, block corruption

From: Yong Huang <yong321_at_yahoo.com>
Date: 10 Jan 2003 02:13:44 -0800
Message-ID: <b3cb12d6.0301100213.1c258171@posting.google.com>


"Gregor Theis" <gregor.theis_at_ib-theis.de> wrote in message news:<1042059198.67109.0_at_demeter.uk.clara.net>...
> 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).

Why not use db_block_size instead of fs block size, whatever it means, in your dd command? If you use fs block size, your to_the_bad_block has to be adjusted from block# obtained from most places inside Oracle (such as dba_extents).

Yong Huang Received on Fri Jan 10 2003 - 04:13:44 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US