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

    Error Uploading image - Failed to read back partitions (runPartprobe)

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    12
    5.2k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      @Thiago This may not apply to the new upload scripts, but previously, dual boot systems had better luck with non-resizable type images. And even then, there was a lot of difficulty.

      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/

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

        The best guess I can have with this. That image looks like it’s from an upload, which is expected, but the partition has NOTHING on it.

        I don’t know if this really is the case, but it certainly feels like it is.

        If you can get the client into a debug task, what’s the output when you run:

        source /usr/share/fog/lib/funcs.sh
        getHardDisk
        runPartprobe "$hd"
        

        I suspect it will fail as well, and if that is the case, what’s the output (after that) of:

        udevadm settle
        blockdev --rereadpt $hd
        

        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
        • ThiagoT
          Thiago @Wayne Workman
          last edited by Thiago

          @Wayne-Workman said:

          @Thiago This may not apply to the new upload scripts, but previously, dual boot systems had better luck with non-resizable type images. And even then, there was a lot of difficulty.

          In 1.2 version, it always worked, and the disk resizable too. I will try using non-resizable, thanks for the tip,

          @Tom-Elliott said:

          The best guess I can have with this. That image looks like it’s from an upload, which is expected, but the partition has NOTHING on it.

          There are 4 primary partitions, (winre, C:, swap, /) and its works in 1.2. (tested now).

          @Tom-Elliott said:
          If you can get the client into a debug task, what’s the output when you run:

          i´ll try it but now is out of working hours…
          “I will be back” with my results.
          Thanks a lot again to all fog team/community.

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

            @Thiago through working with others experiencing similar issues at the runPartprobe stage, I learned this was because a partition of the disk being rescanned was still mounted somewhere. I’ve added a few checks to umount the potential issues and made many more improvements, I think, to the init scripts. With any luck we can solve this thread when tested again. Thank you.

            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

            ThiagoT 1 Reply Last reply Reply Quote 0
            • ThiagoT
              Thiago @Tom Elliott
              last edited by

              @Tom-Elliott
              update and no success runnning upload task directly. It returns with the same error.
              In debug task, running commands that you listed:
              getHardDisk -> after this, echo $hd returns “sda”
              runPartprobe -> the same error, and logout, so i have to source funcs.sh again an rerun getHardDisk.
              udevadm settle -> returns 0 when echo $?
              blockdev --rereadpt $hd -> returns: blockdev: cannot open sda: No such file or directory

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

                @Thiago What is the exact output of echo “$hd” after sourcing? It should NOT only be “sda” but rather “/dev/sda”

                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

                ThiagoT 1 Reply Last reply Reply Quote 0
                • ThiagoT
                  Thiago @Tom Elliott
                  last edited by

                  @Tom-Elliott
                  Returns only sda.

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

                    Found that this system, through teamviewer, had the Host Primary Device labeled literally as ‘sda’ rather than a full path, or an automated picked up path.

                    This should be fixed as well now by simply removing the field, or using the full device descriptor.

                    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

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Tom Elliott
                      last edited by george1421

                      @Tom-Elliott That’s really strange.

                      Really just thinking out loud here: Was/Is this a one off situation or something you need to trap so that it doesn’t happen in the future? Also is there an embedded script that could be run to display conditions like this when run from the debug console?

                      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!

                      1 Reply Last reply Reply Quote 0
                      • ThiagoT
                        Thiago
                        last edited by

                        Thank you Tom. It’s my fault…
                        When i edited host definition,did not pay attention to host primary disk.
                        Sorry for taking your time. (others too)
                        Thanks a lot.

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

                          @Thiago It’s all good. Don’t feel like you did anything wrong. It’s why we asked the questions we did, and now we know why the problem occurred, and it made me ensure the code base was good to go too.

                          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

                          242

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project