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

Capturing image: "Maybe check the fog server to ensure disk space is good to go?"

Scheduled Pinned Locked Moved
Linux Problems
2
4
470
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.
  • X
    xKyzor
    last edited by xKyzor Jun 2, 2022, 8:01 AM Jun 2, 2022, 1:51 PM

    Hi,

    I am using FOG 1.5.5.

    I am trying to capture an image of my machine. Everything goes well until the Partclone phase.
    This appears:

    Failed to complete capture (savePartition)
      Args passed: /dev/sda2 1 /images/847beb0a0f0e all
        Exit code: 1
        Maybe check the fog server
          to ensure disk space is good to go?
    ...
    

    See the result of df -h below:

    Filesystem                       Size  Used Avail Use% Mounted on
    udev                             7.8G     0  7.8G   0% /dev
    tmpfs                            1.6G  2.5M  1.6G   1% /run
    /dev/mapper/joesandbox--vg-root  1.8T   14G  1.7T   1% /
    tmpfs                            7.8G     0  7.8G   0% /dev/shm
    tmpfs                            5.0M     0  5.0M   0% /run/lock
    tmpfs                            7.8G     0  7.8G   0% /sys/fs/cgroup
    /dev/sda2                        705M  497M  158M  76% /boot
    /dev/sda1                        511M  4.4M  507M   1% /boot/efi
    tmpfs                            1.6G  4.0K  1.6G   1% /run/user/1000
    

    How can I resolve this?
    Thanks.

    G 1 Reply Last reply Jun 2, 2022, 3:28 PM Reply Quote 0
    • G
      george1421 Moderator @xKyzor
      last edited by Jun 2, 2022, 3:28 PM

      @xkyzor Well first thing is that I hvae to say FOG 1.5.5 is somewhat old so that may be the root of the problem. The error message on the screen is kind of a catch all for a number of issues. The true error is on the blue partclone screen.

      What I want you to do is this for FOG 1.5.5, schedule a new image capture (cancel the current task if it still exists), but before you hit the schedule task button, tick the debug checkbox. Now schedule the job. PXE boot the target computer, pressing enter to clear the few screens of text. You will be dropped to the FOS Linux command prompt on the target computer.

      Before you start debugging key in this command to show the found local disk drives lsblk post the results here.

      Now to start the debugging of this, I’m going to have you single step through the image deployment. You will need to press enter at each breakpoint in the imaging process to go to the next step. This should give you the chance to read the error message on the partclone screen. If it doesn’t it will give us the ability to look at the partclone.log file in /var/log on the target computer.

      So to start imaging from the FOS Linux command prompt key in fog and press enter. This will start the process. Please report the error that is presented on the blue partclone screen.

      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!

      X 2 Replies Last reply Jun 8, 2022, 6:51 AM Reply Quote 0
      • X
        xKyzor @george1421
        last edited by xKyzor Jun 8, 2022, 12:52 AM Jun 8, 2022, 6:51 AM

        @george1421 Thanks for your reply!

        Found below the result of lsblk on the machine I want to capture before running the fog key:

        NAME   MAJ:MIN RM SIZE   RO TYPE MOUNTPOINT
        sda      8:0   0  456.8G 0  disk
        |-sda1   8:1   0  260M   0  part
        |-sda2   8:2   0  465.5G 0  part
        

        Also, here is what I got on the blue partclone screen when running a capture in debug mode:

        extfsclone.c: bitmap free count, partclone get free: 119340086 but extfs get 119340700
        

        followed by the first error message I already sent on my first post.

        Could it be that there is not enough space where fog wants to store the image?

        Thanks for your help.

        1 Reply Last reply Reply Quote 0
        • X
          xKyzor @george1421
          last edited by xKyzor Jun 8, 2022, 1:22 AM Jun 8, 2022, 7:14 AM

          @george1421 I finally got it working!

          I ran fsck.ext4 /dev/sda2 and it fixed the partition layout.

          Thanks again for your time 🙂

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

          162

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project