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

Linux EXT4 FS partition not resizing (shrink) prior to upload

Scheduled Pinned Locked Moved Solved
Bug Reports
2
7
1.6k
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.
  • S
    sudburr
    last edited by sudburr Feb 19, 2016, 3:37 PM Feb 19, 2016, 9:36 PM

    I created a CentOS7.1 VM and uploaded it 2015/10/01 . At that time, the EXT4 partitions were successfully resized & captured by FOG, set as Linux, Single disk - resizable.

    As of today with build 6339, capturing it simply says:

    Shrinking Partitions on disk
    Not shrinking (/dev/sda1) fixed size
    Not shrinking (/dev/sda2) fixed size
    Not shrinking (/dev/sda3) fixed size
    

    The file systems for sda1 and sda2 are both EXT4.

    The result in 2015/10/01 was an “Image Size on Client” of 2.5 GiB .
    The result today capturing the very same VM is an “Image Size on Client” of 115 GiB.

    Of course, attempting to deploy this new image to a HDD of lesser size results in the Part Clone error “Target partition is smaller than source …”

    I’m rolling back through kernels to try and find when it broke; nearly the entire list of kernels in FOG are dated December 20th, 2015, so I can’t tell which kernel it might have been that was in use at the time (2015/10/01).ymd

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

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Feb 19, 2016, 9:53 PM

      It’s got nothing to do with Kernels. Likely me doing something wrong, though I don’t know what. Is the OS set for LInux or a Windows OS?

      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
      • S
        sudburr
        last edited by Feb 19, 2016, 9:57 PM

        It’s set for Linux, Single disk - resizable.

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

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 19, 2016, 10:15 PM

          Found and pushing potential patch to correct for this.

          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 Feb 19, 2016, 10:19 PM

            Inits updated in hopeful attempt to correct for this.

            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
            • S
              sudburr
              last edited by Feb 19, 2016, 11:13 PM

              Build 6351 did the trick. Thank you again for a great response time.

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

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Feb 19, 2016, 11:16 PM

                I want to add a caveat to this. I really don’t like relying on OS type as a defining factor. That said, 1.3.0 still relies on OS type to determine if it’s a valid resizable OS (Windows XP,Vista,7,8,8.1,10) and (Linux, Chromium OS). It also relies on the os type to determine the “fixed_size_partitions”. Of course the fixed_size_partitions file can be edited after the upload, but I am still under the impression we should really use it from the GUI. I will work on it, but for now I’m glad this is working.

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

                147

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project