2014-12-01 06:45:12 |
Alexei Sheplyakov |
description |
Debian installer's initrd.gz on Fuel ISO is not compressed, and contains (a broken) chunk of itself:
$ file /mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
/mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz: ASCII cpio archive (SVR4 with no CRC)
$ cpio --list < /mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz | grep -e 'initrd\.gz'
initrd.gz
Thus initrd (or rather initramfs) is more than 2x larger than it should have been:
$ ls -sh /mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
55M /mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
The original initrd is:
$ ls -hs local_mirror/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
20M local_mirror/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
This slows down the provisioning for no good reason and puts the extra load on the master node. |
Debian installer's initrd.gz on Fuel ISO is not compressed, and contains (a broken) chunk of itself:
$ file /mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
/mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz: ASCII cpio archive (SVR4 with no CRC)
$ cpio --list < /mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz | grep -e 'initrd\.gz'
initrd.gz
Thus initrd (or rather initramfs) is more than 2x larger than it should have been:
$ ls -sh /mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
55M /mnt/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
The original initrd is:
$ ls -hs local_mirror/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
20M local_mirror/ubuntu/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
This slows down the provisioning (2x more data should be transferred over the network) for no good reason and puts the extra load on the master node. |
|