Bug#587315: 'multipath: unknown hardware handler type' with hardware_handler "1 hp-sw"

phil phil at cube.ch
Sun Jun 27 12:22:36 UTC 2010


Package: multipath-tools
Version: 0.4.8+git0.761c66f-8
Severity: normal

Hi

I had some problems with an HP EVA 3k Storage Array ( HSV100 Controller ) and multipath...

Modprobing the HBA module (qla2xxx) resulted in detecting the SAN-Disks as /dev/sdX , but the device-mapper did not show any new devices.

Looking at /var/log/syslog and dmesg I found multiple entries like this:
device-mapper: table: 253:3: multipath: unknown hardware handler type
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:3: multipath: unknown hardware handler type
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:3: multipath: unknown hardware handler type
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:3: multipath: unknown hardware handler type
device-mapper: ioctl: error adding target to table

Looking at multipathd:
> multipathd -k"show config" | grep hardware_handler | grep hp
hardware_handler "1 hp-sw"
hardware_handler "1 hp-sw"

After some internet searching i found out that between 2.6.26 ( lenny ) and 2.6.32 the hardware handler kernel modules were transferred from drivers/md to drivers/scsi/device_handler.
In the source of the new mopdule drivers/scsi/device_handler/scsi_dh_hp_sw.c there's the name hp_sw ...

Apparently the name of my handler changed from hp-sw to hp_sw.

After adding a modified device-Section in my /etc/multipath.conf ( see below ) and a restart of multipathd everything works fine.
The problem is solved for me, but i recommend correcting the handler-names in the default config in libmultipath from
..hwhandler     = "1 hp-sw" 
to 
..hwhandler     = "1 hp_sw"



thanks, phil



-- Package-specific info:
Contents of /etc/multipath.conf:
multipaths {
....
}
devices {
        device {
                vendor "(COMPAQ|HP)"
                product "(MSA|HSV)1.0.*"
                path_grouping_policy group_by_prio
                path_checker hp_sw
                checker hp_sw
                features "1 queue_if_no_path"
                hardware_handler "1 hp_sw"
                prio hp_sw
                no_path_retry 12
                rr_min_io 100
        }
}
 


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages multipath-tools depends on:
ii  initscripts         2.88dsf-9            scripts for initializing and shutt
ii  kpartx              0.4.8+git0.761c66f-8 create device mappings for partiti
ii  libaio1             0.3.107-7            Linux kernel AIO access library - 
ii  libc6               2.11.1-3             Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1  2:1.02.48-2          The Linux Kernel Device Mapper use
ii  libncurses5         5.7+20100313-2       shared libraries for terminal hand
ii  libreadline6        6.1-3                GNU readline and history libraries
ii  lsb-base            3.2-23.1             Linux Standard Base 3.2 init scrip
ii  udev                157-1                /dev/ and hotplug management daemo

multipath-tools recommends no packages.

Versions of packages multipath-tools suggests:
ii  multipath-tools-boo 0.4.8+git0.761c66f-8 Support booting from multipath dev

-- no debconf information





More information about the pkg-lvm-maintainers mailing list