[Box Backup] How to fix compare errors??? more info

Magnus Homann boxbackup@fluffy.co.uk
Mon, 01 May 2006 01:26:58 +0200


Chris Wilson wrote:
> Hi Magnus,
> 
>> This is what I got:
>> homann@crux:~$ md5sum bigfile*
>> f1c9645dbc14efddc7d8a322685f26eb  bigfile
>> f1c9645dbc14efddc7d8a322685f26eb  bigfile.sparse
>> homann@crux:~$
> 
> Is this on the same partition where you have gps.pdf?

No, it wasn't actually. But I tried it on that disk too, and got the 
same result.

>Can you try to 
> identify how gps.pdf differs from its copy?
> od -Ax -tx4 gps.pdf       > gps.pdf.od
> od -Ax -tx4 gps-back2.pdf > gps.pdf.od.2
> diff -u gps.pdf.od gps.pdf.od.2

Hmm.... I took two od:s from the same gps.pdf.
I then did a diff, which gave different results (see below for exact 
copy of my console). Not good at all.

homann@crux:/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf$ 
od -Ax -tx4 gps.pdf > gps.pdf.od.1
homann@crux:/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf$ 
od -Ax -tx4 gps.pdf > gps.pdf.od.2
homann@crux:/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf$ 
  diff -u gps.pdf.od.1 gps.pdf.od.2
--- gps.pdf.od.1        2006-05-01 01:18:15.000000000 +0200
+++ gps.pdf.od.2        2006-05-01 01:18:21.000000000 +0200
@@ -1189680,7 +1189680,7 @@
  1229160 c29e5512 5f60c1e8 1f45af34 78df8588
  1229170 479aeaa9 dcbdb1fd cebb196f b5ca0335
  1229180 1b24b0de 09273a09 9b6fb3c9 4ce19601
-1229190 7da8d2ad b9166fc6 4694ff62 789e2647
+1229190 7da8d2ad b9166fc6 4694ff62 789u2647
  12291a0 e78e3552 9e15d79d 003e8e2c 35d3c0cd
  12291b0 54b22f25 854b0678 ca639db4 c18b2e78
  12291c0 eaf74679 a7bf37ba 2f92393a 36d6899e
homann@crux:/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf$ 
  diff -u gps.pdf.od.1 gps.pdf.od.2
homann@crux:/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf$ 
  diff -u gps.pdf.od.1 gps.pdf.od.2
homann@crux:/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf$ 
  diff -u gps.pdf.od.1 gps.pdf.od.2
homann@crux:/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf$ 
  diff -u gps.pdf.od.1 gps.pdf.od.2
--- gps.pdf.od.1        2006-05-01 01:18:15.000000000 +0200
+++ gps.pdf.od.2        2006-05-01 01:18:21.000000000 +0200
@@ -1262757,7 +1262757,7 @@
  13468b0 bfc1c1bf c1bdc2c1 c1c1bfc1 c3c1c1bf
  13468c0 c2c3c1c1 c0c2c3c0 c5c2c4c3 c5bebdbf
  13468d0 d9ddc2c1 d9dce0d6 88cfd6d9 b4b87d83
-13468e0 a9r5bba9 b9a9b5b9 b6b6b0b4 a9b7b6ae
+13468e0 a9b5bba9 b9a9b5b9 b6b6b0b4 a9b7b6ae
  13468f0 b8a5b8b5 b5b9a9b6 b6b3bcac beafb1b9
  1346900 b6b4aab8 a9bcb3a0 58edecde 00009165
  1346910 e6dbd72c dbd4dad9 dddcd7dc d6dbdad8
homann@crux:/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf$

So, three out of 5 attempts of running diff found no errors, but the 
other two did...

>> This is .10, built by myself. All tests passed.
> 
> Are you sure you didn't fiddle with the output after pasting it into the 
> email?

You mean with the double path component? Completely sure.


It appears I have issues with my files, which isn't really boxbackups 
fault. Please note that I currenlty have both the original file and the 
backup on the same partition, so either could be corrupt it seems.

Any hints for debugging this error? :-)