.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Converting from raw to filesystem

Converting from raw to filesystem

2006-02-08       - By Radoulov, Dimitre
Reply:     1     2     3     4     5  

> thisis what i get after  the plain dd
>  dd if=/dev/rvdsystem01
> of=/usr/local/oracle/database/tempdb01/system01.dbf
>  SQL> alter database open;
> alter database open
> *
> ERROR at line 1:
> ORA-01122 (See ORA-01122.ora-code.com): database file 1 failed verification check
> ORA-01110 (See ORA-01110.ora-code.com): data file 1: '/usr/local/oracle/database/tempdb01/system01.dbf'
> ORA-01251 (See ORA-01251.ora-code.com): Unknown File Header Version read for file number 1

I've always used the bs option(bs=1048576 in my case):

    bs=n  Set both input and output  block  sizes  to  n  bytes,
          superseding ibs= and obs=. If no conversion other than
          sync, noerror, and notrunc is  specified,  each  input
          block  will  be copied to the output as a single block
          without aggregating short blocks.

Example:

dd if=/dev/vx/rdsk/... of=/u01/oracle/... bs=1048576


And I found this on MetaLink:

ORA-1251 (See ORA-1251.ora-code.com)
Text: Unknown File Header Version read for file number %s
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Cause: Read of the file header returned a record but its version cannot be
identified. Either the header has been corrupted, or the file is not a valid
database file.
Action: Have the operating system make the correct file available to the
database, or recover the file.

If you have a backup please restore the backup and retry the operation.Make
sure you have specified like the following:
dd if=/dev/xxx of=/a/spdevs04/ibmfs/osupport/yyy bs=4096 skip=1

Reference:
===========
Note:1027958.6 MPP: (UNIX) COPYING RAW DEVICE TO FILE SYSTEM USING DD
COMMAND


Regards,
Dimitre

--
http://www.freelists.org/webpage/oracle-l