Out of Disk space Fog Capture Error
-
Hello everyone! After running disk cleanup and removing old windows updates from my Latitude 7440, I get a error in fog when I try to recapture that device. It goes through the resizing file system part and then errors out saying it ran out of disk space. We have plenty of room on the storage node that FOG is using to capture to. Is there any suggestions on what to do? I’ve never had this problem until I ran disk cleanup in windows.
-
@djslimd1k I have heard about this error before. The cleanup wizard doesn’t compact the data and leaves a lot of non-contiguous space on the disk.
See if the solution here solves this: https://forums.fogproject.org/post/122841
-
@george1421 Hey George! I tried running those CMD commands and then try to recapture that image. I got the same error and a different error this time.
-
@djslimd1k If you are running 1.5.9 I want you to switch over to the pre 1.5.10 channel then resinstall FOG.
Switch to where you cloned the git repository. Maybe in /root/fogproject. Switch to the dev branch, do a git pull to update the installer files and then finally reinstall FOG.
git checkout dev-branch git pull cd bin ./installfog.sh
When 1.5.10 is relesed you will need to switch your installer back to the master branch with.
git checkout master git pull cd bin ./installfog.sh
There was some fixes created for that unmovable 4th partition. The issue is that MS added the recovery partition at the end of the disk which keeps the C drive from expanding properly. If you want to do this without switching to the dev branch, just delete the recovery partition (partition 4)on the golden image. Then everything will image correctly.
-
@george1421 Alright. I’m currently running 1.5.9.87 on my server and two storage nodes. I’ll update to the latest version and try again. Should have an update in the next hour or two.
-
@george1421 I got Fog updated to 1.5.9.91 and I’m still getting an error on the system. I’ve already ran the disk check and such from the previous post you sent to me. Any suggestions?
-
@DJslimD1k Try this: Go to the FOG web UI -> FOG Configuration -> FOG Settings -> General Settings and increase the value for CAPTURERESIZEPCT from 5 (default) to maybe 8 or 10. Then capture again.
-
@sebastian-roth said in Out of Disk space Fog Capture Error:
CAPTURERESIZEPCT from 5 (default) to maybe 8 or 10
?? What bit of magic does this setting solve ??
-
@george1421 It’s used to calculate how much space to leave when shrinking a filesystem (in percent). Maybe it does not help but it’s worth a try.
-
@sebastian-roth I tried changing the value to both 8 and 10, and I’m still getting a similar error when it tries to capture.
-
@djslimd1k said in Out of Disk space Fog Capture Error:
… and I’m still getting a similar error when it tries to capture.
What exactly do you mean by “similar”. Please post a picture.
-
-
@DJslimD1k Well at least the error message changed. As it tells us
No space left on device
I suggest you try setting CAPTURERESIZEPCT to 15 or even 20. Just to see if capture works this way.Other than that you might want to tell Windows to defrag the partition.
-
@sebastian-roth Moving it to 12 did the trick! Is there anything else I should change or do? Thank you guys for the help!