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

    Windows 10 temp file clean up - Error(5) shrinkPartition - Capture fail

    Scheduled Pinned Locked Moved Unsolved
    Windows Problems
    4
    15
    1.6k
    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.
    • D
      duanekaeb @Quazz
      last edited by

      @Quazz & @Sebastian-Roth, I ran a chkdsk and did a defrag/trim and I’m still getting a resize test.

      Image-35.jpg

      1 Reply Last reply Reply Quote 0
      • D
        duanekaeb @sudburr
        last edited by

        @sudburr Thanks for the script. I executed it but I’m still getting the same shrinkPartitiion error.

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

          @duanekaeb Please boot up Windows on that machine and open disk management tool, take a picture of that 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

          D 2 Replies Last reply Reply Quote 0
          • D
            duanekaeb @Sebastian Roth
            last edited by

            @Sebastian-Roth thumbnail_IMG_4240.jpg

            1 Reply Last reply Reply Quote 0
            • D
              duanekaeb @Sebastian Roth
              last edited by

              @Sebastian-Roth any recommendations?

              Q 1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator @duanekaeb
                last edited by

                @duanekaeb One other thing I had to do once upon a time was run

                dism /online /cleanup-image /startcomponentcleanup
                

                in command prompt before sysprep and capture

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

                  @duanekaeb The partition sda4 that we see in the terminal output windows doesn’t show up in windows disk management tool. Most probably because it’s a hidden partition. Still doesn’t make too much sense but to me it looks like it.

                  Please schedule a debug capture task (as you normally would in the web UI but just before you click create task there is a checkbox for debug mode), boot up the host and when you get to the shell run the command parted -l, take a picture and post that 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

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    duanekaeb @Quazz
                    last edited by

                    @Quazz I ran all four of these commands I found on another post but still no go.


                    kafluke Apr 24, 2019, 10:06 AM
                    @Quazz I saw a post by you in another thread and took your advice. I ran all these commands and it’s capturing now:

                    dism /online /cleanup-image /startcomponentcleanup
                    dism /online /cleanup-image /restorehealth
                    sfc /scannow
                    chkdsk 😄 /f


                    1 Reply Last reply Reply Quote 0
                    • D
                      duanekaeb @Sebastian Roth
                      last edited by duanekaeb

                      @Sebastian-Roth, here you go.

                      thumbnail_IMG_4360.jpg

                      That may not be what you’re looking for. I pressed enter and the command line popped up. Parted -1 returned an error but I was able to get something when I typed in parted. This is a screen shot of the print command.

                      thumbnail_IMG_4363.jpg

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

                        @duanekaeb Thanks for the pictures. What I posted was the command parted -l - the parameter being a lower case l (like lion). But using the print command you still got us exactly the information I was hoping to see.

                        Ok, so the partition layout is fine from my point of view. So now I am wondering if C: is simply almost full and that is causing the problem. Reviewing the pictures again I saw something that I have not noticed before: Needed relocations: ... (16179 MB)

                        While I am not an expert on the ntfs3g-lib implementation I am really wondering if this is just “too much for it”. It tries to shrink the partition and for that to be able to do it would need to relocate/move roughly 16 GB of data. While it’s not nice that it fails to do so I can kind of understand it’s having a hard time to do so.

                        I really wonder why defrag didn’t help you with this. Probably a bit different on the SSD, hmmmm. Not sure what else we can do for you.

                        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
                        • 1 / 1
                        • First post
                          Last post

                        200

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project