Extending mountpoint on LXC

Namudril

Member
Jun 25, 2021
9
1
8
23
Hello,
I'm running pve-manager/7.3-4/d69b70d4 with a Debian 11 based LXC.
I've created a new LVM storage with a 500G disk, then added a mount point to LXC 100 via GUI, size=200G
Now I want to extend mount point to 500G
What are my steps to do?

root@pve:~# pct config 100xc/100.conf
arch: amd64
cores: 3
features: nesting=1
hostname: plex
memory: 2048
mp0: storage:vm-100-disk-0,mp=/storage,backup=1,size=200G
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.1.1,hwaddr=36:5C:A1:B5:A6:B4,ip=192.168.1.15/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-100-disk-0,size=8G
swap: 2048
unprivileged: 1
 
Hi,
you can select the mount point in the GUI and select Volume Action > Resize adding 300G there. Or you can do it via pct resize (see the man page for details).
 
Hi,
you can select the mount point in the GUI and select Volume Action > Resize adding 300G there. Or you can do it via pct resize (see the man page for details).
Thanks! That works.
I've made a mistake at first, extending LVM f that storage, thus no space for MP extending left available.
I have made
Code:
lvreduce -L 200G LV-name
and then
Volume Action > Resize
 

About

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!