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

    Fog svn trunk not removing pagefile and hibernation file during image capture

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    7
    1.5k
    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.
    • J
      J Rider
      last edited by

      Has anyone noticed that Fog Trunk is no longer deleting these two files during the image capture process? I’ve been having to manually delete the files before saving out. Is there a setting I’m missing somewhere where I have to re-able this option?

      I’m currently running the following:

      Running Version: 8599

      You are not running the most current version of FOG!
      You are currently running version: 8599

      Latest stable version is 1.2.0

      Latest svn version is 5947

      Latest git version is 1.3.0-RC-7

      Kernel Versions
      DefaultMember
      bzImage Version: 4.6.2
      bzImage32 Version: 4.6.2

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

        So I found the issue, and yes it was not working right. There is a setting in the system that is supposed to use FOG_CAPTUREIGNOREPAGEHIBER but the value never got updated in the DB so it would always return false.

        I’ve fixed this in the schema and it will be available for RC-8.

        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 1 Reply Last reply Reply Quote 1
        • B
          BedCruncher
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            So you’re not running any of the RC versions? Hibernation is deleted but not in the same fashion.

            Also, what makes you think it’s not removing these files already? When the system reboots, they’ll be recreated anyway.

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

              I would suggest doing that as it’s what I do on my images.
              Deleting Hiberfile.sys
              I have a first logon script that reenables it so that I don’t have to waste space storing a file that might or might not be the same size on any machines I deploy my image to.

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

                So I found the issue, and yes it was not working right. There is a setting in the system that is supposed to use FOG_CAPTUREIGNOREPAGEHIBER but the value never got updated in the DB so it would always return false.

                I’ve fixed this in the schema and it will be available for RC-8.

                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 1 Reply Last reply Reply Quote 1
                • J
                  J Rider @Tom Elliott
                  last edited by

                  @Tom-Elliott

                  Great! I’m glad you were able to address it. I’ll be sure up to update to the latest release so I don’t have to worry about that extra step!

                  1 Reply Last reply Reply Quote 0
                  • K
                    kaushalmalkan11
                    last edited by

                    The best way to delete hiberfil.sys is to disable hibernation in Windows:

                    1. Go to Start menu, type “cmd” open up command prompt
                    2. Type “powercfg.exe -h off” [make sure you are an Administrator]
                    3. ENTER
                    4. Type “exit”
                    5. ENTER
                    6. RESTART YOUR PC and you are all set

                    After the restart, you should be able to see more free space on your hard drive.

                    This generally works for 90% of the time but if it doesn’t work for you then you can refer to other available methods.

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

                    145

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project