Extending Physical Volume (PV)

Pheggas

New Member
May 8, 2022
18
2
3
Hello. During initial installation, i selected HDSIZE as 50 GB on my 250 GB NVMe SSD. Proxmox did it thing and divided the 50 gigs into all partitions that was needed. However, over time and VM usage, i became short on space and now i want to extend the local-lvm (so the data local volume) to the rest of free, unused, unallocated space. I knew nothing about LVMs but i quickly realise the idea of whole LVM thing.

If i want to extend logical volume, i firstly need to extend physical volume that "owns" the wanted logical volume. i found commands like lvextend, lvresize etc that will eventually extend or resize my local volume but i can only work with with space given to physical volume, which, in my case, is full and no free space is left.

To the core of my issue. I found this tutorial that can resize physical volume, however in one step i need to deactivate the logical volumes inside the physical volume. As you may guess, i can't deactivate all of the logical volumes (e.g. root, swap) as they have been used by proxmox itself. So how can i deactivate them, or in case of easier way, how can i extend physical volume?

I read somewhere one guy recommend to use GParted Live CD on physical machine to extend it but i'm not sure about this way. I mean, it can do the thing surely but i know basically nothing about gparted as well.

Any recommendations?
 
I kind of risked it (don't be like me, do your backups y'all!). It went great, did not loose any data. I did it via GParted. Thanx, y'all!
 

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!