[HPADM] disk swapping with data

From: Patel Pankaj (pankaj.patel_at_patni.com)
Date: 12/03/03

  • Next message: Abramson, Stuart: "[HPADM] MWA "parm" file definitions for Oracle Applications"
    To: "Hpux-Admin" <hpux-admin@DutchWorks.nl>
    Date: Wed, 3 Dec 2003 10:25:22 +0530
    
    
    

    Friends,

    I did mount/unmount and than restored backup, but I doubt some files left ,
    see the size of used directory

    Filesystem kbytes used avail %used Mounted on
    /dev/vg02/lvol1 17776640 7705132 9914184 44% /oracle ( New disk where
    I restored backup )
    /dev/vg01/lvol1 8708096 7787248 916192 89% /oracleold ( Old disk
    previously mounted as /oracle took backup, than changed mounting as
    /oracleold , and mounted new disk as /oracle 'vg02' and restored backup )

    But I afraid /oracleold used 7787248 and /oracle used is 7705132 .
    Where is my 82116 KB data ?

    If I directly do " cd /oracle , cp /oracleold/* . " than is it correct
    method to swap disk with data, file permissions..etc?

    /oracleold contains oracle installation and database.

    thanks
    pankaj

    > -----Original Message-----
    > From: hpux-admin-owner@DutchWorks.nl
    > [mailto:hpux-admin-owner@DutchWorks.nl]
    > Sent: Tuesday, December 02, 2003 10:43 PM
    > To: Hpux-Admin
    > Cc: Illgen Steve 448
    > Subject: [HPADM] RE: tar cvf , tar xvf
    >
    > Thanks Steve,
    >
    > Thats a good idea. I think there is no other way except creating archive
    > again using "tar cvf /dev/rmt/0m . "
    >
    > Ok fine.
    > pankaj
    >
    >
    > -----Original Message-----
    > From: Illgen Steve 448 [mailto:steve.illgen@crackerbarrel.com]
    > Sent: Tuesday, December 02, 2003 10:33 PM
    > To: 'Patel Pankaj'
    > Subject: RE: [HPADM] tar cvf , tar xvf
    >
    > Her is one way:
    >
    > Manually go into the /oracle directory, then perform your tar using
    > a relative pathname.
    >
    > cd /oracle
    > tar cvf /dev/rmt/0m . # remember the period
    >
    > Then create your /oraclenew directory and perform the restore:
    >
    > mkdir /oraclenew
    > cd /oraclenew
    > tar xvf /dev/rmt/0m # no period required. tar uses
    > the pathname saved during the tarball creation.
    >
    > I hope this helps,
    >
    > Steve Illgen
    > UNIX Systems Administrator
    > Cracker Barrel Old Country Store, Inc.
    > "Pass the Biscuits, Please!"
    >
    >
    >
    >
    > -----Original Message-----
    > From: Patel Pankaj [mailto:pankaj.patel@patni.com]
    > Sent: Tuesday, December 02, 2003 10:33 AM
    > To: Hpux-Admin
    > Subject: [HPADM] tar cvf , tar xvf
    >
    > Hi friends,
    >
    > I took backup using tar
    >
    > tar cvf /dev/rmt/0m /oracle
    >
    > Now I have new directory /oraclenew . And I want to restore
    > my backup into /oraclenew. I have run
    >
    > tar xvf /dev/rmt/0m /oraclenew , But it is not working. It
    > is not doing anything , not restoring.
    >
    > If I do "tar xvf /dev/rmt/0m /oracle , than it's start
    > restoring backup but in to /oracle.
    >
    > How can I restore backup into other directory ?
    >
    > Thanks,
    > Pankaj
    >

    
    

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    


  • Next message: Abramson, Stuart: "[HPADM] MWA "parm" file definitions for Oracle Applications"