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

    Partclone loops

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    16
    3.4k
    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.
    • H
      hdhzero @Sebastian Roth
      last edited by

      @Sebastian-Roth

      Here is the output of sfdisk -d /dev/sda:

      [Fri Sep 30 root@fogclient /]# sfdisk -d /dev/sda
      label: dos
      label-id: 0xa9ce9327
      device: /dev/sda
      unit: sectors
      
      /dev/sda1 : start=        2048, size=     3997696, type=82, bootable
      /dev/sda2 : start=     4001790, size=   308578306, type=5
      /dev/sda5 : start=     4001792, size=    58591232, type=83
      /dev/sda6 : start=    62595072, size=   249985024, type=83
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @hdhzero Sorry for the late reply. Couldn’t make it any earlier. From what I can see from the output the partition table is perfectly fine. I cannot imagine this causing a loop. Are you able to reproduce this issue again or was it happing only once?

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        H 1 Reply Last reply Reply Quote 0
        • H
          hdhzero @Sebastian Roth
          last edited by

          @Sebastian-Roth I can reproduce it. I’ve tried to clone three times then I gave up. I don’t know if I should have mentioned earlier, but I am using FOG + DNS proxy. Currently I am trying to clone a Windows machine, but at the last moment, it fails saying that it couldn’t update database. Perharps there is a misconfiguration that I am missing?

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @hdhzero
            last edited by

            @hdhzero Do you mean this is where it’s “looping”? That the system reboots, then tries to run the upload/download process after again and again? See, as I understood it, the “looping” was happening without any reboots.

            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            H 1 Reply Last reply Reply Quote 1
            • Tom ElliottT
              Tom Elliott
              last edited by

              Most often, the issue to capture (where it cannot update the database) it is the FTP user and password not matching for the node it’s uploading to.

              Please run through:

              https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 1
              • H
                hdhzero @Tom Elliott
                last edited by

                @Tom-Elliott Your initial thought was correct: when trying to clone the Linux machine, the partitions were being cloned over and over again, without rebooting. Now, with the Windows machine, it tries to clone, it emits the message saying that the clone was successful, then it warns that couldn’t update database. Then it reboots and tries to clone again.

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

                  @hdhzero Tom is still correct about this new error. That’s most usually FTP credentials being wrong. Look through the link he posted.

                  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/

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hdhzero @Wayne Workman
                    last edited by

                    @Wayne-Workman You and Tom are right, the second problem was, indeed, a FTP one. I am sorry, but I was in a hurry and reinstalled everything: FOG server and the client to be cloned. Didn’t use extended partitions this time, so I can’t reproduce anymore the first reported error. The good news is that in this new install, everything worked out of the box.

                    1 Reply Last reply Reply Quote 1
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @hdhzero Thanks heaps for letting us know. I am kind of relieved that this thing is solved.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      Tom ElliottT 1 Reply Last reply Reply Quote 1
                      • Tom ElliottT
                        Tom Elliott @Sebastian Roth
                        last edited by

                        @Sebastian-Roth I have a feeling the “looping” without reboot actually “was looping with reboot” it was just a matter of “timing” between when it restarted due to failure and starting gathering the data itself.

                        This particularly so considering nothing in the init’s changed in the time the issue occurred and when the updates happened.

                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                        162

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project