Hi, I have a container (type -vm
). When I push a big file (9.2GB) into it I get this error:
Error: sftp: "write /home/user/Downloads/xyz.tar.bz2: no space left on device" (SSH_FX_FAILURE)
The storage driver is zfs and there is plenty of space on the host. I thought it managed space in the container automatically? It fails at 18% of file transferred. Makes no difference if I shift it onto a profile with root size 20gb like this…
lxc profile copy default space-is-20gb
lxc profile device set space-is-20gb root size 20GB
lxc profile assign <container> space-is-20gb
lxc restart <container>
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.2G 2.5M 3.2G 1% /run
/dev/nvme0n1p2 938G 45G 846G 6% /
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/nvme0n1p1 511M 5.3M 506M 2% /boot/efi
tmpfs 3.2G 76K 3.2G 1% /run/user/127
tmpfs 1.0M 0 1.0M 0% /var/snap/lxd/common/ns
tmpfs 3.2G 76K 3.2G 1% /run/user/1000
$
$ lxc exec <container> -- df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 97M 4.4M 93M 5% /run
/dev/sda2 3.8G 3.7G 0 100% /
tmpfs 484M 0 484M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 50M 11M 40M 22% /run/lxd_agent
/dev/sda1 99M 3.2M 96M 4% /boot/efi
$
$ lxc --version
5.3
$
Any help much appreciated