No space left on device

I’m encountering with below error when hit distrobuilder pack-lxd --vm ./ubuntu.yaml ./rootfs:
rsync: [receiver] write failed on No space left on device (28) rsync error: error in file IO (code 11) at receiver.c(378) [receiver=3.2.3] rsync: [sender] write error: Broken pipe (32) Error: Failed to copy rootfs: Failed to copy "/var/cache/distrobuilder.1376720849/overlay/" to "/var/cache/distrobuilder.1376720849/vm": exit status 11

I have enough disk space 7TeraBytes.

I searched and somebody said that i must use --inplace in rsync to solve this problem.

Any thoughts @monstermunchkin ?

Could be an issue with the snap package being on the / partition?

@alizowghi probably you need override the TMPDIR to a local path with more space.

Something like this:

$> mkdir ./tmp
$> TMPDIR=./tmp distrobuilder -xxx

The error changed:
rsync: [generator] chown "/home/ubuntu/tmp/vm/boot/efi" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3]

Try to run the build with root user.

:frowning: The same