]> git.proxmox.com Git - pve-storage.git/commit
fix #2460: use dm-uuid-mpath- as fallback for multipath
authorMira Limbeck <m.limbeck@proxmox.com>
Tue, 7 Jul 2020 14:14:54 +0000 (16:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 7 Jul 2020 14:58:25 +0000 (16:58 +0200)
commit245b651789ca99d1f06c706eca78d84f58d21563
tree9c1768a0850107bd59ff9303179a32d5cfa1a47c
parente6d1edcb9313e85d8fb3e9002b7dda80b754cf45
fix #2460: use dm-uuid-mpath- as fallback for multipath

With Debian Buster it looks like the 'scsi-' method is no longer
reliable. In addition to that, which is also used for non-multipath
systems, add the 'dm-uuid-mpath-' method as fallback. This is also used
by openstack (see os-brick
https://github.com/openstack/os-brick/blob/39b201160bbff39117fca46b2709ff3f74c53d80/os_brick/initiator/linuxscsi.py#L400)

Also sort the output of readdir so 'scsi-' is always after
'dm-uuid-mpath-' so the output of pvesm list does not change for systems
that worked before.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
PVE/Storage/ISCSIPlugin.pm