Comments (4)
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.
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.
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.
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)
- Breach of Github T&Cs? HOT 2
- free: command not found HOT 2
- Potentially to revert actions HOT 3
- Mine got minimized hahaha HOT 2
- Git checkout fails after cleanup HOT 1
- fallocate: invalid length value specified HOT 3
- Use btrfs with compress to further reduce storage consumption HOT 6
- Collect time passed to free up space based on the selected combination
- are LVM operations required HOT 2
- Mount point of LVM Volume is to specific HOT 2
- More possible Cleanup targets HOT 2
- Mount path permissions HOT 6
- fallocate command fails with 'invalid length value specified' using default swap size HOT 5
- Failing to create LVM Volumes (due to Github Runner changes) HOT 7
- is this still working?
- support docker build workflows HOT 6
- [Suggestion] Use zram as main swap while swap ram as backup HOT 1
- GitHub runners changes causes the root reserve argument to be non-functional HOT 2
- Support only "removal of unnecessary software" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maximize-build-space.