FOG Imaging Not Saving
-
Trying to create and upload a new image but it keeps failing.
There are no space issues with the drive. There’s a half a terabyte free.
-
Is that a Windows 10 image you are trying to save?
-
What version of fog is this?
Looking at the kernel variables, I would think that web= needs http:// before the IP address.Edit not the problem.Is this a new FOG setup?
-
@jgallo Yes
-
@george1421 No existing FOG server already established. My first crack at making an image.
-
@dpotesta50 I’m going to guess you have an issue with that physical disk.
If you look at the very top line it says that partclone failed. The error about disk space is erroneous since, partclone did not return anything usable to fog. The fog program “guessed” at the most likely cause of partclone failing (disk space issues). -
@george1421 Thats confusing to me because there’s half a terabyte available on that drive.
-
@dpotesta50 Its the other way around, its the target computer disk that is in question.
One way to find out is to schedule a debug capture. Just click on the debug check box when you go to schedule the capture. When you do that pxe boot the target computer after a few presses of the enter key you will be dropped to a linux prompt on the target computer. Then just key in
fog
and it will single step you through the capture. When you get to the error, watch what partclone says. Also right after the error, press ctrl-c where it will drop you back to the command prompt, then we can inspect the partclone.log (on the target). It should be in /var/log (on the target). -
Prior to uploading the image, in Windows 10, proper shutdown? Win 10 has that weird sleep boot and depending on which build it is you might have to disable it in the power options FYI. Also there is cmd option to use to properly shut it down prior to uploading the image.
-
@george1421 Sorry to the dumb question but is the target computer the device I’m imaging FROM or imagine TO (The FOG server)
-
@dpotesta50 To flip the question back at you, what computer were you on when this error was thrown. Its that device that has disk issues.
-
@jgallo I think if this was the case, partclone should complain right away the disk is dirty and can’t be cloned. I think the error above is generated after partclone actually starts copying the image. (but I’ve been wrong before…)
-
@george1421 That was the laptop I built the image on. It was at the end of the clone cycle.
-
@dpotesta50 Ok then setup a debug capture and watch partclone as it runs. If your fog server has enough space, partclone should print quickly on the screen what is wrong and then hit the ctrl c at the next debug pause and inspect the partclone logfile.
-
-
@dpotesta50 Keep going its a ways down yet. But now you can see each step fog is doing.
-
@george1421 Looking at log files.
There are a bunch, which one do I need to examine? -
@dpotesta50 If you look at your very first post it mentions /var/log/partclone.log. You can key in
tail /var/log/partclone.log
to view the last few lines of that log file. If you need a few more lines you can dotail -30 /var/log/partclone.log
to show the last 30 lines. -
@george1421 I will tell you a trick so you can remotely interact with FOS.
- Give root a password with this command
passwd
. Just give it an easy password likehello
. Do this from the FOS debug console. - Get the IP address of FOS target computer.
ip addr show
- Connect to FOS using Putty from a windows computer. Login with
root
andhello
as the password.
Now with putty you can cut and paste commands to the FOS engine. FOS runs in memory, so when you reboot FOS all settings or changes are gone. So this password reset is only temporary.
- Give root a password with this command
-
@george1421 Well…that log file is not there. I sorted the directory by name, no log file.