Checksum Question for Shell script
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Checksum Question for Shell script

  1. #1
    Join Date
    Aug 2000
    Location
    Chicago IL
    Posts
    586

    Checksum Question for Shell script

    in HPUX: I am copying oracle datafiles from one mountpoint to another
    the total size is about 250Gb. I wanted to perform a checksum on the target and make sure the files came overy properly.

    Mountpoints:
    /s01 to /u01
    /s02 to /u02

    I tried using "SUM" on these mountpoints but its taking 1+hr to run the checksum. Is there an alternative way?

    thanks
    Jigar
    "High Salaries = Happiness = Project Success."

  2. #2
    Join Date
    Nov 2005
    Posts
    32
    You can explore the possibility of using the unix "dd" utility for doing the copy. I've used it on Sun Solaris for copying datafiles as well to detect possible block corruptions and might work for you on HP. This utility will do the copy and at the same time report the blocks read and blocks copied to the destination details immediately after the copy's done. An example usage would be something like this:

    $ dd if=/mnt/userdata/users01.dbf of=/mnt/elsewhere/users01.dbf

    if => Source
    of => destination

    Good luck and hope this helps!

    http://www.dbaxchange.com

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