Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I have two servers with the same 10gb gzip file on each. On one server it unzips fine. On the other there are crc errors. The file sizes are the exact same. the systems are exactly the same versions of the OS, gzip verson is the same, hardware is the same, etc.

is there a way to get a checksum of some sort or compare the two files (without doing a diff between the two due to network latency) ?

I need to see or prove that is might be a disk or memory corruption problem.

share|improve this question
I would, for some reason it doesn't let me log in with this 'anonymous' account. I will look into it. – John Ingles Feb 5 '12 at 5:23
Post a question about your account over in - one of the mods should be able to get it sorted out. – EEAA Feb 5 '12 at 21:24

Just run $ md5sum <filename> on each system, and verify the checksums match.

share|improve this answer
Collisions wise, md5 is certainly not the best choice... – ringø Feb 5 '12 at 7:44
@ring0: It's good enough under the circumstances. – womble Feb 5 '12 at 8:18
Oh, hell, in this scenario, "ls -l" and looking at file sizes is probably sufficient. It's implied that the file is the OP's own, and not something he pulled from a warez site. – cjc Feb 5 '12 at 13:53
@ring0: for checking for errors in transmission crc32 is good enough. As the use has nothing to do with cryptography and is concerned only with file consistency any hash will do. As calculating MD5 is faster than SHA-1 or CRC32 (from cksum) it's a good suggestion. – Hubert Kario Feb 5 '12 at 22:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.