Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to move raw datafiles?
mr_potato_head_at_my-deja.com wrote:
> Can someone explain to me in detail how to move my raw datafiles?
Rule #1: Make sure the disk sizes are equal!
The procedure is the same as for moving database files in the
filesystem.
Use all the usual "ALTER DATABASE" commands.
But instead of the "mv" or "cp" command use the "dd" command.
e.g.:
dd if=/dev/sourcedisk of=/dev/destdisk bs=1024000
With the explicit block size ("bs=" clause) things should be faster and you will be able to verify the amount of bytes transferred. The output of "dd" will be something like
1000+1 blocks read 1000+1 blocks written
Erwin Received on Sun Oct 22 2000 - 15:36:28 CDT