obuilder icon indicating copy to clipboard operation
obuilder copied to clipboard

No space left results in process hanging

Open patricoferris opened this issue 2 years ago • 0 comments

I've been using OBuilder with the runc and zfs backends and have bumped into this a few times. If ZFS runs out of space on the device whilst running some runc build step it seems to hang for me. If this happens during other parts of the build then as you would expect the error bubbles up to the top. For me, this reproduces the error:

truncate --size 2G zfs.img
sudo zpool create obuilder-test $PWD/zfs.img
dune exec -- ./main.exe build -f example.spec . --store=zfs:obuilder-test --verbosity=debug

It happens during the opam update and seems to just hang. If you ctrl+c the process and try again, it will tell you there's no space left on the device. I could also be doing something completely wrong too!

patricoferris avatar Jul 14 '23 09:07 patricoferris