Bug#500991: multipath-tools: Multipath-tools uses invalid scsi_id option, breaks multipath

Rik Theys rik.theys at esat.kuleuven.be
Fri Oct 3 08:32:44 UTC 2008

Package: multipath-tools
Version: 0.4.8-12
Severity: grave
Justification: renders package unusable


I've installed multipath-tools on lenny, but it fails to find any multipath devices. I've run multipath -v3 and it gives the following error:

cciss!c0d0: getuid = /lib/udev/scsi_id -n -g -u -d /dev/%n (controller setting)
/lib/udev/scsi_id: invalid option -- n
error calling out /lib/udev/scsi_id -n -g -u -d /dev/cciss!c0d0

The -n option is not supported by /lib/udev/scsi_id. 

Adding the getuid_callout option to the defaults section of /etc/multipath.conf without the -n option does not seem to help. It seems the section is ignored?

The version of udev on this machine is 0.125-6.

According to the man page, the default command that is issued is /lib/udev/scsi_id -g -u -d /dev/%n, without the -n option.



-- Package-specific info:
Contents of /etc/multipath.conf:
defaults {
	udev_dir		/dev
	polling_interval 	10
	selector		"round-robin 0"
	path_grouping_policy	multibus
	getuid_callout		"/lib/udev/scsi_id -g -u -d /dev/%n"
	prio_callout		/bin/true
	path_checker		directio
	rr_min_io		100
	rr_weight		priorities
	failback		immediate
	no_path_retry		fail
	user_friendly_names	yes

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

Kernel: Linux 2.6.26-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages multipath-tools depends on:
ii  initscripts               2.86.ds1-61    Scripts for initializing and shutt
ii  kpartx                    0.4.8-12       create device mappings for partiti
ii  libaio1                   0.3.107-2      Linux kernel AIO access library - 
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libdevmapper1.02.1        2:1.02.27-3    The Linux Kernel Device Mapper use
ii  libncurses5               5.6+20080830-1 shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries
ii  lsb-base                  3.2-20         Linux Standard Base 3.2 init scrip
ii  udev                      0.125-6        /dev/ and hotplug management daemo

multipath-tools recommends no packages.

Versions of packages multipath-tools suggests:
pn  multipath-tools-boot          <none>     (no description available)

-- no debconf information

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

More information about the pkg-lvm-maintainers mailing list