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

Erasing current MBR/GPT tables.... taking about 5-10 minutes

Scheduled Pinned Locked Moved Solved
FOG Problems
16
30
8.9k
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.
  • L
    Lemeunier
    last edited by May 31, 2018, 3:06 PM

    Fog serveur : 1.5.3 on ubuntu 17.10 amd64

    Hi,

    I’ve upgraded today my fog server from 1.5.0 to 1.5.3. I’ve got no issue and everythings works just fine.
    Except the part where fog erases partition tables… I mean it works but it takes about five-ten minutes for doing it.
    Before upgrading i don’t know how much times it took but i’ll say about a few second.

    Any idea ?

    1 Reply Last reply Reply Quote 2
    • T
      Tom Elliott
      last edited by Jun 5, 2018, 10:12 PM

      Anybody mind downloading the latest 4.17.0 kernels?

      I’ve added back patch that I haven’t had to do in a while, hopefully it can help fix the slowness?

      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

      J L M 3 Replies Last reply Jun 5, 2018, 10:36 PM Reply Quote 0
      • M
        mronh
        last edited by Jun 1, 2018, 6:29 PM

        Same here, 1.5.1 to 1.5.3… before was nearly instantaneous, now at least 3 minutes ( counting on the clock…)
        feel the data base more slow also, during the update after deploy/capture

        in capture/cloning mode takes even more time in the “saving original disk parts uuids”, bout 5 minuts minimum… =/

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jun 1, 2018, 6:31 PM

          I can only attribute this to the fixes on NTFS-Progs that were added. As long as it’s not breaking things, this is fine.

          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

          M 1 Reply Last reply Jun 1, 2018, 6:39 PM Reply Quote 0
          • M
            mronh @Tom Elliott
            last edited by Jun 1, 2018, 6:39 PM

            @tom-elliott theres something we can do to ‘fix’ this to fog dont hang that long on that stage? ( i tried diskpart in debug mode, but no effect at all) =/

            thanks in advance

            T 1 Reply Last reply Jun 1, 2018, 6:41 PM Reply Quote 0
            • T
              Tom Elliott @mronh
              last edited by Jun 1, 2018, 6:41 PM

              @mronh The only thing I can suggest is be patient.

              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

              F 1 Reply Last reply Jun 3, 2018, 6:54 PM Reply Quote 0
              • F
                fry_p Moderator @Tom Elliott
                last edited by Jun 3, 2018, 6:54 PM

                @tom-elliott We were seeing this same “issue” last week on 1.5.3 prior to the host registration fix. I have re-installed to fix the aforementioned registration issue, but I am getting pressured as to why the MBR/GPT erasure takes so long by the techs now. Is this part of this new feature you mentioned earlier? I myself will test tomorrow to get an exact time it takes, but I wanted to let you know that this may be wider spread than initially thought.

                Like open source community computing? Why not do it for a good cause?
                Use your computer/server for humanitarian projects when it is idle!
                https://join.worldcommunitygrid.org?recruiterId=1026912

                T 1 Reply Last reply Jun 3, 2018, 9:26 PM Reply Quote 0
                • T
                  Tom Elliott @fry_p
                  last edited by Jun 3, 2018, 9:26 PM

                  @fry_p the only thing I can think it is is a patch to fix ntfs inode issues. I could revert that oat cheatibg but then we run into the old issue of mft being corrupted in some circumstances.

                  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
                  • L
                    luco60
                    last edited by Jun 4, 2018, 8:17 AM

                    Damn we are having the same problem, we are trying to get back to 1.5.1

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jun 4, 2018, 8:27 AM

                      The best I can suggest is maybe try an older kernel for now. Jumping between versions is a bit extreme. I believe 1.5.2 was on 4.15.2 kernel

                      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

                      M 1 Reply Last reply Jun 5, 2018, 1:23 PM Reply Quote 0
                      • L
                        luco60
                        last edited by Jun 4, 2018, 8:37 AM

                        Okay thanks we will try that, we are just starting to use FOG so a fresh install isn’t a big problem for us

                        1 Reply Last reply Reply Quote 0
                        • M
                          MCSDFog @Tom Elliott
                          last edited by Jun 5, 2018, 1:23 PM

                          @tom-elliott We are seeing the same thing. Went from 1.5.2 to 1.5.3. Switching to the 4.15.2 kernel fixed this problem for us.

                          Thanks

                          1 Reply Last reply Reply Quote 0
                          • J
                            jclumbo33
                            last edited by Jun 5, 2018, 1:29 PM

                            We had the same issue on kernel 14.16.6. Reverting back to 4.15.2 fixed this for us as well.

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Jun 5, 2018, 10:12 PM

                              Anybody mind downloading the latest 4.17.0 kernels?

                              I’ve added back patch that I haven’t had to do in a while, hopefully it can help fix the slowness?

                              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

                              J L M 3 Replies Last reply Jun 5, 2018, 10:36 PM Reply Quote 0
                              • J
                                JGallo @Tom Elliott
                                last edited by Jun 5, 2018, 10:36 PM

                                @tom-elliott I’m going to upgrade right now. I can try it and check back.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  JGallo
                                  last edited by JGallo Jun 5, 2018, 4:58 PM Jun 5, 2018, 10:56 PM

                                  Looks like formatting is much faster now using kernel 4.17.0 vs previous kernel. Thank you @Tom-Elliott I hope others have same experience. I must also add that I’m on Ubuntu Server 16.04 and FOG 1.5.4

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    Lemeunier @Tom Elliott
                                    last edited by Jun 7, 2018, 7:56 AM

                                    @tom-elliott I try to download it but… I’ve got this error : Error: Download Failed: Failed - filesize

                                    T 1 Reply Last reply Jun 7, 2018, 10:10 AM Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @Lemeunier
                                      last edited by Jun 7, 2018, 10:10 AM

                                      @lemeunier that’s a totally separate error, can you please open a new thread, or search for the similar error and see if those suggestions help.

                                      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
                                      • M
                                        MCSDFog @Tom Elliott
                                        last edited by Jun 7, 2018, 11:12 AM

                                        @tom-elliott At this point I stayed on 1.5.3 and I ran tests with three different kernels. 4.16.6 and 4.17.0 behaved similarly. They both took over 4 min to finish Erasing MBR/GPT. With kernel 4.15.2 the Erasing MBR/GPT took about 1 sec.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dbettens
                                          last edited by Jun 7, 2018, 2:34 PM

                                          I had the same problem with a fresh install on unbuntu18.04 running fog 1.5.3
                                          as suggested i downloaded the kernels from a previous version, i used 4.14.4 (both 64 & 32bit) and this fixed the issue too

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            matijn
                                            last edited by matijn Aug 6, 2018, 3:07 AM Aug 3, 2018, 8:21 AM

                                            I want to add to the above.
                                            You need to chmod 777 rights to /var/www/fog/service/ipxe , for succesvol installing (overwrite) another kernel.
                                            Can confirm 4.15.2 (32 + 64) kernels are instantly doing ‘Erasing current MBR/GPT tables’ !

                                            FTP incorrect error, check:
                                            https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

                                            Credentials / Passwords
                                            There are a few places where all the credentials (on a standard install) should match exactly.
                                            Web Interface -> Storage Management -> [Your storage node] -> Management Username & Management Password
                                            Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
                                            All of those should match (again, on a standard installation).
                                            /opt/fog/.fogsettings (password in plain, should match)

                                            FTP upload class fix:
                                            chown fog -R /images
                                            chmod -R 777 /images

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

                                            183

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project