single proxmox to redundant fibre channel paths

lethargos

Well-Known Member
Jun 10, 2017
134
6
58
74
Hi,
I'm using Proxmox 5 and I'd like to use a SAN as storage for VMs. Proxmox lists all four paths (/dev/sdb-dev/sde) and I'd like to make sure that it doesn't see them as separate. What I did was make use of device mapper - fdisk showed all these four paths + the device mapper (/dev/mapper/name) and I simply created the lvm using dm, instead of any of the four paths (/devsdx). Then I added the storage in the proxmox GUI. My question is, is this safe? How should I go about doing that?
I'm not talking about multipathing. I know I need to configure this within linux, - by default it seems that all 4 paths are set as active, so I'm guessing it load balances on all 4.
 
multipath -ll shows 4 paths in service-time 0 policy. So that's fine. fdisk -l lists four storages (sdb-sde), but this storage is also represented by device mapper. So first I renamed this dm name so that I could work with a more friendly name, then I created lvm (down to the volume group) then I added a lvm-thin from the proxmox interface. The proxmox interface sees only the udev naming, not the dm naming. My question is, is this safe? Will proxmox work normally? Is this how you're supposed to do it?
 
Proxmox itself (the interface) sees the four paths as four different disks and it doesn't see the dm. The only way I can access the storage through the dm name (/dev/mapper/dm-name) is to create a lvm within linux cli and then add it to proxmox.
 
Yes, just create your physical disk directly on the device mapper device and then create a volume group. You can also create it in one step with vgcreate. After that, you can add the LVM directly via the GUI.
 
  • Like
Reactions: lethargos

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!