Buildarmimg ran out of disk space

Hi all,

I’m very close to having a Manjaro Arm image built for a new carrier board and compute module combination but I’m hitting the below issue. I have hundreds of GB left so I presume this is an issue in the buildarmimg tool rather than my system. Can someone please advise how to change this artificial limit please? It’s literally my last hurdle. Thanks.

Note:

  • There is NO tmpfs use on my build machine (Intel laptop) for /var/lib/…
  • There are GB free on this folder
  • I’m presuming it’s an issue within the VM being created for building the image.
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/lib/tdbcodbc1.1.3': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/lib/tdbcpostgres1.1.3': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/lib/thread2.8.7': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/lib/p7zip': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/lib/xorg': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/lib/modules': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/lib/crda': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/lib/firmware': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/usr/local': No space left on device
cp: cannot create directory '/var/lib/manjaro-arm-tools/tmp/root/var': No space left on device
  -> Flashing bootloader...
  -> Writing PARTUUIDs...
Boot PARTUUID is 9903960e-e82d-42c0-b71f-255e62e7c84f...
Root PARTUUID is 1bc94e3a-3006-4eb9-814e-7a5c86ae4600...
  -> Cleaning up image...
  -> Compressing Manjaro-ARM-xfce-soquartz-super6c-22.08.img...
Manjaro-ARM-xfce-soquartz-super6c-22.08.img (1/1)
  100 %     690.2 MiB / 4,261.0 MiB = 0.162    30 MiB/s       2:21             
  -> Removing rootfs_aarch64
==> Time : 12.37 minutes...

I should really get around to making a new release tag of the tools. :wink: Thanks for reminding me.

Regarding the issue, I believe that if you change the file /usr/share/manjaro-arm-tools/lib/functions.sh, in the create_img() function, to using EXTRA_SIZE=1200 it should work. It probably says 600 or 800 now.

1 Like

Yeah that seems to have solved it thanks. It was 800, now 1200, and it works fine.

Just flashing the image now to see if it works. (But that’s an entirely different thread!) Cheers!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.