No problem. Excuse me for the wrong forum ;).
Adding the sleep 5
solved our problem. The sleep 2
was already here unless I am mistaken.
No problem. Excuse me for the wrong forum ;).
Adding the sleep 5
solved our problem. The sleep 2
was already here unless I am mistaken.
Re : Multicast randomly hangs##### Server
Hi,
Thanks to Felipe Solari
https://forums.fogproject.org/topic/2810/multicast-randomly-hangs/19
We managed to deploy a multi partition image with multicast.
We just add a sleep 5
to the fog.download at the line 440.
elif [ "$imgType" == "mps" ]; then
dots "Checking Hard Disks";
runPartprobe $hd &> /dev/null;
echo "Done";
parts=`fogpartinfo --list-parts $hd 2>/dev/null`;
diskLength=`expr length $hd`;
for part in $parts; do
partNum=${part:$diskLength};
echo " * Processing Partition: $part ($partNum)";
imgpart="$imagePath/d1p${partNum}.img*";
sleep 2;
if [ ! -f $imgpart ]; then
echo " * Partition File Missing: $imgpart";
# Add a sleep here
sleep 5;
else
writeImage "$imgpart" $part;
fi
resetFlag $part;
done
Hope this help.
Thanks for Fog It’s a great soft.