Hi forum,
I have install a lxc container and the disk of it have used all free space of root partition. But now I can't start the container to fstrim / to reduce the disk space usage.
Log shows there is no free space, but I have 2G left on /.
Here is the df -h:
root@node-cn-hk:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 612M 5.7G 10% /run
/dev/sda5 92G 90G 0 100% /
tmpfs 32G 37M 32G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sda1 453M 99M 328M 24% /boot
/dev/sda6 821G 785G 0 100% /home
/dev/fuse 30M 48K 30M 1% /etc/pve
tmpfs 6.3G 0 6.3G 0% /run/user/0
Start Log:
Oct 20 12:00:19 node-cn-hk pveproxy[1704]: starting 1 worker(s)
Oct 20 12:00:19 node-cn-hk pveproxy[1704]: worker 11809 started
Oct 20 12:00:19 node-cn-hk pveproxy[11565]: Warning: unable to close filehandle GEN4 properly: No space left on device at /usr/share/perl5/PVE/APIServer
Oct 20 12:00:19 node-cn-hk pveproxy[11565]: error writing access log
I can't get any free space from here and there, I think I should make the lxc start and I can run the command " fstrim / ", or is there any way to run this command on a raw disk file?
I have install a lxc container and the disk of it have used all free space of root partition. But now I can't start the container to fstrim / to reduce the disk space usage.
Log shows there is no free space, but I have 2G left on /.
Here is the df -h:
root@node-cn-hk:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 612M 5.7G 10% /run
/dev/sda5 92G 90G 0 100% /
tmpfs 32G 37M 32G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sda1 453M 99M 328M 24% /boot
/dev/sda6 821G 785G 0 100% /home
/dev/fuse 30M 48K 30M 1% /etc/pve
tmpfs 6.3G 0 6.3G 0% /run/user/0
Start Log:
Oct 20 12:00:19 node-cn-hk pveproxy[1704]: starting 1 worker(s)
Oct 20 12:00:19 node-cn-hk pveproxy[1704]: worker 11809 started
Oct 20 12:00:19 node-cn-hk pveproxy[11565]: Warning: unable to close filehandle GEN4 properly: No space left on device at /usr/share/perl5/PVE/APIServer
Oct 20 12:00:19 node-cn-hk pveproxy[11565]: error writing access log
I can't get any free space from here and there, I think I should make the lxc start and I can run the command " fstrim / ", or is there any way to run this command on a raw disk file?
Last edited: