FOG crashing during capture of image
-
I am running my FOG server off a physical PC and started capturing an image of a virtual windows 10 machine(1909) and after adding the host to the inventory and trying to capture it’s image, my whole PC will just freeze and I have to reboot it to get it back up. It always freezes right around the 50% mark of capturing the image. I’ve left it overnight and it didn’t finish to capture and was still frozen. This didn’t happen when I used a physical PC to capture an image as a test, only virtually.
The only idea I have is that the windows 10 virtual machine I made has been assigned 4 cpus vs the physical machine running it only having 1, so I wasn’t sure if this was an issue. This is on a wiregapped network so no internet access. Does anyone have any ideas? -
@tramirez said in FOG crashing during capture of image:
after adding the host to the inventory and trying to capture it’s image, my whole PC will just freeze and I have to reboot it to get it back up.
To figure out what’s actually causing the freeze you need to do some debugging. I would start by sending ICMP ping packets to the PC while it captures to see when it starts dropping the answers or if it keeps responding even if the clone process seems to freeze.
It always freezes right around the 50% mark of capturing the image.
Does freeze mean it stops updating the numbers while it’s going at full speed - so from one second to the other? Or is it more like slowing down over time and finally getting to a hold at some point?
This didn’t happen when I used a physical PC to capture an image as a test, only virtually.
It’s very likely caused by the PC you use for capturing. Might be that particular PC or maybe the model itself (maybe the network card or disk used). Do you have any other PC you can try capturing? Best if it’s a different make and model. I suggest you set your image type to non-resizable for these tests so there is no worry about breaking anything in those PCs you capture from. If you use resizable image type the partition layout and filesystem will stay shrunk after a freeze and reboot.
The only idea I have is that the windows 10 virtual machine I made has been assigned 4 cpus vs the physical machine running it only having 1, so I wasn’t sure if this was an issue.
Don’t think this is a problem. The Linux we use for doing all the capture and deploy work is a pretty slim system. Although I have not tried in a long time I am pretty sure you can even run it on 15 year old hardware.
-
@sebastian-roth
Ping results showed it would drop completely once the PC froze. And by froze I mean it would completely freeze all of the sudden, not gradually. I ended up checked the RAM, and it turns out one of the sticks was bad so instead of a total of 16gb I had 12gb. I had my Fog server with 4gb of ram and the Windows VM 8gb, so no memory left for the actual PC running it all. Just lowered RAM on windows vm to 4gb and it’s all fine. I can now continue with my testing!!
Anyways, thanks for the reply, love seeing how helpful the FOG mods are!