Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to convert RAW <-> File datafiles of tablespace?

Re: How to convert RAW <-> File datafiles of tablespace?

From: Robert Fazio <dbabob_at_yahoo.nospam.com>
Date: Thu, 20 Sep 2001 03:08:27 GMT
Message-ID: <Xns9121EB4CC9183dbabobyahoocom@24.12.106.199>


"mako" <makoml_at_jcom.home.ne.jp> wrote in 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?

...
> dd if=/oradata/data001.dbf bs=16k of=/dev/vg01/rdata001
>

Not too familiar with HP 64bit, but what you did should work.

A couple of things to check. You did do this while the database was down, right?

Second. You did perform and alter database rename datafile ... while the database was in mount only.

There are slightly different ways, but there are two issues.

  1. the datafile can't change during the copy in any way.
  2. you have to make sure that you have all rights to the device.

The next issue is that most systems have an area in a raw/clustered raw partition that is a reserved area. This in most cases is actually protected from harm, but that may be your issue.

-- 
Robert Fazio
Senior Technical Advisor
dbabob_at_yahoo.com
Received on Wed Sep 19 2001 - 22:08:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US