[CentOS-devel] [CentOS] jigdo images

Shad L. Lords slords at lordsfam.net
Thu May 7 18:49:05 UTC 2009


Scott Dowdle wrote:
>> Are you sure you had a complete rsync of the os directory without excluding 
>> anything prior to running the above command?  This was really more a recipe 
>> for the CentOS folks to as an example of how easy it would be to create 
>> jigdo/template files from their master area that could then be pushed
>> to the mirrors for everyone to enjoy.
> 
> Yes, I had complete os/ trees.  I basically mounted the DVD iso and copied everything from it.  Here's the results I get after running your script:

I'd guess that your basic os tree you created isn't in the same format 
as the mirrors then.  I'm running it against the non-dvd mirror that I 
have and my results are below.

> [root at img i386]# pwd
> /var/www/html/linux/centos/5/isos/i386
> [root at img i386]# ls -lha
> total 13G
> drwxr-xr-x 2 root root 4.0K May  6 14:37 .
> drwxr-xr-x 4 root root 4.0K Mar 27 11:58 ..
> -rw-r--r-- 1 root root 624M Mar 21 10:17 CentOS-5.3-i386-bin-1of6.iso
> -rw-r--r-- 1 root root  13K May  6 14:48 CentOS-5.3-i386-bin-1of6.jigdo
> -rw-r--r-- 1 root root 482M May  6 14:48 CentOS-5.3-i386-bin-1of6.template
> -rw-r--r-- 1 root root 637M Mar 21 10:18 CentOS-5.3-i386-bin-2of6.iso
> -rw-r--r-- 1 root root  13K May  6 15:22 CentOS-5.3-i386-bin-2of6.jigdo
> -rw-r--r-- 1 root root 411M May  6 15:22 CentOS-5.3-i386-bin-2of6.template
> -rw-r--r-- 1 root root 635M Mar 21 10:19 CentOS-5.3-i386-bin-3of6.iso
> -rw-r--r-- 1 root root  25K May  6 14:43 CentOS-5.3-i386-bin-3of6.jigdo
> -rw-r--r-- 1 root root 388M May  6 14:43 CentOS-5.3-i386-bin-3of6.template
> -rw-r--r-- 1 root root 632M Mar 21 10:20 CentOS-5.3-i386-bin-4of6.iso
> -rw-r--r-- 1 root root  14K May  6 15:12 CentOS-5.3-i386-bin-4of6.jigdo
> -rw-r--r-- 1 root root 354M May  6 15:12 CentOS-5.3-i386-bin-4of6.template
> -rw-r--r-- 1 root root 638M Mar 21 10:21 CentOS-5.3-i386-bin-5of6.iso
> -rw-r--r-- 1 root root 5.1K May  6 15:07 CentOS-5.3-i386-bin-5of6.jigdo
> -rw-r--r-- 1 root root 383M May  6 15:07 CentOS-5.3-i386-bin-5of6.template
> -rw-r--r-- 1 root root 625M Mar 21 10:22 CentOS-5.3-i386-bin-6of6.iso
> -rw-r--r-- 1 root root 3.3K May  6 15:16 CentOS-5.3-i386-bin-6of6.jigdo
> -rw-r--r-- 1 root root 599M May  6 15:16 CentOS-5.3-i386-bin-6of6.template
> -rw-r--r-- 1 root root 3.7G Mar 31 08:38 CentOS-5.3-i386-bin-DVD.iso
> -rw-r--r-- 1 root root  71K May  6 15:04 CentOS-5.3-i386-bin-DVD.jigdo
> -rw-r--r-- 1 root root 2.6G May  6 15:04 CentOS-5.3-i386-bin-DVD.template
> -rw-r--r-- 1 root root 8.3M Mar 21 09:05 CentOS-5.3-i386-netinstall.iso
> -rw-r--r-- 1 root root  505 Mar 31 08:33 md5sum.txt
> -rw-r--r-- 1 root root  741 Mar 31 08:33 md5sum.txt.asc
> -rw-r--r-- 1 root root  569 Mar 31 08:33 sha1sum.txt
> -rw-r--r-- 1 root root  805 Mar 31 08:33 sha1sum.txt.asc
> 
> As you can see, my .template files are about 2/3rds the size of the .iso they are for.  What's up with that?

No idea what is up with yours but here is mine after running the command:

[root at server i386]# pwd
/mirrors/centos/5.3/isos/i386
[root at server i386]# ls -lha
total 3.8G
drwxr-sr-x  2 root 4.0K May  7 11:25 .
drwxr-sr-x  4 root 4.0K Mar 18 03:58 ..
-rw-r--r--  2 root 624M Mar 21 10:17 CentOS-5.3-i386-bin-1of6.iso
-rw-r--r--  1 root  34K May  7 11:32 CentOS-5.3-i386-bin-1of6.jigdo
-rw-r--r--  1 root  15M May  7 11:32 CentOS-5.3-i386-bin-1of6.template
-rw-r--r--  1 root 297K Mar 31 17:18 CentOS-5.3-i386-bin-1to6.torrent
-rw-r--r--  2 root 637M Mar 21 10:18 CentOS-5.3-i386-bin-2of6.iso
-rw-r--r--  1 root  34K May  7 11:35 CentOS-5.3-i386-bin-2of6.jigdo
-rw-r--r--  1 root  70K May  7 11:35 CentOS-5.3-i386-bin-2of6.template
-rw-r--r--  2 root 635M Mar 21 10:19 CentOS-5.3-i386-bin-3of6.iso
-rw-r--r--  1 root  48K May  7 11:39 CentOS-5.3-i386-bin-3of6.jigdo
-rw-r--r--  1 root  92K May  7 11:39 CentOS-5.3-i386-bin-3of6.template
-rw-r--r--  2 root 632M Mar 21 10:20 CentOS-5.3-i386-bin-4of6.iso
-rw-r--r--  1 root  37K May  7 11:43 CentOS-5.3-i386-bin-4of6.jigdo
-rw-r--r--  1 root  73K May  7 11:43 CentOS-5.3-i386-bin-4of6.template
-rw-r--r--  2 root 638M Mar 21 10:21 CentOS-5.3-i386-bin-5of6.iso
-rw-r--r--  1 root  20K May  7 11:46 CentOS-5.3-i386-bin-5of6.jigdo
-rw-r--r--  1 root  43K May  7 11:46 CentOS-5.3-i386-bin-5of6.template
-rw-r--r--  2 root 625M Mar 21 10:22 CentOS-5.3-i386-bin-6of6.iso
-rw-r--r--  1 root  11K May  7 11:48 CentOS-5.3-i386-bin-6of6.jigdo
-rw-r--r--  1 root  26K May  7 11:48 CentOS-5.3-i386-bin-6of6.template
-rw-r--r--  1 root 297K Mar 31 17:18 CentOS-5.3-i386-bin-DVD.torrent
-rw-r--r--  2 root 8.3M Mar 21 09:05 CentOS-5.3-i386-netinstall.iso
-rw-r--r--  1 root  505 Mar 31 04:26 md5sum.txt
-rw-r--r--  1 root  741 Mar 31 04:26 md5sum.txt.asc
-rw-r--r--  1 root  569 Mar 31 04:26 sha1sum.txt
-rw-r--r--  1 root  805 Mar 31 04:26 sha1sum.txt.asc

You can see that the only template over 100K is the one for disc 1.  I 
did notice that there is one place on my script that hardcodes i386.  If 
you replace that with $arch then it may/should fix your issue.

-Shad



More information about the CentOS-devel mailing list