Proxmox with HPE 3Par storage

May 9, 2025
2
0
1
I have 3 Proxmox nodes in a cluster, and I need to configure the 3PAR to the nodes
I'm using multipath now, but the LUNs are showing 4 times for all the nodes. Sometimes the lun is showing in one node but not in other nodes. How can I sync the LUNs automatically? Is there any way to solve this issue?

If exporting the 3Par lun to the Proxmox nodes, it is not showing until this command is executed: echo "- - -" | tee /sys/class/scsi_host/host*/scan (or) reboot the node. Why is it not showing automatically?

lsblk output:
sdw 65:96 0 500G 0 disk
└─mpathi 252:28 0 500G 0 mpath
└─mpathi-part1 252:29 0 500G 0 part
└─mpathj_testingdisk_vg-vm--103--disk--0 252:15 0 100G 0 lvm
sdx 65:112 0 500G 0 disk
└─mpathi 252:28 0 500G 0 mpath
└─mpathi-part1 252:29 0 500G 0 part
└─mpathj_testingdisk_vg-vm--103--disk--0 252:15 0 100G 0 lvm
sdy 65:128 0 500G 0 disk
└─mpathi 252:28 0 500G 0 mpath
└─mpathi-part1 252:29 0 500G 0 part
└─mpathj_testingdisk_vg-vm--103--disk--0 252:15 0 100G 0 lvm
sdz 65:144 0 500G 0 disk
└─mpathi 252:28 0 500G 0 mpath
└─mpathi-part1 252:29 0 500G 0 part
└─mpathj_testingdisk_vg-vm--103--disk--0 252:15 0 100G 0 lvm

multipath -ll output:
mpathi (360002ac0000000001600a61e0001d232) dm-28 3PARdata,VV
size=500G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=50 status=active
|- 2:0:0:3 sdw 65:96 active ready running
|- 2:0:1:3 sdx 65:112 active ready running
|- 3:0:0:3 sdy 65:128 active ready running
`- 3:0:1:3 sdz 65:144 active ready running
 
If exporting the 3Par lun to the Proxmox nodes, it is not showing until this command is executed: echo "- - -" | tee /sys/class/scsi_host/host*/scan (or) reboot the node. Why is it not showing automatically?
There is no autodiscovery implemented, therefore you need to scan by yourself.

I'm using multipath now, but the LUNs are showing 4 times for all the nodes.
Yes, they show as raw block devices as often as you have paths to the LUN on the SAN. The multipathed device in /dev/mapper is only shown once.

Please refer to https://pve.proxmox.com/wiki/Multipath
 
Thank you for your response.

Every time I export the LUN, I rescan the nodes using the command: `echo "- - -" | tee /sys/class/scsi_host/host*/scan`. After that, I create a partition, a Physical Volume (PV), and a Volume Group (VG). Once that’s done, I can only add the storage to the cluster for shared storage.

I am continuously exporting and unexporting the LUNs to test my application, which makes this process quite difficult.

Additionally, I exported the iSCSI LUN to the cluster and created a virtual machine (VM) on that storage. After testing, I removed the VM and storage in Proxmox, but the storage still appears in SSH. It disappears only after rebooting the Proxmox node.

How can I refresh the storage table without rebooting?
Here is an image of the issue.
1747120642591.png



And, one more thing we need to do is increase the LVM disk size also. without downtime of vms
 
Last edited: