Failing to UPLOAD image to the FOG server



  • Hi All
    I have installed Fog 1.2.0 on Ubuntu 14.04
    Initially this all worked and a test image was uploaded from a client to the Fog server.
    The it started to fail… so
    I installed another hard disk into the Ubuntu machine and it is formatted as a Linux disk and partitioned correctly.
    It is mounted correctly.
    the mntcheck files are in the /images and permissions set.

    The issue is when I run a task (in debug mode) off Fog Management.
    The script runs until it tries to go to the images ‘share’ on the Ubuntu.
    It still thinks that it has to go to /dev/sda when in fact it should be going to /dev/sdb
    and there it hangs/freezes until I press return and the task has failed.

    0_1464949626013_DSC_0336[1].JPG

    Any ideas/inputs?

    Steve



  • @Wayne-Workman said in Failing to UPLOAD image to the FOG server:

    @SteveB689 probably something along the lines of fixparts /dev/sda and then :w and :q but I could be remembering wrong. If your intention is to create documentation, just say run fixparts /dev/sda and follow on-screen instructions.

    No probs… that’s what I typed ,…
    this can be marked as SOLVED
    :-)


  • Moderator

    @SteveB689 probably something along the lines of fixparts /dev/sda and then :w and :q but I could be remembering wrong. If your intention is to create documentation, just say run fixparts /dev/sda and follow on-screen instructions.



  • Cheers!
    I did see the other thread about this…
    Did exactly…
    Upload as a debug task

    fixparts
    write the MBR records…
    now,
    I had to guess as I am missing part of the screen in the lab setup… but it is working and now uploading an image… but to where I don’t know yet.

    Has anyone the exact syntax of the commands for fixparts… sorry guys but I cannot remember what I typed in now even though its just 15 minutes ago.?

    It doesnt help having a dodgy vga monitor.


  • Senior Developer

    When fog does this, it’s usually because the disk has GPT structures left over from when you changed your image around.

    Cancel this task.

    Create a new task, but as debug (Host->Basic Tasks->Advanced->Upload - debug.

    When you’re at the terminal prompt run: fixparts /dev/sda and confirm and write the changes. Then run the command fog. Step through the debug outputs and magic will begin happening shortly.


Log in to reply
 

412
Online

39180
Users

10828
Topics

103048
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.