How @adrianovf ,
Proxmox VE does not, currently, deal with Multipath at all. The management is done at the OS level which is Debian. There are Kernel and Userland parts to multipath.
Generally, you should not need to edit the configuration in an unmodified multipath install. So it is likely that you configured a filter, or set an option, that prevents automatic discovery.
Perhaps if you can share your exact multipath.conf context it will become obvious.
Cheers
https://kb.blockbridge.com/technote/proxmox-lvm-shared-storage/
Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
root@SRV-LABPROXMOX01:~# cat /etc/multipath.conf
multipaths {
multipath {
wwid "3600c0ff0003cc8e5c5ddf96901000000"
alias DATASTORE01
}
multipath {
wwid "3600c0ff0003cc8cd3fe8f96901000000"
alias DATASTORE02
}
multipath {
wwid "3600c0ff0003cc8cda7d4fd6901000000"
alias DATASTORE03
}
multipath {
wwid "3600c0ff0003cc8cd69ab156a01000000"
alias DATASTORE04
}
}
root@SRV-LABPROXMOX01:~# multipath -ll
DATASTORE01 (3600c0ff0003cc8e5c5ddf96901000000) dm-7 Lenovo,DS4200
size=2.7T features='0' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=10 status=active
|- 1:0:0:2 sdc 8:32 active ready running
`- 2:0:0:2 sdg 8:96 active ready running
DATASTORE02 (3600c0ff0003cc8cd3fe8f96901000000) dm-9 Lenovo,DS4200
size=3.6T features='0' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=50 status=active
|- 1:0:0:3 sdd 8:48 active ready running
`- 2:0:0:3 sdh 8:112 active ready running
DATASTORE03 (3600c0ff0003cc8cda7d4fd6901000000) dm-6 Lenovo,DS4200
size=3.6T features='0' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=50 status=active
|- 1:0:0:5 sde 8:64 active ready running
`- 2:0:0:5 sdi 8:128 active ready running
DATASTORE04 (3600c0ff0003cc8cd69ab156a01000000) dm-8 Lenovo,DS4200
size=4.5T features='0' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=50 status=active
|- 1:0:0:1 sdb 8:16 active ready running
`- 2:0:0:1 sdf 8:80 active ready running
root@SRV-LABPROXMOX01:~#
There is no built-in way to assign user-friendly names to the devices, if you want to continue using DATASTORE* - you have to continue doing it manually.
You didnt specify what version of PVE you are using. In PVE9, for example, :
root@pve9r2-nvme-host1:~# multipath -t|grep -i find
find_multipaths "strict"
find_multipaths_timeout -10
strict Both multipath and multipathd treat only such devices as multipath devices which have been part of a multipath map previously, and which are therefore listed in the wwids_file. Users can manually set up multipath maps using the multipathd add map command. Once set up manually, the map is remembered in the wwids file and will be set up automatically in the future.
Which explains why you need to manually add the WWID. However, you do not need to map it to a human name. You can simply do "multipath -a <wwid>"
Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
devices {
device {
vendor "Lenovo"
product "DS4200"
path_grouping_policy "group_by_prio"
path_selector "service-time 0"
prio "alua"
path_checker "tur"
failback "immediate"
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.