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

    Not capturing image

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    26
    5.3k
    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.
    • george1421G
      george1421 Moderator @quinniedid
      last edited by

      @quinniedid I agree based on the very first error spewed by partclone (no space left on device).

      @OP From the fog server console please key in the following command and posts the results df -h

      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!

      1 Reply Last reply Reply Quote 0
      • D
        Dee @quinniedid
        last edited by

        @quinniedid yes I do see that. When I look closely it says "failed to complete capture (savePartition) Args Passed: /dev/sda 7 1 /images/f48e38d9d9cd all. Exit code 141. I looked at the server and it appears that /dev/mapper/libraryfog --vg-home is out of space. Not sure what to do now.0_1542057540701_IMG_0501.JPG The highlighted line. Can I save my new images somewhere else since I don’t know what I can safely delete?

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

          @Dee Yeah, from the pictures you posted I see that your images reside in /home/images/... and as it seems full you are running into that issue.

          First you wanna make sure to clean up images that have only been uploaded half way. Run ls -al /home/images/dev/ 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
            Dee @quinniedid
            last edited by

            @quinniedid 0_1542124284934_IMG_0511.JPG

            D 1 Reply Last reply Reply Quote 0
            • Q
              quinniedid
              last edited by

              @Dee Please run the commands that @Sebastian-Roth recommended. Also, please login to the web portal of FOG and taking a screen capture of all of your images so we can compare and see what we can remove to free up space.

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

                @Sebastian-Roth 0_1542124344517_IMG_0512.JPG

                Looks like there are 12 part images but only 2 showing?

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

                  @Dee Some images were deleted from /home/images and I’m wondering if the system is looking for sda7 as in the image_0496 and sda7 doesn’t seem to exist.

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

                    @Dee I’d suggest removing those half way uploaded images: rm -rf /home/images/dev/f48e38d9d9cd /home/images/dev/f48e38dc5f88 (be careful with this rm -rf command, I am not accountable for anything going wrong with deleting files from your server)

                    Then again check free disk space df -h, probably we’ll need to delete real images as well.

                    I’m wondering if the system is looking for sda7 as in the image_0496 and sda7 doesn’t seem to exist.

                    This is on the client being imaged. Just means your client has seven or possibly more partitions. Or maybe it’s just one primary (sda1) and three extended ones (sda5, sda6, sda7).

                    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 1
                    • D
                      Dee @Sebastian Roth
                      last edited by

                      @Sebastian-Roth 0_1542204055439_removed.JPG
                      I ran the command and it freed up a small amount of space. Now instead of 475 GB it’s 450GB. Then I removed some images that are no longer used via the web client and no decrease in size which surprised me.

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

                        @Dee You removed from the GUI or from the physical machine?

                        If you remove an image definition from the GUI, it doesn’t remove the actual image data automatically. (Imagine if it did and you didn’t intend to lose the actual data the makes the image?)

                        You would need to go into the FOG Server and physically delete the files you no longer need. This is intentional.

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

                          @Dee said:

                          Then I removed some images that are no longer used via the web client and no decrease in size which surprised me.

                          So you can now delete those images via command line: rm -rf /home/images/IMAGENAME (just put in the name of the image(s) removed in the web UI - again, be careful with this rm -rf command, I am not accountable for anything going wrong with deleting files from your server)

                          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
                            Dee @quinniedid
                            last edited by

                            @quinniedid 0_1542217823881_screen shot of all images.pdf

                            1 Reply Last reply Reply Quote 0
                            • Q
                              quinniedid
                              last edited by

                              @Dee Remove the images that are no longer showing associated in the UI. When creating the images you have to specify the name of the image folder containing the image files. I would go to your image directory and remove images that are not associated. Just follow what Sebastian recommended.

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

                                @Sebastian-Roth 0_1542305872599_more removed.JPG
                                Removed more and it freed up some more space.

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

                                  @Dee That’s looking better now. Give it a try capturing a new image again now. Possibly 75 GB free space should be enough - depending on how much data you have on the PC you want to capture.

                                  Please let us know if your initial capture issue is solved now.

                                  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
                                  • Q
                                    quinniedid
                                    last edited by

                                    @Dee If hard disk space is a concern I would highly recommend enabling compression on the image setup page. We have ours maxed out to 22. It takes more time to capture the image but it is huge savings for us.

                                    Here is an example: 0_1542307244815_image.PNG

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

                                      @Sebastian-Roth Capturing is solved!!! Yeah you guys are the best!

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        Dee @quinniedid
                                        last edited by

                                        @quinniedid Thanks for your help. You guys are the best!

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

                                        246

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project