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

    Imaging not starting

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    22
    6.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.
    • K
      Killklli
      last edited by Killklli

      On one computer out of a mass of 10 computers that are all the same specs is having an issue where it loads and loads the imaging options but when I go to image it says done to all of the steps instantly and restarts without actually imaging but clears it from the task list. I’m using the latest SVN trunk and Ubuntu 14.04

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

        @Killklli Is this in the web interface or when a client boots up? Sorry but I just can’t imagine what you mean. Maybe a screenshot or photo would help.

        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

        K 1 Reply Last reply Reply Quote 1
        • K
          Killklli @Sebastian Roth
          last edited by Killklli

          @Uncle-Frank I’ll try to get an image but here is the exact process of what happens.

          1. I set the task for the computer to download the image and it WOL’s the computer
          2. The computer loads up to PXE and loads ipxe
          3. The computer boots into the usual imaging options (Before it gets to the blue Imaging screen)
          4. All of the sub options say done almost instantly and the client says the imaging is complete and it is restarting.
          5. When I go back to the web interface the task is no longer on the task list as if the process was successful.

          EDIT
          The image was hard to get because it happens within a few seconds.
          rsz_kimg0186.jpg

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

            Sounds a bit like FOG does not recognize the disk in this machine. Please run a debug job (Host->Basic Tasks->Debug) for this particular host and the following two commands:

            shell$ gdisk -l
            ...
            shell$ cat /proc/partitions
            ...
            

            What do you see there?

            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

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

              I’ve seen this issue before.

              this was due to my image being non-resizable and trying to restore it to a HDD smaller than the source. There might be other things that might cause this, but @Uncle-Frank is on the right path. It’s HDD related for sure.

              Pop the hood on two of the systems, compare the drives and report back.

              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
              • K
                Killklli @Sebastian Roth
                last edited by

                @Uncle-Frank For some reason gdisk -l does not like me. @Wayne-Workman The two hard drives I have are a 250gb ssd and a 1tb HDD all of the other machines have the same drives. I tried rotating through the sata cables to see if order mattered but it did not work.

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

                  @Killklli What’s the image type? resizeable? Non-Resizeable? Did the image come from the 250GB or the 1TB ?

                  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/

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

                    And what about ‘cat /proc/partitions’?? Maybe try ‘fdisk -l’. Just thought I point you to gdisk in case you have GPT on your disk…

                    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

                    K 1 Reply Last reply Reply Quote 1
                    • K
                      Killklli @Wayne Workman
                      last edited by

                      @Wayne-Workman Its a Multiple Partition Image - All Disks (Not Re sizable) It was made on the 250 @Uncle-Frank I’ll check in the morning.

                      1 Reply Last reply Reply Quote 0
                      • K
                        Killklli @Sebastian Roth
                        last edited by

                        @Uncle-Frank KIMG0188.jpeg KIMG0187.jpeg

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

                          FOG uses its own too to enumerate disks. I am pretty sure we won’t see any surprises here but could you please boot into debug mode again and run fogpartinfo --list-devices?

                          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

                          K 1 Reply Last reply Reply Quote 0
                          • K
                            Killklli @Sebastian Roth
                            last edited by

                            @Uncle-Frank 14437890823151044250807.jpg

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

                              Well, there we go I’d say. FOG does not expect this output (“unrecognized disk label”) and is propably not able to parse this. I am away for the weekend and won’t be able to have a closer look at this till Monday.

                              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
                              • sudburrS
                                sudburr
                                last edited by

                                Have you tried zeroing the disk entirely with DBAN? (Darik’s Boot and Nuke - just use the quick method)

                                Is it possible the disk is failing?

                                [ Standing in between extinction in the cold and explosive radiating growth ]

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  Killklli @sudburr
                                  last edited by

                                  @sudburr I’ve tried DBAN on both. I’d be surprised if both started failing at the exact same time.

                                  1 Reply Last reply Reply Quote 0
                                  • sudburrS
                                    sudburr
                                    last edited by

                                    Is that a 512e drive?

                                    [ Standing in between extinction in the cold and explosive radiating growth ]

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

                                      @Killklli As I am still kind of new in the Dev-Team I don’t know all details of all the tools yet. Looking into the code of fogpartinfo I just saw that it tries to read a partition table from a disk. This fails because your disks don’t have a partition table yet (as we see in the output of fdisk). Quick solution would be to boot up into debug mode and create one partition on both drives e.g. using fdisk.

                                      @Developers Is there a reason why fogpartinfo expects a valid partition table when enumerating disks only? I don’t know enough about libparted. Maybe it’s just the way it is?!

                                      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

                                      K 1 Reply Last reply Reply Quote 0
                                      • K
                                        Killklli @Sebastian Roth
                                        last edited by

                                        @Uncle-Frank After doing some heavy messing around with the images I was deploying it seems that for some reason the size of the image was an issue. Even though every computer has the same hard drive and have all been wiped, lowering the image size by 50 more GB (instead of leaving the 10gb padding I had before) fixed it. I used 50GB as a brute test to see it it worked and its strange that it did. Considering the 1tb drive should have taken over no matter what. So I put the 1tb drive in another computer and it imaged fine in there. It seems to just be a strange image size issue.

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

                                          Thanks for reporting this. Would be interesting to see if you can nail it down exactly just to see if this could be an issue on other systems too.

                                          Does that mean that my assumption about fogpartinfo (it fails when there is no partition table) is wrong??

                                          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

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            Killklli @Sebastian Roth
                                            last edited by

                                            @Uncle-Frank That seems to be the case. The drives themselves had DBAN run on them so it might just assume pre existing partitions. Not default info.

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

                                            191

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project