tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* same file with different sum and cksum output
@ 2002-06-25 20:28 Cohen, Andy
  0 siblings, 0 replies; only message in thread
From: Cohen, Andy @ 2002-06-25 20:28 UTC (permalink / raw)


Hi,

I'm trying to clone an oracle database but keep getting a message that a
particular datafile needs media recovery.

The brief scenario is this:

system01.dbf gets compressed at night (producing system01.dbf.Z) (for you
Oracle folks - this was first copied as part of a hot backup)
rcopy the file from Machine A (4.0D) to Machine B (4.0E)
uncompress the file
attempt to start database (I'll leave out all of the many Oracle particulars
here)
get message the file needs recovery.

I'm wondering if the file is 'messed up'.  If I do a sum/cksum on the file
the outputs are different on the different machines.

Machine A (source machine):
# sum system01.dbf
57769  51208 system01.dbf

# cksum system01.dbf
808933033 52436992 system01.dbf


while on Machine B output is:
# sum system01.dbf
30665  51208 system01.dbf

# cksum system01.dbf
2317007751 52436992 system01.dbf


Do the differing numbers in the first column mean the file has gotten
changed or corrupted someway during either the rcp or the uncompress?  i.e.,
should both columns of numbers be the same?  Unfortunately I don't have the
exact copy of the file that was used to create the .Z file on Machine A


Thanks alot!
Andy


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-25 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-25 20:28 same file with different sum and cksum output Cohen, Andy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox