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

    Deployement failed on smaller drive (message "Target partition size smaller")

    Scheduled Pinned Locked Moved FOG Problems
    8 Posts 3 Posters 2.6k Views
    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.
    • Matthieu JacquartM
      Matthieu Jacquart
      last edited by Matthieu Jacquart

      Server
      • FOG Version: 1.3.4-RC2 (SVN 6063)
      • OS: Debian 8.5
      Client
      • Service Version: 0.11.8
      • OS: Win10
      Description

      Hi

      I’ve got a “big” problem, I’ve just deployed image on 20 computers, and those who have a smaller drive failed with this message.

      0_1485432153024_fog1.jpg

      0_1485432194764_fog2.jpg

      And after that computer is unusable (Windows broken).

      Image prepared on dell optiplex 3020 with SSD 128GB, deployed successfully on dell latitude 3350 or dell optiplex 3040 (always with SSD 128, but not same reference), and even on a computer with HDD500Gb.
      But on 4 PC with SSD smaller (Kingston v200 or v300 60GB), it fails with same error…
      And I deployed same image 2 weeks ago on these same 4 computers and everything was fine !

      Thanks for help !
      Matthieu

      Fog 1.5.9.138
      Debian 11
      Vmware ESXi

      1 Reply Last reply Reply Quote 0
      • Matthieu JacquartM
        Matthieu Jacquart
        last edited by

        I’ve just test with another image and it’s ok…
        so problem on my image, but I tried an older save (image from november) and same problem, while it works 2 weeks ago… Weird !

        Fog 1.5.9.138
        Debian 11
        Vmware ESXi

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator
          last edited by

          On these systems with 128GB hard drive, how much space is consumed by your image (with data not data+freespace)

          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!

          Matthieu JacquartM 1 Reply Last reply Reply Quote 0
          • Matthieu JacquartM
            Matthieu Jacquart @george1421
            last edited by

            @george1421 Hi,

            On computer with SSD 128 just deployed : 32GB used
            0_1485434257793_fog1.jpg

            On a 60GB SSD computer, deployed few months ago : 35GB used
            0_1485434285694_fog2.jpg

            Fog 1.5.9.138
            Debian 11
            Vmware ESXi

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Matthieu Jacquart
              last edited by

              @Matthieu-Jacquart While this no way helps you now. We will typically create our reference image on the smallest size possible disk running on a vm. Our current standard reference image disk is 45GB. That way we are sure it will fit on any computer in our fleet. That standard came from when we ran fog 1.2.0 that didn’t support resizable disks. We just would deploy that image and then use windows to expand the OS disk to the size of the physical disk.

              In your case above I might understand that if your 128 GB disk is not defragmented and compacted in the first 60GB of your 128GB image why FOG can’t resize it. Lets say for example your 128GB disk has data located in the image at the 70GB location (on the physical disk). FOG can’t / doesn’t move data around so that it can shrink the disk.

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

                For these really snall drives, I might recommend you edit the d1.fixed_size_partitions file. Add the value:

                1 if it’s blank. or append :1 if there’s already another drive in there.

                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

                Matthieu JacquartM 1 Reply Last reply Reply Quote 0
                • Matthieu JacquartM
                  Matthieu Jacquart @Tom Elliott
                  last edited by

                  @Tom-Elliott YES !!! Thanks Tom
                  It seems working, deployement begins after adding “1” in d1.fixed_size_partitions (which was empty).

                  And I will remember Georges advice to prepare image on the smaller disk 😉

                  Fog 1.5.9.138
                  Debian 11
                  Vmware ESXi

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

                    Maybe somebody out there can make the suggestions?

                    I’m going to try detecting smaller size and automatically applying it as a “fixed” partition, but I really need others to help determine if this is the best/safest route?

                    I removed the required first partition fixed size due to some potential hdd layouts.

                    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
                    • First post
                      Last post

                    36

                    Online

                    12.2k

                    Users

                    17.4k

                    Topics

                    155.6k

                    Posts
                    Copyright © 2012-2025 FOG Project