Oracle 9201+AIX52
db_block_size=8k
I have a datafile /chhora/chh1.dbf and its size is:
ls -rlt /chhora/chh1.dbf
-rw-rw---- 1 oracle dba 10493952 Apr 28 10:30 /chhora/chh1.dbf
Here is the calculation of the file's size: 10Mx1024x1024+8Kx1024=10493952
Now i want to copy it to a raw device, First i created a LV whose size is 256m, Then I use:
dd if=/chhora/chh1.dbf of=/dev/rchhlv1 skip=1 bs=8192 seek=1;
1280+0 records in.
1280+0 records out.
When the database is in mount mode,I replace the datafile with the new one:
SQL> alter database rename file '/chhora/chh1.dbf' to '/dev/rchhlv1' ;
Database altered.
But when I open the database the following errors appeared:
ORA-01122: database file 12 failed verification check
ORA-01110: data file 12: '/dev/rchhlv1'
ORA-01251: Unknown File Header Version read for file number 12
As you see I have already reserve the first block on the raw device for the Operating system.
What could cause this error?