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

enroot import - Cannot write: no space left on device #187

Open
x41lakazam opened this issue Apr 11, 2024 · 3 comments
Open

enroot import - Cannot write: no space left on device #187

x41lakazam opened this issue Apr 11, 2024 · 3 comments

Comments

@x41lakazam
Copy link

When I try to run enroot import, I get plenty of "No space left" errors. However I got a lot of free storage.

Here is the trace (from vdi)

$sudo enroot import -o nccl-bisection-1.sqsh dockerd://<container_uri>

[INFO] Fetching image

f245d1d0aefaa279f91f008ae7b1a0e0ed4d2e5a944bd9d00a27a96384d41411

[INFO] Extracting image content...
tar: usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.7: Cannot write: No space left on device
tar: usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.7: Cannot write: No space left on device
tar: usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.7: Cannot write: No space left on device
tar: usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.7.0: Cannot write: No space left on device
...

It continues like this for hundreds of lines

Any suggestion ?

@flx42
Copy link
Member

flx42 commented Apr 11, 2024

Something is running out of space, it might be a tmpfs. How is enroot configured in /etc/enroot/enroot.conf?

@x41lakazam
Copy link
Author

I don't have control over /etc/enroot.conf but in the directory I run enroot in I have a local enroot.conf with the following lines:

ENROOT_RUNTIME_PATH        $PWD/runtime
ENROOT_CACHE_PATH          $PWD/cache
ENROOT_DATA_PATH           $PWD/data
ENROOT_TEMP_PATH           $PWD/tmp

I know there is space in this directory, is there something wrong with this configuration ?

@lucifer1004
Copy link

The current directory does not have enough space for the image being built.

After the build fails, the intermediate file is reclaimed so you will see there is still space left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants