Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to convert RAW <-> File datafiles of tablespace?
"mako" <makoml_at_jcom.home.ne.jp> wrote in message news:<_saq7.1575$kn.190961_at_news1.rdc1.ky.home.ne.jp>...
> Hello everybody,
> Is it possible to convert filesystem-based (cooked) tablespace datafiles to
> raw-based datafiles? I tried to transform them using dd command, but never
> succeeded to mount transformed one.
>
> I used dd command like below.
>
> dd if=/oradata/data001.dbf bs=16k of=/dev/vg01/rdata001
Hi Mako
I am not sure how much you should skip on HP but on AIX you have to skip the first 4kb of the raw device.
dd if=/cooked/file of=/dev/vg01/data001 ibs=600k obs=4k seek=1
Ronald.