• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.1k
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.
  • T
    Thiago
    last edited by Thiago Jan 25, 2016, 6:25 AM Jan 22, 2016, 8:25 PM

    I’m trying to upload a new image on a new fog server installed on Debian 8.
    My fog svn version is r4699, cloud 6064.
    My image settings are
    OS: Linux (but the system is dual boot, mbr)
    Single Disk - Resizable - (1)
    Partition: Everything
    The computer has only one disk, and stop on this error:
    0_1453494149557_IMG_0439.JPG
    Any help will be apreciated.
    tks.

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Jan 23, 2016, 3:17 AM

      @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/

      T 1 Reply Last reply Jan 23, 2016, 10:39 AM Reply Quote 0
      • T
        Tom Elliott
        last edited by Jan 23, 2016, 4:25 AM

        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
        • T
          Thiago @Wayne Workman
          last edited by Thiago Jan 23, 2016, 4:47 AM Jan 23, 2016, 10:39 AM

          @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.

          T 1 Reply Last reply Jan 25, 2016, 2:07 AM Reply Quote 0
          • T
            Tom Elliott @Thiago
            last edited by Jan 25, 2016, 2:07 AM

            @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

            T 1 Reply Last reply Jan 25, 2016, 10:07 AM Reply Quote 0
            • T
              Thiago @Tom Elliott
              last edited by Jan 25, 2016, 10:07 AM

              @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

              T 1 Reply Last reply Jan 25, 2016, 11:35 AM Reply Quote 0
              • T
                Tom Elliott @Thiago
                last edited by Jan 25, 2016, 11:35 AM

                @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

                T 1 Reply Last reply Jan 25, 2016, 11:42 AM Reply Quote 0
                • T
                  Thiago @Tom Elliott
                  last edited by Jan 25, 2016, 11:42 AM

                  @Tom-Elliott
                  Returns only sda.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Jan 25, 2016, 12:10 PM

                    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

                    G 1 Reply Last reply Jan 25, 2016, 12:16 PM Reply Quote 0
                    • G
                      george1421 Moderator @Tom Elliott
                      last edited by george1421 Jan 25, 2016, 6:17 AM Jan 25, 2016, 12:16 PM

                      @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
                      • T
                        Thiago
                        last edited by Jan 25, 2016, 12:34 PM

                        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.

                        T 1 Reply Last reply Jan 25, 2016, 12:54 PM Reply Quote 0
                        • T
                          Tom Elliott @Thiago
                          last edited by Jan 25, 2016, 12:54 PM

                          @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
                          1 / 1
                          • First post
                            10/12
                            Last post

                          160

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project