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

    Wrong size disk after capture

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    5
    1.4k
    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

      Hi,

      I don’t know if it’s a bug, but with RC8 I’ve uploaded an image (without sysprep, just to backup a new Win10 Anniversary computer with few hours to parameter it fine :() and just after rebbot disk size has decreased and is 99% full : SSD 120 at origin, now 22GB but in disk manager we can see full size disk…

      0_1471613656435_Capture.JPG

      Any idea on how to restore free space. And of course it’s a bit urgent 😉

      Thanks !
      Matthieu

      Fog 1.5.9.138
      Debian 11
      Vmware ESXi

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

        resolved with Tom’s help, boot on a debug session then type ntfsresize /dev/sda2 -f -b -P

        Perfect 😉

        Fog 1.5.9.138
        Debian 11
        Vmware ESXi

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

          Was this image setup as a resizable image? If not, change the type. It appears the uploaded image was “pre shrunken” and uploaded in a non-resizable state. I only know this because I use Resizable images at work, and they all appear to be working properly.

          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, it’s my “test” image, single size - resizable.
            I’ve uploaded another computer 3 days ago with same image and everything was fine…

            Another strange thing is that when I uploaded troubleshot image (this morning), in web management task appears not ended, whereas computer has finished uploaded image and has rebooted. And image stayed in /images/dev/mac-adress/ instead of being moved in images/test…

            So several bug for same upload, but for now I just need to un-shrink the disk
            If you can help me it’ll be great, if not I had to reset my work 😞

            Fog 1.5.9.138
            Debian 11
            Vmware ESXi

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

              @Matthieu-Jacquart The uploaded image didn’t move back over the original image file is what I’m gathering here.

              To expand your disk, you can do it right from the disk management msc snapin that you have open.

              In the disk management area, however, it appears to see the full size, so why it’s not making that size available tells me the ntfsresize expand method didn’t operate.

              If you can get to a debug session, I can help run the command to expand the volume to the full size.

              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
              • Matthieu JacquartM
                Matthieu Jacquart
                last edited by Matthieu Jacquart

                resolved with Tom’s help, boot on a debug session then type ntfsresize /dev/sda2 -f -b -P

                Perfect 😉

                Fog 1.5.9.138
                Debian 11
                Vmware ESXi

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

                301

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project