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

No space left on device #301

Open
flinxtm opened this issue Mar 30, 2021 · 2 comments
Open

No space left on device #301

flinxtm opened this issue Mar 30, 2021 · 2 comments

Comments

@flinxtm
Copy link

flinxtm commented Mar 30, 2021

sudo env DEVICE=rpi-3-b OS=raspbian-buster-armhf ENABLE_MENDER=true MENDER_DATA_SIZE=512 ./pieman.sh
...
...
...
cp: error writing 'build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/mount_point/boot/zImage': No space left on device
Info: unmounting build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/mount_point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/proc is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/sys is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/dev/pts is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/dev is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/tmp is not a mount point
++ rm -f /tmp/firstboot-ed44955b-c6fa-414e-b2d2-a50dcf48fc22.sh
++ rm -f /tmp/atomatically-generated-keyring-for-ed44955b-c6fa-414e-b2d2-a50dcf48fc22.gpg
++ check_if_variable_is_set LOOP_DEV
++ var_name=LOOP_DEV
++ '[' -z x ']'
++ true
++ losetup -d /dev/loop5
++ remove_temporary_dirs
++ local target=build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22
++ false
++ rm -rf build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22
++ set +x

Same with Docker

@eugulixes
Copy link
Contributor

Thank you for reporting about the problem. I reproduced and got to the root of it. The problem is that the size of the image is calculated before copying the Mender-related assets to the image, so there's no space for them. I'll try to fix the issue asap.

@njskalski
Copy link

I got the same today :(

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