Expand LVM shared storage online

galphanet

Active Member
Jun 18, 2009
33
0
26
Hello all,

I'm running proxmox on 8 nodes with a shared SAN on fiber channel exposing an LVM volume.

Today I need to expand the storage for the VM but I doesn't want to shutdown all the VM on the LVM volume.

I've read here: http://www.tldp.org/HOWTO/LVM-HOWTO/sharinglvm1.html and there: https://forum.proxmox.com/threads/drbd-on-lvm-resize-pv.20750/#post-105828 some suggestions about that but I want to be sure of what I'm doing.

Can I run pvextend/vgextend on one host and then run pvscan/vgscan on others hosts to see the increased space without shutting down the VM ?

Thanks for your help.
 
Can I run pvextend/vgextend on one host and then run pvscan/vgscan on others hosts to see the increased space without shutting down the VM ?

That's the main purpose for a technology like LVM.

Normally, we add another LUN (no resizing) and run pvcreate and vgextend on them. Afterwards you'll have your increased pool size.
 

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!