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


  • 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.


  • @george1421 I finally got it working!

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

    Thanks again for your time 🙂


  • @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.

  • Moderator

    @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.

353
Online

9.6k
Users

16.0k
Topics

147.9k
Posts