.iso file corrupted

tim.conway at philips.com tim.conway at philips.com
Tue Jul 9 15:20:02 EST 2002


I doubt he'd miss that, and even so, rsync would have noticed the size 
mismatch.  I suspect we have a timestamp/size match with an internal 
corruption.
Monil:  add the "-c" (or "--checksum") switch, to force rsync to do 
checksums. 
"rsync --progress --archive --partial -vvv -checksum 
rsync://carroll.cac.psu.edu/redhat-ftp/redhat/linux/7.3/en/iso/i386/valhalla-i386-disc1.iso"
If it still doesn't detect the difference on the wholefile checksum (i 
think it does something a bit less robust and resource-intensive than an 
md5sum, and anyway, the only guaranteed-unique checksum would be just a 
form of lossless compression), force the file to a new checksum by 
appending a byte:
"echo >>valhalla-i386-disc1.iso"
and try again.  This will force rsync to use its famous rolling checksum, 
which should find the changed bits, wherever they are, and fix them.  Make 
sure you have enough space in the directory holding the .iso to hold a 
second copy during the work.

Tim Conway
tim.conway at philips.com
303.682.4917 office, 3039210301 cell
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
".\n" '
"There are some who call me.... Tim?"




Robert Weber <Robert.Weber at Colorado.EDU>
Sent by: rsync-admin at lists.samba.org
07/08/2002 04:01 PM

 
        To:     monil at eliteral.com
        cc:     rsync at lists.samba.org
(bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Re: .iso file corrupted
        Classification: 



Looking at this I see a few problems:

> wrote 142 bytes  read 1068 bytes  23.05 bytes/sec

This corresponds to about 1 ls, and no data reading.

> total size is 668499968  speedup is 552479.31

The speedup is UNREAL, unless you consider that you may have the wrong
path, and you didn't get ANYTHING.  What happens if you do a 

du -h valhalla-i386-disc1.iso

You probably see that you have an empty file.  I'd try good old ftp.

                 Robert Weber
                 University of Colorado

--------

> Hello,
> 
> On doing   "$ rsync --progress --archive --partial
> -vvv
> 
rsync://carroll.cac.psu.edu/redhat-ftp/redhat/linux/7.3/en/iso/i386/valhalla
> -i386-disc1.iso ", I got the following output
> 
<---------------------------------------------------------------------------
> ------>
> local_version=24 remote_version=26
> receiving file list ...
> recv_file_name(valhalla-i386-disc1.iso)
> received 1 names
> done
> -rw-r--r--   668499968 2002/06/18 00:27:09
> valhalla-i386-disc1.iso
> recv_file_list done
> get_local_name count=1 <NULL>
> generator starting pid=2156 count=1
> generate_files phase=1
> recv_files(1) starting
> recv_files phase=1
> generate_files phase=2
> recv_files finished
> wrote 142 bytes  read 1068 bytes  23.05 bytes/sec
> total size is 668499968  speedup is 552479.31
> 
> 
<---------------------------------------------------------------------------
> ------>
> 
> However , on running md5sum on the .iso image , i
> didnt get the correct
> checksum :(
> i got the following checksum :
> [root at localhost root]# md5sum valhalla-i386-disc1.iso
> d874b1b23b2ad937f4a5a3df44ad501d 
> valhalla-i386-disc1.iso
> 
> Is there anything that i have missed out. ?
> 
> Please help me . I do not want to go to the trouble of
> downloading the .iso
> file again :)
> 
> =====
> Best Regards,
> Monil Chheda(INDIA)
> http://domains.eliteral.com
> ===========================
> ===========================
> 
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
> 
> -- 
> To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rs
ync
> Before posting, read: 
http://www.tuxedo.org/~esr/faqs/smart-questions.html

--------

----------
Resolved: by weberr Mon Jul  8 15:50:58 2002
----------


-- 
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html







More information about the rsync mailing list