DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: ****ching filesystems

  1. #1
    Join Date
    Oct 2007
    Posts
    114

    ****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.

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    -p and -R probably

  3. #3
    Join Date
    Aug 2005
    Posts
    3
    Use the following commands

    cd /u01
    cp -rp * /u02

  4. #4
    Join Date
    Oct 2007
    Posts
    114
    Thanks Davey & Sunil

    So it will take care also the hand & soft links, no need to relink oracle executables then?

  5. #5
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Cool 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

  6. #6
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    this isnt cloning, it will be the same one eventually

  7. #7
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Talking

    Quote 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

  8. #8
    Join Date
    Oct 2007
    Posts
    114
    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

  9. #9
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    no relinking necessary

  10. #10
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Talking 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
  •  


Click Here to Expand Forum to Full Width