Increase Partition Size for Boot Drive

npineiro

New Member
Feb 21, 2021
11
1
3
34
When I installed ProxMox I stupidly created a 32GB drive and them I as I started using ProxMox more I realize I wanted to use that storage to store my ISOs so I am now wanting to use the full size of the disk. Is there a way to increase the size of the boot drive in the ProxMox Web UI that I am unaware of? If not can someone point to the safest way to modify the size of my boot drive?
 
Can you post the output of lsblk so we have a better idea of how things are?
 
Here is the output of lsblk. My boot drive is /sde

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 1.8T 0 part
└─sda9 8:9 0 8M 0 part
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 0 1.8T 0 part
└─sdb9 8:25 0 8M 0 part
sdc 8:32 0 1.8T 0 disk
├─sdc1 8:33 0 1.8T 0 part
└─sdc9 8:41 0 8M 0 part
sdd 8:48 0 1.8T 0 disk
├─sdd1 8:49 0 1.8T 0 part
└─sdd9 8:57 0 8M 0 part
sde 8:64 0 111.8G 0 disk
├─sde1 8:65 0 1007K 0 part
├─sde2 8:66 0 512M 0 part
└─sde3 8:67 0 110.8G 0 part
├─pve-swap 253:0 0 6G 0 lvm [SWAP]
└─pve-root 253:1 0 27G 0 lvm /
sdf 8:80 0 931.5G 0 disk
├─sdf1 8:81 0 931.5G 0 part
└─sdf9 8:89 0 8M 0 part
sdg 8:96 0 931.5G 0 disk
├─sdg1 8:97 0 931.5G 0 part
└─sdg9 8:105 0 8M 0 part
sdh 8:112 0 931.5G 0 disk
├─sdh1 8:113 0 931.5G 0 part
└─sdh9 8:121 0 8M 0 part
sr0 11:0 1 1024M 0 rom
zd0 230:0 0 20G 0 disk
zd16 230:16 0 32G 0 disk
├─zd16p1 230:17 0 32G 0 part
├─zd16p5 230:21 0 30G 0 part
└─zd16p6 230:22 0 1.6G 0 part
zd32 230:32 0 80G 0 disk
 
Okay. Did you remove the pve_data_tdata and pve_data_tmeta pools already?

You will need to increase the pve-root LV and then the file system inside.

To extend the pve-rool LV to the max available size:
Code:
lvextend -l 100%FREE /dev/pve/root
Expanding the file system should be
Code:
resize2fs /dev/mapper/pve-root
 
Okay. Did you remove the pve_data_tdata and pve_data_tmeta pools already?

You will need to increase the pve-root LV and then the file system inside.

To extend the pve-rool LV to the max available size:
Code:
lvextend -l 100%FREE /dev/pve/root
Expanding the file system should be
Code:
resize2fs /dev/mapper/pve-root
I didnt remove pve_data_tdata and pve_data_tmeta pools
Is it as simple as finding those files in their respective directories and deleting them?

EDIT: I have not been able to find them. Can you point me in the direction of where to delete these things?
 
Last edited:
  • Like
Reactions: majorgear