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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: corrupt datafile

Re: corrupt datafile

From: Tim Gorman <tim_at_sagelogix.com>
Date: Sat, 12 Jun 2004 15:00:34 -0600
Message-ID: <BCF0CB12.167B8%tim@sagelogix.com>


Terry,

Hopefully they have logged a TAR with Oracle Support and are working it that way. It is possible that ³dbverify² is returning the response that every block is corrupt simply because it cannot read the file-header information, not because the entire file is shredded. This file might have a few bytes out of place in the header, in which case it is possible that Oracle Supportıs Data UnLoader (DUL) utility might be able to dump the data from the file. Otherwise, if every single block is corrupt, then even DUL probably would not be able to retrieve the data.

A ³hot backup² from Wednesday is available but the archivelogs going back to that backup arenıt? Other datafile backups from the ³hot backup² on Wednesday are not available? It seems that many, many things have gone wrong here. It would be worthwhile to dwell on why the other datafiles and the archivelogs are not available, so that this never happens again. This is a time for brutal honesty.

>From what you describe, there are no options. This database is kaput and
complete recovery is impossible. Only two ³incomplete recovery² options remain: use DUL to pull data from the dead datafiles or use the 6-month-old export. And given the trail of mistakes, that export was probably not taken with CONSISTENT=Y or the database was not fully quiesced, meaning that it is probably almost useless too. So, DUL is probably the only possibility, and Oracle Support charges for that.

These folks should not blame anyone (or anything) but themselves. They blew straight through the many fail-safes that Oracle provides, so that any one of a thousand minor mishaps would have landed them in this exact same situation. It was just waiting to happen.

My sincere condolences...

-Tim

on 6/12/04 2:21 PM, Terry Sutton at terrysutton_at_usa.net wrote:

> A new client has a serious corruption error. During a hot backup (not RMAN)
> Thursday morning it was discovered that a datafile was corrupted on the disk.
> When the database is started up, the following error occurs:
>
> "ORA-01122: database file 5 failed verification check
> ORA-01110: data file 5:
> '/ora2/app/oracle/admin/dbn/data/dbn_data_01.dbf'
> ORA-01251: Unknown File Header Version read for file number 5"
> When dbverify is run against this file, every block is indicated as corrupt,
> which isn't surprising.
>
> We have a copy of the datafile from Wednesday's hot backup, but they don't
> have the archivelogs necessary to sync this datafile with the rest of the
> database. And we don't have the other datafiles from Wednesday's backup, so
> we can't just go back to the state the database was in then.
>
> Any ideas on what they can do? I can't think of anything (other than going
> back to an export they have from 6 months ago, which seems to be the only
> historical backup they have).
>
> --Terry



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Sat Jun 12 2004 - 15:59:24 CDT

Original text of this message

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