I am trying to convert adatafile from a raw device to a Unix filesystem. I
began with a test on aplateform having the same verions of OS and DB as my
production DB.
I used the dd command
dd if=<my inpout raw device> of=<my output datafile> bs=4096iseek=16
count=12801
db_block_size for our DB is 4K
The file has been copiedsuccessfully but when I try to bring the associated
tablespace online (afterrenamed the file), I am having this errors :
ORA-01122: database file 5 failed verificationcheck
ORA-01110: data file 5: '/prod7/law7/DB2ux2fsc/convert01.dbf'
ORA-01251:Unknown File Header Version read for file number 5
Can't you do it the same way? Export everything in the tablespace on the raw device, re-create the tablespace to a file, and import? I'll admit I have no raw device experience but that seems like it should work.
Bookmarks