Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMAN | Oracle 11gR2(11.2.0.4) | Restoring Linux Backup to Windows Instance

rthampiMar 2 2018 — edited Mar 6 2018

Hi guys

I managed to restore a RMAN backup that was created on Linux (OEL 6.x) to a Windows instance. The instance is up and running (learning lab) & I have checked for invalid objects and the count is 0. Prior attempting the cross-platform restore, I was mostly reading about Transportable database for platform migration & opted RMAN restore for a scenario when the SOURCE is not anymore accessible and I am left with ONLY the backups (and ignoring that I can setup another Linux environment, restore, do with transportable database factor).

As I have the instance online and could perform all the intended, what are the possible issues I may face with such a migration in a production environment? Please explain

thanks and regards,

rajesh

Comments

534296
Hello,
I encountered the same problem. It seems ocfs2 doesnt recognize labels when not created on a partition.

Solution:

1. create a partition
2. format it with ocfs2 mkfs.ocfs2 /dev/sda1
3. tunefs.ocsf2 -L label /dev/sda1
4. mount it by that label

I'm still seeking a better solution
529633
I encountered this issue also i.e. not being able to mount an OCFS2 filesystem by label.

I was able to resolve this issue by updating the util-linux package on my Red Hat system. I had a fresh install of RHEL 4 release 4 and the version of util-linux that was present on my system was:

# rpm -qa | grep util-linux
util-linux-2.12a-16.EL4.6


So I grabbed the latest version of util-linux from Red Hat and updated the util-linux package. Now I am able to mount a OCFS2 filesystem by label.

So the version of util-linux on my system is now:

# rpm -qa | grep util-linux
util-linux-2.12a-16.EL4.20


Apparently, Oracle provided a patch for mounting OCFS2 by label which is included in this release of util-linux.

I hope this works for you.
548426
Hello!
I have the same problem with mount OCFS2 filesystem by label!
I have util-linux-2.12a-16.EL4.20 but nothing! :(
(Linux 2.6.9-42.ELlargesmp #1 SMP Wed Jul 12 23:46:39 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux)
Any idea?
Thank you!
KRC Eric
I have the same problem as well. I'll try the partition workaround tomorrow & let everyone know.
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 3 2018
Added on Mar 2 2018
28 comments
3,285 views