That's why. Blindly guessing that you did a standard setup, local-lvm is the name of storage, not the name of the volume group. The VG is name 'pve' by default. So you'll want to useVolume group "local-lvm" not found
# lvremove pve/vm-102-disk-2
Because someone might want to destroy the container and create a new one in its place, reusing the disks. E.g. if it has data that's still required but they want to switch the linux distro.and forgive my ignorance, why destroying an LXC doesn't remove its associated disks?!
Are you trying to shrink the rootfs? Otherwise I'll need more info than "doesn't work."pct help resize said:Shrinking disk size is not supported.
containersAre you using a container or a VM? pct is for containers, qm is for VMs.
root@ded01:~# pct resize 100 rootfs 40Are you trying to shrink the rootfs? Otherwise I'll need more info than "doesn't work."
Thanks for your fast reply, but what are my other options for shrinking disks or using smaller disks?As I already said, shrinking is not supported.
# lvreduce 50G -r pve/vm-100-disk-1
# lvreduce 50G pve/vm-100-disk-1
We use essential cookies to make this site work, and optional cookies to enhance your experience.