Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Converting from raw to filesystem
> 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: database file 1 failed verification check
> ORA-01110: data file 1: '/usr/local/oracle/database/tempdb01/system01.dbf'
> ORA-01251: 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
Text: Unknown File Header Version read for file number %s
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:
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Feb 08 2006 - 11:04:12 CST
![]() |
![]() |