Multipath not working

Online

New Member
Sep 25, 2024
6
0
1
Good afternoon!
Help solve the problem, multipath does not work. There is a SAN with 2 controllers connected via 2 FC switches to the server, in 2 ways, respectively.
A bootable LUN has been created, the proxmox system is installed on it, then the system sees 2 identical disks /dev/sdb and /dev/sdc with the same ID.
You need to configure multipath. multipath -ll is an empty result. I have already tried to configure it via uid_attribute: ID_SERIAL, ID_SERIAL_SHORT, ID_SCSI.
What could it be?
 

Attachments

  • libudevscsi_id.txt
    98 bytes · Views: 1
  • multipath wwids.txt
    304 bytes · Views: 4
  • multipath_v3.txt
    13.5 KB · Views: 2
  • multipathconf.txt
    517 bytes · Views: 5
  • proxmox gui disk.JPG
    proxmox gui disk.JPG
    44.3 KB · Views: 7
wwid. You need to start multipathd (+enable) for output of multipath -ll.
 
You want to boot also from the multipathed device? I was not able to do that. Just using the multipathed setup should work.

I really don't like the blacklist all and enable what you have. Just blacklist controllers and use what comes in. Much better approach, at least in the beginning.
 
wwid. You need to start multipathd (+enable) for output of multipath -ll.

I also tried WWID, the service is working.

multipathd.service - Device-Mapper Multipath Device Controller
Loaded: loaded (/lib/systemd/system/multipathd.service; enabled; preset: enabled)
Active: active (running) since Wed 2024-10-02 08:51:52 +07; 3min 13s ago
TriggeredBy: ● multipathd.socket
Process: 455832 ExecStartPre=/sbin/modprobe dm-multipath (code=exited, status=0/SUCCESS)
Main PID: 455835 (multipathd)
Status: "up"
Tasks: 7
Memory: 18.9M
CPU: 68ms
CGroup: /system.slice/multipathd.service
└─455835 /sbin/multipathd -d -s

Oct 02 08:51:52 pve3 multipathd[455835]: reconfigure: setting up paths and maps
Oct 02 08:51:52 pve3 multipathd[455835]: mpathe: addmap [0 524288000 multipath 3 pg_init_retries 50 queue_if_no_path 1 rdac 2 1 round-robin 0 1 1 8:16 1 round-robin 0 1 1 8:32 1]
Oct 02 08:51:52 pve3 multipathd[455835]: libdevmapper: ioctl/libdm-iface.c(1980): device-mapper: reload ioctl on mpathe (252:5) failed: Device or resource busy
Oct 02 08:51:52 pve3 multipathd[455835]: dm_addmap: libdm task=0 error: Success
Oct 02 08:51:52 pve3 multipathd[455835]: mpathe: ignoring map
Oct 02 08:51:52 pve3 multipathd[455835]: mpathe: addmap [0 524288000 multipath 3 pg_init_retries 50 queue_if_no_path 1 rdac 2 1 round-robin 0 1 1 8:16 1 round-robin 0 1 1 8:32 1]
Oct 02 08:51:52 pve3 multipathd[455835]: libdevmapper: ioctl/libdm-iface.c(1980): device-mapper: reload ioctl on mpathe (252:5) failed: Device or resource busy
Oct 02 08:51:52 pve3 multipathd[455835]: dm_addmap: libdm task=0 error: Success
Oct 02 08:51:52 pve3 multipathd[455835]: mpathe: ignoring map
Oct 02 08:51:52 pve3 systemd[1]: Started multipathd.service - Device-Mapper Multipath Device Controller.
 
Last edited:

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!