cancel
Showing results for 
Search instead for 
Did you mean: 

Remote copy raw volumes.

SOLVED
Go to solution
RAJESH GANGADHARAN
Regular Advisor

Remote copy raw volumes.

Hi All,
I have a requirement where I need to copy some raw volumes (used by Oracle) to another machine, both mahcines are running on HP-UX 11i. Is there any way to copy raw volumes from one system to another.

Thanks in adv.
Rajesh
Let the choices you make today be the choices you can live with tomorrow.
6 REPLIES
KapilRaj
Honored Contributor

Re: Remote copy raw volumes.

Are these Logical volumes ?. In that case you can do a mirror , break , take it to the new location and import it out there

Have never done such before but looks logical !

Regds,

Kaps
Nothing is impossible
RAJESH GANGADHARAN
Regular Advisor

Re: Remote copy raw volumes.

Yeh,
I am using LVM and Oracle raw volumes are created on LVOLs. I can not do create a mirror and break them. Other than this is there any way, where we can copy.

Is there any option where we can use "remsh" and a "dd"?

Rajesh
Let the choices you make today be the choices you can live with tomorrow.
Stephen Andreassend
Regular Advisor

Re: Remote copy raw volumes.

dd to the file system, ftp the other server's file system, then dd them to the raw partition.
KapilRaj
Honored Contributor

Re: Remote copy raw volumes.

Can u try dd on the lv ; ftp ;then dd at the remote side

Regds,

Kaps
Nothing is impossible
RAJESH GANGADHARAN
Regular Advisor

Re: Remote copy raw volumes.

Thanks for the input,
I tried the same files are getting copied but I am facing a problem,

Origincal oracle SID is ABCD and when I am doing a dd to file and checks the oracle SID using dd it shows as QABCD.

Can any one tell is there any particular option required while doing a dd on a raw volume belongs to Oracle
Let the choices you make today be the choices you can live with tomorrow.
Jdamian
Respected Contributor
Solution

Re: Remote copy raw volumes.

dd if=/dev/rdsk/c1t1d1 ibs=2048 | remsh rhost -l ruser dd of=/dev/rdsk/c2t2d2 obs=2048