I have a lxc container named:
It has 1.1 TB of storage allocated and out of that 708GB is consumed.
df -h output when run inside the container:
Filesystem Size Used Avail Use% Mounted on /dev/loop25 1.1T 708G 331G 69% / none 492K 4.0K 488K 1% /dev udev 63G 0 63G 0% /dev/fuse tmpfs 100K 0 100K 0% /dev/lxd /dev/nvme0n1p2 1.9T 1.4T 391G 79% /dev/nvidia2 tmpfs 100K 0 100K 0% /dev/.lxd-mounts tmpfs 63G 0 63G 0% /dev/shm tmpfs 13G 220K 13G 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 63G 0 63G 0% /sys/fs/cgroup tmpfs 6.4G 0 6.4G 0% /run/user/1001
As you can see there is 300+ GB available.
But for some reason when I copy a small file (500MB size) from a directory to new dir inside container, I get the error:
No space left on device
This is happening when I create or download a simple 100MB file as well.
Not sure what’s the issue as the storage is there in the container as well on the server.
Please find below some additional information on the volume:
lxc storage info vol-ce9e2a76 info: description: "" driver: btrfs name: vol-ce9e2a76 space used: 707.75GiB total space: 1.01TiB used by: instances: - lxc-ce9e2a76 profiles: - pro-ce9e2a76
lxc storage show vol-ce9e2a76 config: size: 250GB source: /var/snap/lxd/common/lxd/disks/vol-ce9e2a76.img description: "" name: vol-ce9e2a76 driver: btrfs used_by: - /1.0/instances/lxc-ce9e2a76 - /1.0/profiles/pro-ce9e2a76 status: Created locations: - none
Looking forward to getting this resolved quickly. Thanks.