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

    Can't Upload Image - Hangs or 'Attempting to Check-In'

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    5
    16
    4.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.
    • RobTitian16R
      RobTitian16
      last edited by

      Hi all,

      I currently have a problem where I can’t upload an image from a Hyper-V VM. When trying to do so, it hangs on ‘Resizing Filesystem’ for over an hour, and then comes back saying it could not mount /dev/sda2. I’ve run chkdsk /f multiple times and restarted multiple times, but still run into this error. It was working before, so I’m wondering if the VHD has gone wrong? Would cloning everything to a new VHD make it work?

      I just updated FOG to cover that base (currently running version 1.3.0-RC-8 (SVN revision: 5949), and now I’m getting ‘attempting to check-in… failed’. I’ve attached screenshots of all the errors.

      Any help with this would be appreciated as this is happening with our most used image and the upload attempt has actually wiped the image from the FOG server (so this is the only copy…).

      0_1471359246626_Capture.PNG
      0_1471359252645_Capture2.PNG
      0_1471359257254_Capture3.PNG

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

        Is it a fixed size VHD?

        RobTitian16R 1 Reply Last reply Reply Quote 0
        • RobTitian16R
          RobTitian16 @Quazz
          last edited by

          @Quazz Yes - with 40GB free on it.

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

            @RobTitian16 Have you ever been able to upload from this VM?

            If not, it’s likely a configuration issue or Hyper-V issue.

            RobTitian16R 1 Reply Last reply Reply Quote 0
            • RobTitian16R
              RobTitian16 @Quazz
              last edited by

              @Quazz Yes, quite a few times. This issue only just started happening within the past few days.
              I’ll try creating a new VM with a copy of the VHD it’s using to see if I can upload it then.

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                This looks like an issue with the VM’s virtual HDD. I would double check all of those settings.

                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
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth

                  @RobTitian16 Why would it be able to check in and fail the next time when attempting to check in?? Please check your apache error logs on this (see my signature on where to find the logs).

                  About NTFS resize speed in Hyper-V you definitely want to read this posts. AFAIK this is still not solved as we are still waiting for the kernel devs to answer/fix this.

                  Your resizing taking an hour and failing might be another issue though. Somehow to me this sounds like the VHD is screwed. Maybe create a new one - same partition table and formatting but only put in a couple of files for testing - and see if you still get the same errors. I doubt it.

                  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

                  RobTitian16R 1 Reply Last reply Reply Quote 0
                  • RobTitian16R
                    RobTitian16 @Sebastian Roth
                    last edited by

                    @Sebastian-Roth I created a new virtual machine with a copy of the VHD that was faulty and now it’s back to ‘resizing file system’ for over an hour and a half.
                    I’m currently running a chkdsk /b on the original version of the VHD in the hopes that will fix it. I’ll try the upload again afterwards, otherwise it looks like I’ll have to rebuild the image.

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

                      @RobTitian16 What’s the kernel version you’re running?

                      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

                      RobTitian16R 2 Replies Last reply Reply Quote 0
                      • RobTitian16R
                        RobTitian16 @Tom Elliott
                        last edited by

                        @Tom-Elliott Ubuntu 14.04

                        1 Reply Last reply Reply Quote 0
                        • RobTitian16R
                          RobTitian16 @Tom Elliott
                          last edited by

                          @Tom-Elliott After trying to upload this on a new VHD, I get the following error:

                          0_1471939579473_Capture.PNG

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

                            @RobTitian16 Did you run a chkdsk before trying this? If not, try this.

                            RobTitian16R 1 Reply Last reply Reply Quote 0
                            • RobTitian16R
                              RobTitian16 @Quazz
                              last edited by

                              @Quazz Unfortunately I can’t run chkdsk /f after the upload attempt - it seems to really screw up the VHD to the extent that it is no longer bootable. I’m going to try from a real hard drive and see if that makes any difference.

                              The last message I received with a brand new VM and VHD was:

                              0_1471965070398_Capture.PNG

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @RobTitian16
                                last edited by

                                @RobTitian16 I can’t find the thread where it’s said, but,

                                Someone recently discovered that a certain type of virtual disk cannot be used for capturing images from - because of how it dynamically expands/shrinks the disk based on used space - it totally messes up partclone and fog capturing.

                                Maybe one of the @Developers @Moderators @Testers remember this thread?

                                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/

                                RobTitian16R Q 2 Replies Last reply Reply Quote 0
                                • RobTitian16R
                                  RobTitian16 @Wayne Workman
                                  last edited by

                                  @Wayne-Workman Hmm, that’s interesting… although I’m certain my hard disks aren’t set to dyanmically expand/shrink.
                                  I worked around this by using a physical hard drive.

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

                                    @Wayne-Workman Not sure, dynmically sized hard drives can cause all kinds of issues though, one of them being that you only get the space used when your image is deployed and you’re unable to expand it in Windows.

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

                                    193

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project