A
A
achirkov02020-11-19 11:56:10
LXC
achirkov0, 2020-11-19 11:56:10

Proxmox how to shrink mounted lvm lxc?

There is proxmox 6.1, it has an lxc container with ubuntu 18.04. The root partition with lvm is connected to ubuntu.
We need to reduce its size. It is clear how to reduce it by turning off the container.

lvresize --size -4G --resizefs /dev/vg0/vm-100-disk-0

But it is required to do this without shutting down the container. Is it possible to do this and what are the ways. Haven't been able to find any info on google yet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2020-11-19
@achirkov0

No, you have to turn it off.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question