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

Attempting to expand/fill partitions Failed

Scheduled Pinned Locked Moved Solved
FOG Problems
4
21
5.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.
  • C
    chamzod
    last edited by chamzod Apr 12, 2016, 1:06 PM Apr 12, 2016, 4:30 PM

    Hi i recently upgraded to fog 7152 from 7116? (ish) and when I try to deploy an image I get an error I’ve never gotten before. Its on a machine that has been imaged with the same image and same server before. Also, when I upgraded I didn’t get the prompt in the webui to install/update my database schema

    fog 7152
    Ubunutu 14.04 LTS
    Windows 7 pro 32b (OS of the image)

    Error Says:
    Attempting to expand/fill partitions…failed
    An error has been detected
    Fatal error: could not recreate main partition (/bin/fog.download)
    Args passed:
    Computer will reboot in 1 minute

    Any help is appreciated, thank you for your time.

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Apr 12, 2016, 7:16 PM

      While I suspect this may be a bug, What’s the model of the target host?
      Also, can you post what’s inside of /images/<image name>/d1.partitions and /images/<image name>/d1.minimum.partitions please?

      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/

      C 1 Reply Last reply Apr 12, 2016, 8:25 PM Reply Quote 0
      • T
        Tom Elliott
        last edited by Apr 12, 2016, 7:40 PM

        What files are in the image?

        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

        C 1 Reply Last reply Apr 12, 2016, 8:28 PM Reply Quote 0
        • C
          chamzod @Wayne Workman
          last edited by Apr 12, 2016, 8:25 PM

          @Wayne-Workman the model is an HP 4000 Small Form Factor. I opened the requested folders and the d1.partitions does not exist. just rec.img.000 and sys.img.000

          1 Reply Last reply Reply Quote 0
          • C
            chamzod @Tom Elliott
            last edited by Apr 12, 2016, 8:28 PM

            @Tom-Elliott does my response to Wayne Work for your Question as well? Also, we just recently transferred the images to a new server with a new mounted HDD, but the images have worked since then.

            T 1 Reply Last reply Apr 12, 2016, 8:30 PM Reply Quote 0
            • T
              Tom Elliott @chamzod
              last edited by Apr 12, 2016, 8:30 PM

              @chamzod I’m about to push a fix for this. Can you get the exact picture?

              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

              C 1 Reply Last reply Apr 13, 2016, 12:29 PM Reply Quote 0
              • T
                Tom Elliott
                last edited by Apr 12, 2016, 8:33 PM

                Hopefully this is now fixed and can fix another thread with a very similar issue. Of course test and report anything so I can try to make sure things absolutely good to go.

                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
                • T
                  Tom Elliott
                  last edited by Apr 12, 2016, 8:37 PM

                  Just linking the other two similar (albeit different) threads as I believe all three are somewhat related.

                  https://forums.fogproject.org/topic/7103/fog-after-update-could-not-recreate-main-partition
                  https://forums.fogproject.org/topic/7150/fatal-error-could-not-remove-old-partition-bin-fog-download

                  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
                  • A
                    Adam Grieger
                    last edited by Apr 13, 2016, 12:39 AM

                    @Tom-Elliott Sorry to be bearer of bad news, I have just updated to 7162 and am still experiencing a similar problem with older style images. ‘Fatal error: could not remove old main partition(/bin/fog.download).’

                    T 2 Replies Last reply Apr 13, 2016, 12:52 AM Reply Quote 0
                    • T
                      Tom Elliott @Adam Grieger
                      last edited by Apr 13, 2016, 12:52 AM

                      @Adam-Grieger Is this image a 2 partition image? Meaning it has recovery and main? What’s output of ls -lhart /images/<relevantImage>.

                      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
                      • T
                        Tom Elliott @Adam Grieger
                        last edited by Apr 13, 2016, 1:03 AM

                        @Adam-Grieger Believe I got your issue sorted. Please test and report again.

                        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
                        • A
                          Adam Grieger
                          last edited by Apr 13, 2016, 1:25 AM

                          @Tom-Elliott Just tested with 7164 and still have the same error. Yes, it is a 2 partition image. Output is as follows:

                          -rwxrwxrwx 1 root root 16M Sep 29 2015 rec.img.000
                          drwxrwxrwx 2 root root 4.0K Sep 29 2015 .
                          -rwxrwxrwx 1 root root 28G Sep 29 2015 sys.img.000
                          drwxrwxrwx 9 root root 4.0K Jan 30 11:09 …

                          Not sure if this screenshot helps at all:

                          0_1460510535641_img_1983.jpg

                          T 2 Replies Last reply Apr 13, 2016, 1:27 AM Reply Quote 0
                          • T
                            Tom Elliott @Adam Grieger
                            last edited by Apr 13, 2016, 1:27 AM

                            @Adam-Grieger do me a favor. Start the image as debug. Run through the command line fog

                            When it fails and you’re back at prompt run fdisk -l /dev/sda and put out put here.

                            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
                            • T
                              Tom Elliott @Adam Grieger
                              last edited by Apr 13, 2016, 1:45 AM

                              @Adam-Grieger And if you’re feeling spry, please update again and let me know any new/unchanging status.

                              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

                              1 Reply Last reply Reply Quote 0
                              • A
                                Adam Grieger
                                last edited by Apr 13, 2016, 1:51 AM

                                @Tom-Elliott
                                0_1460512199723_img_1984.jpg

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Adam Grieger
                                  last edited by Apr 13, 2016, 2:22 AM

                                  @Tom-Elliott Sorry, posted that picture without seeing your second reply, I have updated to 7166 and this has solved the problem. Thanks for all your help!

                                  1 Reply Last reply Reply Quote 1
                                  • C
                                    chamzod @Tom Elliott
                                    last edited by Apr 13, 2016, 12:29 PM

                                    @Tom-Elliott Sorry i just got back to work 0_1460550623472_FOG.jpg and 0_1460550655996_upload-492e9b84-a3f6-47eb-9480-ab5b8f1479fe

                                    T 1 Reply Last reply Apr 13, 2016, 12:32 PM Reply Quote 0
                                    • T
                                      Tom Elliott @chamzod
                                      last edited by Apr 13, 2016, 12:32 PM

                                      @chamzod please update And try again

                                      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

                                      C 1 Reply Last reply Apr 13, 2016, 1:00 PM Reply Quote 0
                                      • C
                                        chamzod @Tom Elliott
                                        last edited by Apr 13, 2016, 1:00 PM

                                        @Tom-Elliott It works! You’re the best! I am still not being prompted to install/update the database schema in the WebUI.

                                        W 1 Reply Last reply Apr 13, 2016, 1:01 PM Reply Quote 0
                                        • W
                                          Wayne Workman @chamzod
                                          last edited by Wayne Workman Apr 13, 2016, 7:03 AM Apr 13, 2016, 1:01 PM

                                          @chamzod said in Attempting to expand/fill partitions Failed:

                                          I am still not being prompted to install/update the database schema in the WebUI.

                                          There’s not always a schema update from one trunk revision to the next.

                                          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/

                                          C 1 Reply Last reply Apr 13, 2016, 1:02 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            17/21
                                            Last post

                                          156

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project