Intel Modular Server and expanding size of LVM parition

mjoconr

Renowned Member
Dec 5, 2009
88
1
73
Hi Guys

I've realized I did not allocate enough space to my LVM partition for KVM hosts.

I'm running the system on an Intel Modular Server and the storage controller allows me to increase the size of a 'virtual drive'.

I've never tried to increase the size of an LVM partition let along tried on proxmox.

So could those in the know comment on the above issue.

Also how does one copy a KVM host to a different LVM partition ?

Thanks
Mike
 
I think the following should work:

- power off the blade running Proxmox
- increase the size of the virtual drive using the web GUI of the modular server
- power on the blade
- use fdisk to create a new partition in the virtual drive (in the free space you have just created) of type LVM
- reboot the blade so Proxmox can actually use the newly created partition (kernel needs to re-read the partition table)
- turn the new partition into a PV (physical volume) for LVM using pvcreate
- and finally, use vgextend to add this PV to the LVM VG (volume group)

Hope this helps!
 

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!