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

    Problems Deploying Image FOG 1.4

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    15
    2.8k
    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
      last edited by

      Well on the plus side you are booting fine into FOS.

      It appears there is an issue with either the disk or FOS talking to the disk.

      What I want you to do is setup the deploy job again, but this time before you select the schedule task button select the checkbox that says debug. Then pxe boot the target computer. After a few enter key presses on the target computer FOS will drop you to a command prompt.

      Please post the output of these two commands.

      1. df -h
      2. lsblk

      These two commands will describe the disk according to how FOS sees the disk

      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
      • J
        jeffj
        last edited by

        here is the requested information
        0_1492542951747_20170418_141304.jpg

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @jeffj
          last edited by george1421

          @jeffj Well this is a little unexpected and expected at the same time.

          your disk /dev/sda doesn’t contain any partitions (like it was new out of box). I know there was some code changes around this condition to solve another problem.

          Do you know how to use fdisk to create a new partition? All we need is just one partition no matter what size.

          fdisk /dev/sda
          (now these key strokes are from memory which I don’t trust)
          n (new)
          p (primary)
          1 (partition)
          (enter for start block)
          (enter for end block)
          p (print disk structure)
          w (write)
          x (exit)
          Then run the lsblk command again, it should list a single partition.
          If that is good then key in
          fog and press enter at each break point to continue to image the machine.

          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
          • J
            jeffj
            last edited by

            when entering fdisk and selecting ‘n’ command it tells me all space for primary partition in use at the top of the first image it cut off the command but i used ‘p’ to print the partition tables the rest of what I did is in the picture.
            0_1492544194013_20170418_143054.jpg

            After running the ‘fog’ command it still fails with the same error I also rechecked the partitions using lsblk and it is how it was before the image deploy command.

            0_1492544359441_20170418_143156.jpg

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @jeffj
              last edited by

              @jeffj Well I think we are at a point in debugging where we need to ping the @Senior-Developers to see if they understand the issue.

              The only other thing is if your source image is some how incomplete. But instead of me guessing at it, lets let them take a look .

              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!

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @george1421
                last edited by george1421

                @george1421 I would just thinking there is one more bit of info they will ask for.

                On the fog server console, change to the images directory and the image name you are trying to deploy.

                In there run the following command cat d1.partitions and post the results here. That file describes what fog should push to the target computer.

                Silly question too, what this image captured as single disk resizable?

                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
                • J
                  jeffj
                  last edited by

                  0_1492545514771_20170418_145547.jpg

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @jeffj
                    last edited by

                    @jeffj one of the devs are traveling right now but hit me on IM.

                    He’s saying it appears the image was captured as single disk non-resizable and the destination disk is smaller than the size of the original disk where the image was captured from. Is this possible? Your target disk is 298.1GB in size.

                    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 1
                    • J
                      jeffj
                      last edited by

                      AH yeah it is a smaller drive than the original. I happen to have another one of those computers I can recreate an image using single disk resizable. If my memory serves me correctly I was having trouble getting it to create an image that way. I will update this when I run into problems.

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

                        Sorry I was driving. Yes your image was captured MPS (Multi-partition Single Disk non resizable).

                        The original disk was, what appears to me, 500GB disk, while the disk receiving this image and having the problem is 300GB (Maybe 320?)

                        Just taking the information thus far given.

                        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

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @Tom Elliott
                          last edited by george1421

                          @Tom-Elliott said in Problems Deploying Image FOG 1.4:

                          Sorry I was driving. Yes your image was captured MPS (Multi-partition Single Disk non resizable).

                          Ah that’s what Imgtype mps meant. I just though you hit turbulence and that’s what I got. 😉

                          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
                          • J
                            jeffj
                            last edited by jeffj

                            Okay when creating a new image that was resizable I receive the dirty filesystem 0,0 error.
                            rebooted the system and turned fast startup off.
                            After doing so I was able to create the image successfully.
                            Tried to deploy the newly created image on the smaller HDD and so far so good we are writing the image now.

                            Recap for marking the post solved.

                            Could not image HDD with known good image was getting a “No image file(s) found that would match the partition(s) to be restored (performRestore)”
                            Ran Debug mode to see what partitions were being created on the HDD.
                            Checked the partition table on the image on the server.
                            Noticed that the image was a MPS(Multiple Partition Single Disk) and HDD in host was smaller than the original used to create the image.
                            Disabled Fast booting on the host I need to re-create an image from.
                            Re-created an image using SDR (Single Disk Resizable).
                            Was then able to deploy the image to the host with the smaller HDD with no problems.

                            Tom ElliottT 1 Reply Last reply Reply Quote 3
                            • Tom ElliottT
                              Tom Elliott @jeffj
                              last edited by

                              @jeffj So it’s safe to solve the 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! 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

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                jeffj @Tom Elliott
                                last edited by

                                @Tom-Elliott yes

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

                                137

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project