Datastore Grow
Below are steps to grow an existing datastore in a Proxmox cluster.
It is assumed that the volume has already been grown on the relevant storage device. If not, look at Volume/LUN Tasks to grow the volume
Volume Group Discovery
You will now need to inform all of the cluster nodes that there is a change to the storage of an LVM volume.
Information
Run the following steps on ALL of the cluster nodes
You can execute all of the below commands on all nodes with Oxide Cluster Run (e.g.
oxide -j1pi 'whomai', where j1pi is the jnb1 proxmox internal/uat cluster (useoxide --helpfor other cluster options))
iSCSI Rescan
Inform the hosts to check the device paths
Multipath Rescan
Inform the multipath drivers to update, based on the previous rescan
Add volume to LVM
You can now trigger LVM on each host to scan and update the volume information.
Volume Group Extend
Information
Run the following steps on ONLY ONE of the cluster nodes
Physical Volume
Get the mpath name of the volume you are working on with something like multipath -l as you will need to grow the physical volume information based on this (e.g. mpathd is the new device, so our dev mapper would be /dev/mapper/mpathd)
Volume Group Discovery
You will now need to inform all of the cluster nodes that there is a change to the storage of an LVM volume.
Information
Run the following steps on ALL of the cluster nodes
Phyiscal Volume
Inform all of the hosts that the phyiscal volume has changed
Volume Group
Inform all of the hosts that the volume group has changed
Capacity Confirmation
You can now go to the Proxmox VE UI and confirm that the linked datastore is showing the new capacity.