I’m having the exact same issue.
Posts made by sebastian0000000
-
RE: Upgrade fog 1.2.0 to the svn version 3737.
-
Multicasting, linux multi-partition images not working
Hi,
I’m using FOG v 1.2.0 on ubuntu server 14.04. I’m trying to clone a multiple partition linux client using multicast. I have two partitions on the linux client (ubuntu 12.04), an ext3 primary partition and a swap primary partition. I can clone fine using a standard deploy but multicast is giving me problems.
It will successfully multicast the first partition, but not the swap partition. It sits there and hangs. I found a similar thread here:
https://forums.fogproject.org/topic/2810/multicast-randomly-hangsAnd am trying to follow the following instructions:
unzip init.xz (the same goes for init32.xz) with xz -d init.xz
mount the init file in a loop device with: mount -o loop init sometempdir/
go to sometempdir/bin with cd
edit fog.download, and search for the part that does the multicast write, for your “method” (mps or mpa)
look for the part that does a loop on each partition, and fix it in a way that it checks for the existence of the file
(something like if [ ! -f $imgpart ] ; then echo “Partition file missing …jumping”; sleep 1; else writeMulticastImage; fi )
(look in the “not multicast” lines or the previous multicast method, for just linux type)
save your file, and back to the init file dir.
zip it with xz -C crc32 initI’m looking at the code and the above code is difficult to understand how to interpret. The “Partition file missing” is found 4 times in the fog.download as well as sections for mps and mpa.
Is this the best method of fixing this? Is there another way to use multicast to clone multi-partition linux images?
Thanks!!