[PVE-User] mpath_prio_alua

Tonci Stipicevic tonci at suma-informatika.hr
Sat Aug 22 20:52:06 CEST 2015


Hello to all

I'm trying to configure iscsi target with two proxmox hosts and want to 
enhance link to storage as much as posible.
multipath command says:

root at pmx01:~# multipath -ll
root at pmx01:~# multipath
Aug 22 20:30:21 | sdc: alua not supported
Aug 22 20:30:22 | sdd: alua not supported
Aug 22 20:30:22 | failed to find rport_id for target4:0:0
Aug 22 20:30:22 | failed to find rport_id for target4:0:0
Aug 22 20:30:22 | failed to find rport_id for target5:0:0
Aug 22 20:30:22 | failed to find rport_id for target5:0:0
Aug 22 20:30:22 | sdc: alua not supported
Aug 22 20:30:22 | sdd: alua not supported
Aug 22 20:30:22 | failed to find rport_id for target14:0:0
Aug 22 20:30:22 | failed to find rport_id for target14:0:0
reject: 36001405fedf38f1f66f4540a3231c108 undef LIO-ORG,IBLOCK
size=1.5T features='0' hwhandler='1 alua' wp=undef
`-+- policy='round-robin 0' prio=0 status=undef
   |- 14:0:0:0 sdc 8:32 undef ready running
   `- 15:0:0:0 sdd 8:48 undef ready running


So, my initiators obviously do not support alua and after some research 
I've found that mpath_prio_alua file does not exist on the host .
I have multipath-tools installed (and reinstalled) but nothing changed.
Native location "should" be :
  root at pmx01:~# ls /sbin/mpath_prio_alua -al
ls: cannot access /sbin/mpath_prio_alua: No such file or directory

my device part from multipath.conf  :

  device {
                 vendor "LIO-ORG"
                 product "*"
                 #path_grouping_policy group_by_prio
                 path_grouping_policy multibus
                 path_checker tur
#                getuid_callout "/sbin/scsi_id -g -u -s /block/%n"

         getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n"

                 prio_callout "/sbin/mpath_prio_alua /dev/%n"
                 prio "alua"
                 path_selector "round-robin 0"
                 hardware_handler "1 alua"
                 rr_weight uniform
                 rr_min_io 2
                 failback immediate
         }
}


Has anybody used multipath with  iscsi  ? ... and how could I switch it on ?

thank you very much in advance

BR

Tonci





More information about the pve-user mailing list