-
****ching filesystems
Hi Friends,
OS RHEL 4.6
DB ORACLE 10g R2
I have installed oracle 10g home (binaries) on /u01
Since the disk which this file system is placed on is showing some failures
or seem to retire, I mounted another DISK and create /u02 on it
and copied all the contents of /u01.
My plan is to switch the two files systems.
My question is what kind of COPY command will I use so that I will completely mirror everything to /u02. And when I switched filesystem names, My oracle db will start normally.
Thanks a lot
ps > the title is supposedly "switching" not "****ching"
Last edited by reeshe; 06-12-2008 at 11:44 PM.
-
-
Use the following commands
cd /u01
cp -rp * /u02
-
Thanks Davey & Sunil
So it will take care also the hand & soft links, no need to relink oracle executables then?
-
Cloning an Oracle Home
It's not that simple, check out 'Cloning an Oracle Home' in the fine Oracle manual.
"The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb
-
this isnt cloning, it will be the same one eventually
-
Originally Posted by davey23uk
this isnt cloning, it will be the same one eventually
It is, when you change the path of Oracle home.
"The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb
-
I am not changing path or anything logical dear
Its the physical disk I am chaging.
Its like this:
I have a hard disks /dev/sa1 mounted on /u01 where oracle binaries are installed.
Since this hard disks shows some errors ( coz its 4 yo) I want to act proactively.
I mounted new hard disk /dev/sb1 mounted on /u02
Then copied everything on /u01 to /u02
Then unmount /u01 and /u02
Then mount /dev/sb1 to /u01
Note>>> nothing was changed in the path
Is this ok? Or I need to relink
Thanks
-
-
Health check
You could re-link as a "health check".
.
"The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|