25 February 2013

I have been testing zsync and it's great.

You can download from here

Let's see an example.

I have 2 isos, the normal oracle linux 6.3 dvd and one modified to be able to use btrfs from the installer.

Both dvd are just the same, few bits different, according to zsync, 97% the same.

Download the normal dvd iso

retina:tmp mirandaa$ zsync http://mirandaa00/stage/iso/OracleLinux-R6-U3-Server-x86_64-dvd.iso.zsync
#################### 100.0% 0.0 kBps DONE    

No relevent local data found - I will be downloading the whole file. If that's not what you want, CTRL-C out. You should specify the local file is the old version of the file to download with -i (you might have to decompress it with gzip -d first). Or perhaps you just have no data that helps download the file
downloading from http://mirandaa00/stage/iso/OracleLinux-R6-U3-Server-x86_64-dvd.iso:
#################### 100.0% 102257.5 kBps DONE     

verifying download...checksum matches OK
used 0 local, fetched 3675326805
retina:tmp mirandaa$ ls
OracleLinux-R6-U3-Server-x86_64-dvd.iso

let's move the normal dvd into the btrfs one

retina:tmp mirandaa$ mv OracleLinux-R6-U3-Server-x86_64-dvd.iso OracleLinux-R6-U3-Server-x86_64-btrfs.iso 

So, let's use zsync to update the normal dvd into the modified one

retina:tmp mirandaa$ zsync http://mirandaa00/stage/iso/OracleLinux-R6-U3-Server-x86_64-btrfs.iso.zsync
#################### 100.0% 0.0 kBps DONE    

reading seed file OracleLinux-R6-U3-Server-x86_64-btrfs.iso: *************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************Read OracleLinux-R6-U3-Server-x86_64-btrfs.iso. Target 97.1% complete.      
downloading from http://mirandaa00/stage/iso/OracleLinux-R6-U3-Server-x86_64-btrfs.iso:
#################### 100.0% 9790.2 kBps DONE      

verifying download...checksum matches OK
used 3598319616 local, fetched 108470391
retina:tmp mirandaa$ 

Cool.

Alvaro

  • zsync 1
  • webdownloader 1