LXC: Services restart says "No Space Left On Device"

SPQRInc

Member
Jul 27, 2015
57
1
6
Hello,

If I want to restart any service on any LXC-container on my proxmox-node, I'm getting the error:

Code:
[FONT=Menlo]No space left on device[/FONT]

This is the df -h and df -i output of the container:


Code:
[FONT=Menlo]/dev/loop3      394G    3,8G  370G    2% /[/FONT]
[FONT=Menlo]none            100K       0  100K    0% /dev[/FONT]
[FONT=Menlo]cgroup           12K       0   12K    0% /sys/fs/cgroup[/FONT]
[FONT=Menlo]tmpfs            63G       0   63G    0% /sys/fs/cgroup/cgmanager[/FONT]
[FONT=Menlo]tmpfs            63G       0   63G    0% /dev/shm[/FONT]
[FONT=Menlo]tmpfs            63G    9,3M   63G    1% /run[/FONT]
[FONT=Menlo]tmpfs           5,0M     12K  5,0M    1% /run/lock[/FONT]
[FONT=Menlo]tmpfs            63G       0   63G    0% /tmp[/FONT]
[FONT=Menlo]none             63G       0   63G    0% /run/shm[/FONT]
Code:
[FONT=Menlo]/dev/loop3     26214400   159250 26055150    1% /[/FONT]
[FONT=Menlo]none           16488053       22 16488031    1% /dev[/FONT]
[FONT=Menlo]cgroup         16488053       16 16488037    1% /sys/fs/cgroup[/FONT]
[FONT=Menlo]tmpfs          16488053       17 16488036    1% /sys/fs/cgroup/cgmanager[/FONT]
[FONT=Menlo]tmpfs          16488053        1 16488052    1% /dev/shm[/FONT]
[FONT=Menlo]tmpfs          16488053      247 16487806    1% /run[/FONT]
[FONT=Menlo]tmpfs          16488053       16 16488037    1% /run/lock[/FONT]
[FONT=Menlo]tmpfs          16488053       13 16488040    1% /tmp[/FONT]
[FONT=Menlo]none           16488053        1 16488052    1% /run/shm[/FONT]

and this is the df -h and df -i of the node:

Code:
[FONT=Menlo]udev             10M       0   10M    0% /dev[/FONT]
[FONT=Menlo]tmpfs            26G    1,1G   25G    5% /run[/FONT]
[FONT=Menlo]/dev/sda4       3,6T    324G  3,1T   10% /[/FONT]
[FONT=Menlo]tmpfs            63G     40M   63G    1% /dev/shm[/FONT]
[FONT=Menlo]tmpfs           5,0M       0  5,0M    0% /run/lock[/FONT]
[FONT=Menlo]tmpfs            63G       0   63G    0% /sys/fs/cgroup[/FONT]
[FONT=Menlo]/dev/sda3       946M    156M  726M   18% /boot[/FONT]
[FONT=Menlo]/dev/fuse        30M     24K   30M    1% /etc/pve[/FONT]
[FONT=Menlo]cgmfs           100K       0  100K    0% /run/cgmanager/fs[/FONT]
[FONT=Menlo]tmpfs            13G       0   13G    0% /run/user/1000[/FONT]

Code:
[FONT=Menlo]udev            16484789      550  16484239    1% /dev[/FONT]
[FONT=Menlo]tmpfs           16488053      871  16487182    1% /run[/FONT]
[FONT=Menlo]/dev/sda4      243564544    74101 243490443    1% /[/FONT]
[FONT=Menlo]tmpfs           16488053       79  16487974    1% /dev/shm[/FONT]
[FONT=Menlo]tmpfs           16488053       17  16488036    1% /run/lock[/FONT]
[FONT=Menlo]tmpfs           16488053       17  16488036    1% /sys/fs/cgroup[/FONT]
[FONT=Menlo]/dev/sda3          62592      320     62272    1% /boot[/FONT]
[FONT=Menlo]/dev/fuse          10000       38      9962    1% /etc/pve[/FONT]
[FONT=Menlo]cgmfs           16488053       13  16488040    1% /run/cgmanager/fs[/FONT]
[FONT=Menlo]tmpfs           16488053        4  16488049    1% /run/user/1000[/FONT]

I don't get why there is no space left?
 
Hello.

I am having a similar issue with RSYNC:

rsync: write failed on "/home/makeitin/logs/_wildcard_.makeitindesign.com-Jan-2016.gz": No space left on device (28)

rsync error: error in file IO (code 11) at receiver.c(301) [receiver=3.0.6]

rsync: writefd_un

I have checked and there is plenty of space.

Are we missing something?

Thanks,

Paul Hughes
UKHost4u.com
 
A little bit more info. I expanded the volume and give it more storage space. This has fixed the issue but this raises a new question:

1) Is LXC reporting usage wrong?
2) Can you not use all the space allocated
3) Is this just a bug?

Thanks,

Paul.