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

    Problem with size of partitions

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    22
    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.
    • M
      michelsantana @Tom Elliott
      last edited by michelsantana

      @Tom-Elliott This is the output of the sgdisk command once booted with a debug deploy task with the kernel argument that you have resquested. Don’t know if is this what you are talking about.
      Thank you

      0_1489686127335_WhatsApp Image 2017-03-16 at 17.37.47.jpeg

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

        sfdisk is much more useful if you can get it.

        You would start the “debug” task.

        At the command prompt type fog

        Step through it slowly.

        It will show the output of the sfdisk as it gets applied.

        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 Reply Quote 0
        • M
          michelsantana @Tom Elliott
          last edited by

          @Tom-Elliott This is the output of the command you have requested. Now I only have access to a Virtual Machine, but I guess that the problem is the same. Here you have the captures in sequence:
          0_1489700182220_Captura de pantalla 2017-03-16 a las 21.29.19.png
          0_1489700190338_Captura de pantalla 2017-03-16 a las 21.29.55.png 0_1489700196633_Captura de pantalla 2017-03-16 a las 21.30.21.png 0_1489700201423_Captura de pantalla 2017-03-16 a las 21.30.39.png 0_1489700205990_Captura de pantalla 2017-03-16 a las 21.31.09.png

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

            @michelsantana So based on what I’m seeing, this may be a problem simply because it has no extended partitions.

            I’m taking a look at the main scripts to try to narrow down another (but separate) issue so I can try to see if i can get the logic out of this too. Thanks for the information thus far.

            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 Reply Quote 0
            • M
              michelsantana @Tom Elliott
              last edited by

              @Tom-Elliott You are more than welcome. And yes, in our configuration all the partitions are primary, so we don’t have any extended partition.

              Thank you very much

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

                @michelsantana can you get the size of the disk you’re trying to apply this to?

                blockdev --getsz /dev/sda I think should do it.

                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 Reply Quote 0
                • M
                  michelsantana @Tom Elliott
                  last edited by

                  @Tom-Elliott In the previous example the machine (Virtual) had a 60GB hard disk. Just for testing purposes I increased the size of the harddisk to 180GB and this are the results. As you can see there is no error this time with extended partitions but the sizes of the partitions still doesn’t have the right proportions.
                  0_1489701816546_Captura de pantalla 2017-03-16 a las 21.59.53.png
                  0_1489701824819_Captura de pantalla 2017-03-16 a las 22.00.42.png
                  0_1489701843386_Captura de pantalla 2017-03-16 a las 22.01.16.png
                  0_1489701850761_Captura de pantalla 2017-03-16 a las 22.01.41.png

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

                    @michelsantana I realize that and am replicating your d1.minimum.partitions and d1.partitions file.

                    I know what’s causing it too btw.

                    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 Reply Quote 0
                    • M
                      michelsantana @Tom Elliott
                      last edited by

                      @Tom-Elliott It seems like it’s taking the d1.minimum.partitions as source to determine the proportion between partitions instead of the d1.partitions. In our example the sda3 partition is the bigger one in size but it’s almost empty.

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

                        @michelsantana I know what’s causing it, just trying to figure out a way around it in a nice method.

                        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
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          Mind trying these:

                          Init’s are up at:

                          http://mastacontrola.com/init.xz
                          http://mastacontrola.com/init_32.xz

                          wget -O /var/www/fog/service/ipxe/init.xz http://mastacontrola.com/init.xz
                          wget -O /var/www/fog/service/ipxe/init_32.xz http://mastacontrola.com/init_32.xz

                          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 Reply Quote 0
                          • M
                            michelsantana @Tom Elliott
                            last edited by

                            @Tom-Elliott I have downloaded those files and repeated the process. There is a minor error than you can see in the first capture, but it seems that the problem is solved. Tomorrow I will try a deployment with a physical machine and post the results.
                            Thank you very much for your help!

                            0_1489704268147_Captura de pantalla 2017-03-16 a las 22.41.11.png
                            0_1489704276657_Captura de pantalla 2017-03-16 a las 22.41.53.png
                            0_1489704285596_Captura de pantalla 2017-03-16 a las 22.42.11.png
                            0_1489704293298_Captura de pantalla 2017-03-16 a las 22.42.36.png

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

                              @michelsantana I’m pushing fix for the error’s being spat out.

                              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
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                Fix for the missed elements should be up if you wanted to retest.

                                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 2 Replies Last reply Reply Quote 0
                                • M
                                  michelsantana @Tom Elliott
                                  last edited by

                                  @Tom-Elliott Perfect! I will try again and post the results

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    michelsantana @Tom Elliott
                                    last edited by

                                    @Tom-Elliott Still one error

                                    0_1489704855815_Captura de pantalla 2017-03-16 a las 22.53.44.png

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

                                      @michelsantana Fix for this then is now up too! THanks for helping

                                      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 Reply Quote 0
                                      • M
                                        michelsantana @Tom Elliott
                                        last edited by

                                        @Tom-Elliott You’re welcome. Here are the results after the last modifications you have uploaded. Seems like there are no more errors. Now I’m making the whole deployment to see the final partition sizes in Windows enviroment.

                                        Thank you very much!
                                        0_1489705889913_Captura de pantalla 2017-03-16 a las 23.09.10.png
                                        0_1489705897537_Captura de pantalla 2017-03-16 a las 23.09.32.png

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

                                        206

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project