Giter Site home page Giter Site logo

Comments (4)

ljmf00-wekaio avatar ljmf00-wekaio commented on July 16, 2024 1

I'm getting this too: fallocate: invalid length value specified.

What I think @michabp is suggesting is: check if /mnt mountpoint really exists and do the calculations accordingly, otherwise its inconsistent for both configurations.
If we reserve space on /mnt and / but /mnt doesn't really exist, the reserve total space should be merged, so that it doesn't underflow/overflow on our situation, which is exactly what is happening right now.

It used to be 20% of the runners but now its almost all runners, from my experience.

from maximize-build-space.

easimon avatar easimon commented on July 16, 2024

Please see #39 (comment)

Can this be an explanation for what you see?

The tmpfs you mentioned is not the temp partition, but a ramdisk, mounted to /tmp. The temp disk should be mounted at /mnt.

from maximize-build-space.

michabp avatar michabp commented on July 16, 2024

Thank you!

Yes, that's probably it. However, I'm confused on what the fix is. Whatever I specify in temp-reserve-mb will end up getting added to /dev/root.
But if try to make temp-reserve-mb very large (4096) it'll throw fallocate: invalid length value specified.

from maximize-build-space.

easimon avatar easimon commented on July 16, 2024

What are you trying to achieve? The action combines all free space on / and /mnt into an lvm volume, which is then mounted as the workspace directory. The workspace is the place where most build jobs require the most space.

The reserve parameters are to control how much space is not consumed by the lvm volume, so you can still add files outside the workspace... E.g. to download docker images, install further packages via apt-get etc.

By increasing the reserve, you decrease the amount available in the workspace folder.

The temp reserve is something you should seldomly need to adjust, since by default nothing (I know of) writes to /mnt.

from maximize-build-space.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.