Hello, I have a problem with the real disk space in my containers. This bug is present in LVM and raw images, on ZFS all work correctly.
LXC container have disk image size 100Gb but in the container:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop1 98G 1.1G 92G 2% /
none 492K 0 492K 0% /dev
tmpfs 126G 0 126G 0% /dev/shm
tmpfs 126G 8.2M 126G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 126G 0 126G 0% /sys/fs/cgroup
At first - 98G, not 100G... but this is not so critical how 92G available space ( 98 - 1.1 != 92 ) Where other disk space. I thought that the problem was on LVM-Thin, but on the clean ext4 partition and raw image this bug still present.
LXC container have disk image size 100Gb but in the container:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop1 98G 1.1G 92G 2% /
none 492K 0 492K 0% /dev
tmpfs 126G 0 126G 0% /dev/shm
tmpfs 126G 8.2M 126G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 126G 0 126G 0% /sys/fs/cgroup
At first - 98G, not 100G... but this is not so critical how 92G available space ( 98 - 1.1 != 92 ) Where other disk space. I thought that the problem was on LVM-Thin, but on the clean ext4 partition and raw image this bug still present.