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

    Add setting for amount of free space on resizable images

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    3
    867
    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.
    • B
      benc
      last edited by

      Would it be possible to implement a setting in the Fog web interface to control how much the partitions are shrunk when capturing an image? I’m running into this problem more often where my resizable images don’t successfully resize before capture, I’m guessing because the script running parted is being a little too aggressive and not leaving enough free space. Parted usually throws an error like

      No free mft record for $MFT: No space left on device
      Could not allocate new MFT record: No space left on device
      

      I know from experience if I could set it to leave just a percent or two more free space it would probably resize successfully. It would be really nice to be able to set a target percent of free space on resizable images.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @benc Please check in FOG Configuration -> FOG Settings -> General Settings -> CAPTURERESIZEPCT. From the help text:

        This setting defines the amount of padding applied to a partition before attempting resize the ntfs volume and capturing it.

        Default is adding 5 % and you can increase that as much as you like (up to 99 % which would not make sense).

        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 1
        • B
          benc
          last edited by

          Cool! I didn’t know that option was there. Thanks.

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

          148

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project