local-lvm volume still full after reduction of LXC

Proxplex

New Member
Oct 29, 2024
1
0
1
In first place i made the mistake creating the first LXC with all the free space allowed in local-lvm (150 G). After a lot of work iside this LXC, i want to create more LXC's and VM's, but i need more space, and the LXC never needed to be that big, so i want to keep it but smaller.

The first movement i needed was reduce the space of the LXC (after a backup), and i did it following this steps:

- resize2fs /dev/pve/vm-100-disk-1 65G

- lvreduce -L 65G /dev/pve/vm-100-disk-1

- modify the "rootfs" line inside etc/pve/lxc/100.conf to match the size i set up

After this steps, the LXC has the expected size, but there's no avalaible space in local-lvm, and i dont know how to get proxmox realize that now there is free space, that's not being used by the only one LXC.
 

Attachments

  • proxmox 1.png
    proxmox 1.png
    87.2 KB · Views: 6
  • proxmox 2.png
    proxmox 2.png
    61 KB · Views: 6