Local-lvm fully and i can't start the lxc. Help


New Member
Oct 25, 2023
Hello to everyone, one month ago i configure for the first time an proxmox server. In this server principally i use docker, plex and nas with lxc. The first problem of my configuration is that i using a intel nuc that doesn't support an second disk. For resolve this i using a single SSD from 1TB. When i has setup the LXC i used mount point for share the space between the lxc. So I created a ct volume from a fixed size which I then mounted onto the individual lxc. Now after a month of coping files and delete my ct volume is full, and despite i delete file on his the ct volume usage dosen't decrease. Not being a great expert, I seem to have understood that the only way to make it decrease would be to use the fstrim command. But when i using receive an error:
mount: /var/lib/lxc/102/rootfs/mnt/nas: can't read superblock on /dev/mapper/pve-vm--102--disk--1. dmesg(1) may have more information after failed mount system call. mounting container failed command 'mount /dev/dm-8 /var/lib/lxc/102/rootfs//mnt/nas' failed: exit code 32
Now the problem is that the space is fully and i can't neither start the lxc.
Cattura.PNGMy question are: how i can fix this? Can avoid to lose all file on CT volume? If i can't save the files how i can setup all to avoid that this same problem happen in the future?
PS: before adopt this solution i try the ZFS but he destroy my SSD, an Cheap Crucial MX500, him wearout increase from 5% in only one day.
If I were in your shoes, I'd get a large USB disk, partition it with one partition being at least 100G. Add that partition to local-lvm Volume Group (VG), extend the local-lvm LV pool, so that there is space. Get the data off the CT to the second partition on USB (presumably large enough). Scrap and reconfigure the LV/VG and CT.

These are high level steps, you will need to research the net for details on each phase, there are many article available that cover them.

Good luck!

Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!