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

Fog resize Hard drive (C partition) after compression...

Scheduled Pinned Locked Moved
Windows Problems
5
9
4.0k
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.
  • M
    Matthieu Jacquart
    last edited by Apr 1, 2015, 9:07 AM

    Hi ,

    Sorry for my english but I’m french and I encounter a strange problem, difficult to explain…
    I use Fog for years on numerous computers and everything is ok, except for notebook Toshiba Satellite pro C660 with SSD 60Gb (running Windows 7 pro SP1, just one partition of 60Gb)

    If I don’t compress SSD (C partition), everything is ok. But it began to be full (thanks MS for update and winsxs folder…) so I decided to compress it. Until I made a sysprep and upload the image, everyhting is fine, I can reboot the computer without any problem.
    But when I sysprep the computer and update the image, after completion C partition is reduced from 60Gb to 27Gb and is totally full ! I tried several way to resize the disk (windows disk management, gparted…) but nothing work.

    I don’t know if it’ a sysprep or fog problem (v1.2.0), but I’ve got another kind of computer with same SSD 60Gb, and for them I can compress SSD and upload image, everything is fine… But not on my satellite pro C660 !

    Thanks for help, because the only solution I have is to revert to my previous image without compressing hard drive…

    Matthieu

    Fog 1.5.9.138
    Debian 11
    Vmware ESXi

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Apr 1, 2015, 2:54 PM

      What version of FOG are you using? What revision?

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by Apr 1, 2015, 9:36 PM

        Nice to see I’m not the only one with the issue personnaly with partimage on Fog 1.20

        Resize2fs resize the source machine’s drive, but never expand it again corrupting both the source and the image (= you can restore the image on a 200GB drive but it shows your C:\ with 20GB only)

        It seems it happens on computer you didn’t run chkdsk /F before starting fog but I can’t confirm

        I have a computer to fix tomorrow morning so I’ll write the process to “repair” the damaged machine here once I’ve tested my procedure.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Apr 1, 2015, 9:51 PM

          The “repair” is actually much simpler I think.

          It doesn’t use resize2fs for ntfs, it uses ntfsresize (hopefully a bit more helpful).

          partimage images from 0.32 (maybe earlier as well?) assume a start sector of 63s, while most systems actually have a start sector at 2048s. It’s this difference that you’re seeing a problem. Basically, even though Win 7 may start initially with loading the sector at 2048 during it’s install process, FOG copies all data after sector 63s. Because of this the MBR is adjusted to start at 63s which doesn’t exist in a pure 2048 setup.

          FOG 1.2.0 “forgot” about this and always aligns disks at optimal values which most will automatically adjust to 2048s. Because of this, the MBR can’t locate the now adjusted 63 vs 2048. I know this seems like gibberish but should give insight.

          I’ve actually fixed this in the development version so I’d say start there if you could.

          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
          • M
            Matthieu Jacquart
            last edited by Jun 12, 2015, 6:19 AM

            Hi

            I need to update my post, because issue happens again on another model.
            I prepare my image on dell computer with SSD 120Gb, I compress C partition, I upload image, everything seems to be fine.

            But few days after, I try to download image on 2 different model, and each lost all free sapcee : Fog just keep 25Gb on C for system…

            I don’t find any solution except don’t compress c partition, but my SSD 60Gb are quickly full if I don’t compress…

            Thanks for your help !
            Matthieu

            Fog 1.5.9.138
            Debian 11
            Vmware ESXi

            C 1 Reply Last reply Jun 12, 2015, 7:17 AM Reply Quote 0
            • C
              ch3i Moderator @Matthieu Jacquart
              last edited by Jun 12, 2015, 7:17 AM

              @Matthieu-Jacquart Hi, are you using SVN version ?

              1 Reply Last reply Reply Quote 0
              • M
                Matthieu Jacquart
                last edited by Jun 12, 2015, 7:37 AM

                No, I use 1.2 to create and deploy image.

                Fog 1.5.9.138
                Debian 11
                Vmware ESXi

                C 1 Reply Last reply Jun 12, 2015, 7:45 AM Reply Quote 0
                • C
                  ch3i Moderator @Matthieu Jacquart
                  last edited by Jun 12, 2015, 7:45 AM

                  @Matthieu-Jacquart That bug is fixed in SVN.

                  @Tom-Elliott said:

                  The “repair” is actually much simpler I think.
                  […]
                  I’ve actually fixed this in the development version so I’d say start there if you could.

                  1 Reply Last reply Reply Quote 0
                  • M
                    Matthieu Jacquart
                    last edited by Jun 12, 2015, 7:48 AM

                    Oh, my fault, read to fast…
                    I’ll try this today, thanks

                    Fog 1.5.9.138
                    Debian 11
                    Vmware ESXi

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

                    260

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project