Does FOG check free disk space before starting capture?
-
I currently have a single server running FOG.
If I capture a new image, will the FOG client (the one loaded via PXE) check the free disk space on the FOG server before starting the upload?
Or will it try to upload data until the disk runs out of space?I am asking because I want to implement a safeguard against running out of disk space unexpectedly.
-
@abulhol FOG doesn’t check the free disk space before capturing an image. We consider this something the admin needs to take care of. As well we can’t be really sure how much space a new image would actually take.
-
@abulhol Thanks to @rodluz the new FOS inits will check server disk space: https://github.com/FOGProject/fos/pull/67
-
@Sebastian-Roth That’s nice - but as far as I understand, it still doesn’t protect against the new image needing 10GB, but there are only 9GB left.
Right? -
@abulhol said in Does FOG check free disk space before starting capture?:
That’s nice - but as far as I understand, it still doesn’t protect against the new image needing 10GB, but there are only 9GB left.
Right?Yes, right, it doesn’t protect from that. We discussed different “solutions” and thought we should better keep it simple. If you are keen you can still jump in and add a more thorough check - estimating how much size the new image will need. While it is possible to do it’s not that easy because images are being compressed and other variables can vary as well.