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

    mismatched drive sizes in win10 after incomplete capture with 1.5.5

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    16
    1.7k
    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.
    • G
      geardog
      last edited by geardog

      So using 1.5.5 I tried to capture a win10 box. It failed at 85% (as shown by the bar in fog’s “active tasks”), but rebooted to windows. Fine, but the windows machine still has a minimized OS/system partition.

      incongruencies-
      Win10 drive list shows OS partition as 60GB and throws errors as it being full.
      Admin tools>comp management>storage>disk management- shows the partition as the expected ~180GB size

      Any advice on how to un-hose this drive without borking it further? Hopefully someone better versed in this kind of thing might understand the discrepancy.

      I have updated to fog 1.5.6, but still hope to salvage the workstation.

      1 Reply Last reply Reply Quote 0
      • G
        geardog @Sebastian Roth
        last edited by

        @Sebastian-Roth
        Gparted fixed it with the “check” command, running what appeared to be the same commands I entered at terminal.

        I’ll try to capture it again after I’m more confident the box is ok.

        thanks guys

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

          @geardog There are two things, partition size and the size of the actual filesystem within that partition. Seems like it resized the partition back to it’s original size but not the filesystem.

          Can you please post a picture of the disk management view in Windows. Just to make süße my guess is right.

          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
          • G
            geardog
            last edited by geardog

            @Sebastian-Roth

            3a96bc76-71f3-4ad2-bea8-bd40c71fef81-image.png

            I obscured it, but, in file explorer, the 59.8GB is total size.

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

              @geardog Please schedule a debug capture task on this host, boot it up and when you get to the shell run:

              ntfsresize --no-action --expand --verbose /dev/sda2
              

              Note that I am guessing the partition letter sda2 here. Might be different on your system. If you are not sure take a look at the partitions using parted -l /dev/sda first.

              If the above command does not throw an error you might run it again but this time leave out the --no-action command line parameter and it should do its job.

              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

              G 1 Reply Last reply Reply Quote 0
              • G
                geardog @Sebastian Roth
                last edited by geardog

                @Sebastian-Roth

                e15f3886-1903-4a4a-83ae-2d7c1d96f7a8-image.png

                The sector and cluster ratios seem appropriate for the partition size. Will the error cause issue?

                Any guidance is appreciated. I can google some commands and pretend I know what I’m doing, but I’d rather not botch the box further.

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

                  @geardog Try the following: ntfsfix /dev/sda2

                  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

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    geardog @Sebastian Roth
                    last edited by

                    @Sebastian-Roth
                    ntfsfix processed, but the FS is still the same size. I guess now I try the previous command again to see if the bootsector error has been cleared to run the resize?

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

                      @geardog said:

                      I guess now I try the previous command again to see if the bootsector error has been cleared to run the resize?

                      Exactly. Give it a try. Please take a picture again and post here.

                      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

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        geardog @Sebastian Roth
                        last edited by

                        @Sebastian-Roth

                        no apparent change

                        bddfb7f7-0060-41c5-8221-17cac78f5245-image.png

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

                          @geardog Do you have a complete sector by sector image backup of the disk? If not I’d suggest taking one and then just go ahead and try: ntfsresize --expand --verbose --force /dev/sda2

                          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

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            geardog @Sebastian Roth
                            last edited by geardog

                            @Sebastian-Roth

                            30fd6cf3-ef66-40e0-9f2b-38ef63735115-image.png
                            note: -v gave no further info

                            What now? 😕

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

                              @Tom-Elliott Do you have an idea?

                              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

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

                                @Sebastian-Roth No ideas really.

                                However, the fact that it’s referencing the “boot” sector as the issue, I’m guessing the Partition table is configured in GPT? Does it look similar to the other GPT threads where the last partition in the disk is also the boot partition?

                                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

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  geardog @Tom Elliott
                                  last edited by

                                  @Tom-Elliott
                                  I double checked. It is MBR and system is on the small 500MB partition.

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

                                    @geardog It’s not easy to give instructions as we don’t have your setup at hand to play with it ourselves. Anyhow as a next step I would try booting a gparted live boot CD and see what it looks like in there. Either it is able to expand the NTFS filesystem to the full size or you can try to first shrink it down to 60 GB and then expand again.

                                    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

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      geardog @Sebastian Roth
                                      last edited by

                                      @Sebastian-Roth
                                      Gparted fixed it with the “check” command, running what appeared to be the same commands I entered at terminal.

                                      I’ll try to capture it again after I’m more confident the box is ok.

                                      thanks guys

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

                                      187

                                      Online

                                      12.1k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project