[SOLVED] Please assist on correct process for adding LVM in 4 node cluster using SAN

unassassinable

New Member
Nov 16, 2023
26
0
1
22 years experience in systems & cybersecurity, but not much in storage and proxmox. I have 4 nodes (not yet clustered as I am still setting up the NIC interfaces and only just got MPIO working on host 1).

My SAN has 2 LUNs
  • VMStorage - to be used to store VM disks and if possible, snapshots
  • FileStorage - to be used to store event log data
I have added 4x iSCSI path/targets via Datacenter > Storage since I have 4 redundant iSCSI paths to my SAN. It looks like I can add LVMs and am able to detect each of the two luns via Storage > Add > LVM
1700512950229.png
LUN 0 is my VM Storage
LUN 1 is my Event Log Storage

My question: What are my next steps? Do I create both LVMs on every node then create cluster? Or create one one node then create cluster and they will appear on all nodes? What are the best settings to use? Is there anything that I have to do in the CLI that I cannot complete in the web UI? Thanks!
 
Hi unassassinable,

Or create one one node then create cluster and they will appear on all nodes?
Storage added on one node will become visible on the other nodes. Please refer to alexskysilk's post for advice ; the result for storage in the threeview of my cluster is as follows:

1700515587328.png

All my storage has unique names (except for 'local'), so you'll notice that the same storage shows up under different nodes (except for 'local' storage).

"Yunos" has an entry on microtweak, supermarkt and on verjaardag, while this thin LVM is actually stored on verjaardag.

PS,
just got MPIO working

What do you mean with MPIO?
 
Last edited:
  • Like
Reactions: unassassinable
Just some general remarks:
  • SAN implied thick-LVM, which does not allow snapshots
  • file storage is currently not possible with a supported configuration if you have a subscription, yet you may look into gfs2 or ocfs2

What do you mean with MPIO?
Multipath I/O, which is necessary to group all storage paths (wwids of disks showing up multiple times) into one device that will use one, some or all paths (depending on the storage and the configuration).
 
  • Like
Reactions: wbk

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!