Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Default size for the LXC disk is no longer enough #15574

Closed
hebasto opened this issue Mar 10, 2019 · 4 comments
Closed

build: Default size for the LXC disk is no longer enough #15574

hebasto opened this issue Mar 10, 2019 · 4 comments

Comments

@hebasto
Copy link
Member

hebasto commented Mar 10, 2019

My favorite configuration for gitian building is Linux Mint 19.1 (based on Ubuntu 18.04) with LXC 3.0.3.

Faced disk space issues. This gitian-builder patch works well:

diff --git a/bin/make-base-vm b/bin/make-base-vm
index 916c11f..152f8bc 100755
--- a/bin/make-base-vm
+++ b/bin/make-base-vm
@@ -264,7 +264,7 @@ if [ $LXC = "1" ]; then
       fi
     fi
   fi
-  dd if=/dev/zero of=$OUT-lxc bs=1M count=1 seek=10240
+  dd if=/dev/zero of=$OUT-lxc bs=1M count=1 seek=15360
   /sbin/mkfs.ext4 -F $OUT-lxc
   t=`mktemp -d gitian.XXXXXXXX`
   sudo mount $OUT-lxc $t

Refs:

@laanwj
Copy link
Member

laanwj commented Mar 11, 2019

Tested ACK (well, I tested wih 12240 so this size should certainly be enough)

Edit: Eh, why didn't you open this PR on the gitian repository, there's nothing we can do with this here

@luke-jr
Copy link
Member

luke-jr commented Mar 11, 2019

Eh? make-base-vm doesn't work with bionic at all though...

@hebasto
Copy link
Member Author

hebasto commented Mar 15, 2019

@laanwj

Eh, why didn't you open this PR on the gitian repository, there's nothing we can do with this her

I cannot reproduce the issue reliably.
Is it ok to increase LXC disk just for safety?

@hebasto
Copy link
Member Author

hebasto commented Mar 19, 2019

devrandom/gitian-builder#212 has been merged now.

@hebasto hebasto closed this as completed Mar 19, 2019
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants