Resize disk

rednas

New Member
Jan 7, 2022
4
0
1
33
Hello,

I am quite new with Proxmox, so please take that in mind :)
I used Proxmox for Home Assistant, but I had the SSD replaced by a bigger one. Now I want to create a new CT.
I managed to increase the size of the disk with "parted". However, if I want to create a new CT I need to select the "Root Disk" and it shows "local-lvm" with only 8GB available, but it should be more.

Maybe you can do something with the following results:
sander@proxmox:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sda3 pve lvm2 a-- 55.39g 6.87g sander@proxmox:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree pve 1 5 0 wz--n- 55.39g 6.87g sander@proxmox:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert data pve twi-aotz-- 28.77g 75.47 2.59 root pve -wi-ao---- 13.75g swap pve -wi-ao---- 4.00g vm-100-disk-0 pve Vwi-aotz-- 4.00m data 0.00 vm-100-disk-1 pve Vwi-aotz-- 32.00g data 67.86 sander@proxmox:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 238.5G 0 disk ├─sda1 8:1 0 1007K 0 part ├─sda2 8:2 0 512M 0 part └─sda3 8:3 0 238G 0 part ├─pve-swap 253:0 0 4G 0 lvm [SWAP] ├─pve-root 253:1 0 13.8G 0 lvm / ├─pve-data_tmeta 253:2 0 1G 0 lvm │ └─pve-data-tpool 253:4 0 28.8G 0 lvm │ ├─pve-data 253:5 0 28.8G 0 lvm │ ├─pve-vm--100--disk--0 253:6 0 4M 0 lvm │ └─pve-vm--100--disk--1 253:7 0 32G 0 lvm └─pve-data_tdata 253:3 0 28.8G 0 lvm └─pve-data-tpool 253:4 0 28.8G 0 lvm ├─pve-data 253:5 0 28.8G 0 lvm ├─pve-vm--100--disk--0 253:6 0 4M 0 lvm └─pve-vm--100--disk--1 253:7 0 32G 0 lvm

I guess I need to increase some other disk sizes as well, but how and where?
Thanks in advance!
 
You just increased the partition size. But your PVE is using LVM for the root folder and LVM-Thin for VMs/LXCs. So you also need to increase the size of your PVs/VGs/LVs so PVE can actually make use of the bigger partition.
 
Thanks! Can you help me doing that or show me somewhere where it is explained? I am not sure how to increase the size of these.
 
Thats not really proxmox specific. You can use a LVM tutorial of your choice (also discussed hundreds of times in this forum if you use the forums search box) that uses the lvextend and resize2fs commands to extend the "root" and "data" LVs and grow the file systems inside these.
 
Last edited:

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!