• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Multicasting, linux multi-partition images not working

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    multicast linux
    2
    2
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sebastian0000000
      last edited by sebastian0000000

      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-hangs

      And 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 init

      I’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!!

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        There have been major improvements made in the area of your problem on FOG Trunk. Also, 1.2.0 has known instabilities on Ubuntu 14.04 and newer. These instabilities are also fixed in FOG Trunk.

        Here is how you would upgrade to trunk: https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

        If you don’t wish to use FOG Trunk, you’ll have to wait for help from someone more experienced than myself.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        151

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project