add new shared vg on multiple nodes

Eduard

Renowned Member
May 8, 2013
6
0
66
Hello!
it is possible to enable shared volume group (on fc storage) without reboot nodes?
on first node i create vg, on second node vgscan show new group, but vgs/vgdisplay is not. And vgchange cause error -


Code:
root@p-10:/etc/init.d# vgscan
  Found volume group "vgfc6" using metadata type lvm2
  Found volume group "vgfc4" using metadata type lvm2
  Found volume group "vgfc2-1" using metadata type lvm2
  Found volume group "vgfc2" using metadata type lvm2
  Found volume group "vgfc5-tmp" using metadata type lvm2
  Found volume group "vgfc9" using metadata type lvm2  <-- Found !!!
  Found volume group "vgfc5" using metadata type lvm2
  Found volume group "vgfc7" using metadata type lvm2
  Found volume group "vgfc8" using metadata type lvm2
  Found volume group "pve" using metadata type lvm2

root@p-10:/etc/init.d# vgchange  -ay vgfc9
  Volume group "vgfc9" not found
  Cannot process volume group vgfc9
 
It should be possible to add disks on the fly without reboot regardless if this is a PVE installation or generic Linux.
Keep in mind that LVM is not cluster-aware solution. There is logic in PVE that allows you to use it that way.
Generally you would provision the LVM on one of the nodes, then add the storage object to PVE marking it "shared". The configuration would be synced across all nodes and activated as needed.

The first step is to ensure that you properly see the physical disks on each of the nodes and that multipath (if you are using it) is configured correctly.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
It should be possible to add disks on the fly without reboot regardless if this is a PVE installation or generic Linux.
Keep in mind that LVM is not cluster-aware solution. There is logic in PVE that allows you to use it that way.
Generally you would provision the LVM on one of the nodes, then add the storage object to PVE marking it "shared". The configuration would be synced across all nodes and activated as needed.

The first step is to ensure that you properly see the physical disks on each of the nodes and that multipath (if you are using it) is configured correctly.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox

on second node vgscan show new group, but vgs/vgdisplay is not. All works, but i can't activate vg. Before upgrade to 7.0 new group added ok
 

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!