An Error detected, fails capture
-
Hello everyon
FOG Server is running on an Ubuntu 22.04 serverā¦
I have an Ubuntu VM I want to capture. (Not too long ago I did this using proxmox on an identical VM that also used a dynamic disk and it worked splendidly). I am now using hyper-V and have a VM of Ubuntu 22.04. Itās an EFI bios and nothing else special or out of the ordinary, just a vanilla Ubuntu, 8 GB RAM and a vhdx hard drive. Itās currently 18.6 GB in size with a 50GB ceiling.
If I try and create a āSingle Disk - resizeableā it will fail the attempt at capturing on VSphere (It worked when using ProxMox).
If I use Multiple Partition image - Single Disk (Not Resizable), it works.
When the capture fails, this is the error:
Anyone have any ideas? or is there something I missed somewhere?
ANY help would be greatly appreciated! -
@adam1972 With the task in debug now, that youāve done the e2fsck:
Now runfog
from the blue prompt and it should run though the normal process just pausing as it goes along. -
@adam1972 have you tried running this capture in debug mode and attempt the
e2fsck -f /dev/sda2
as suggested? -
This post is deleted! -
@Tom-Elliott @adam1972 Thank you so much for getting back to meā¦
the efsck shows cleanā¦
Debug mode? This is what I seeā¦ I used the FOG menu item.
Should I be using a different option?
-
@adam1972 that is the debug shell, you can try the efsck command in debug mode then use the command āfogā to step through the capture process
-
Hello eveyone
Anyone have any idea or suggestions?
I would prefer to have it shrunken than the full size if possible -
@JJ-Fullmer Thank you for trying to help
If you notice the third image -->
I did, The blue colored prompt at the bottom of the image was the only thing that would happen after i had chopsen the āfogā option.I also did the efsck before hand (1st image)ā>
-
@adam1972 you should run the e2fsck command FROM the blue window
and you should reschedule your task, but with the debug option.
-
@Tom-Elliott What do you mean from the āBlue Windowā? I ran it from an external usb as /dev/sda2 is mounted with system files (and it was the only way I could find to do it with many many online searches).
I did reschedule the tak, I created one specifically with the debug -->
That is what i gotā¦ i chose the Fog option and it gave me a āVariable dumpā from FOGā¦ It states "Press [Enter] key to continueā¦ which I did and all I get is a blue promptā¦
-
@Tom-Elliott You mean like this?
This is the debug captureā¦ with the FOG option selectedā¦ -
@adam1972 With the task in debug now, that youāve done the e2fsck:
Now runfog
from the blue prompt and it should run though the normal process just pausing as it goes along. -
@Tom-Elliott I did it before your responseā¦ I saw it was the same results as I had done through root using an external boot deviceā¦ Oddly though, once it completed I restarted the job normally and it actually COMPLETED!!! THANK YOU SO MUCH!!!
-
@adam1972 So when youāre in a debug mode, or in a fog task in general, youāre booted into FOS (Fog Operating System) which is the same idea as booting from an external disc/drive. The idea being youāre not mounting and booting from your disks that you are capturing/deploying from/to. So after the efsck came back as clean from where FOS could see, it makes sense that it would work as expected right after.
This probably wonāt happen every time you capture, if it does then thereās something youāre doing in preparing the image that is causing the dirty bit to be flagged on the disk, there is likely a way around that, I donāt know off the top of my head for Linux what that might be. But we can figure it out if the problem recurs. -
-
@JJ-Fullmer Good to know, thank you so much