[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#806443: disk-detect/multipath: default path selector is not loaded



Package: disk-detect
Version: 1.114
Severity: normal
Tags: d-i patch

Dear Maintainers,

I am about to configure and install on multipath devices.
The multipath program can create mappings but fails to load
the mappings into the kernel.  The problem is that the mulitpath
program included in multipath-udeb_0.5.0+git1.656f8865 uses the
service-time as default path selector for some time.
See also git commit:

https://anonscm.debian.org/cgit/pkg-lvm/multipath-tools.git/commit/libmultipath/defaults.h?id=1bcf07988d7dc026099242a2a787178fdd27f8d1

The attached patch updates the disk-detect.sh script to the
dm-service-time.ko kernel module.  Note that I have already
opened the below Debian bug to include the dm-service-time.ko
module into the multipath-module package:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806131

So this bug report slightly depends on the above.

A possible workaround is to create the multipath.conf file with
round-robin as default path selector.  This might be a good choice
for a jessie backport if it is required.

Thanks and kind regards,
  Hendrik

-- 
Hendrik Brueckner
brueckner@linux.vnet.ibm.com      | IBM Deutschland Research & Development GmbH
Linux on z Systems Development    | Schoenaicher Str. 220, 71032 Boeblingen
>From aab885128205ce9a29741e3c8578d4b79e9d3d88 Mon Sep 17 00:00:00 2001
From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Date: Fri, 27 Nov 2015 11:28:05 +0100
Subject: [PATCH] disk-detect/multipath: load service-time path selector module

Load the dm-service-time.ko kernel module to make the service-time path
selector available.  Note that service-time is the default path selector
for some years.

See also
https://anonscm.debian.org/cgit/pkg-lvm/multipath-tools.git/commit/libmultipath/defaults.h?id=1bcf07988d7dc026099242a2a787178fdd27f8d1

Depends on Debian Bug #806131

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
---
 disk-detect.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/disk-detect.sh b/disk-detect.sh
index 8498f4f..88f67c6 100755
--- a/disk-detect.sh
+++ b/disk-detect.sh
@@ -202,7 +202,7 @@ fi
 db_get disk-detect/multipath/enable
 if [ "$RET" = true ]; then
 	if anna-install multipath-udeb; then
-		MODULES="dm-mod dm-multipath dm-round-robin dm-emc"
+		MODULES="dm-mod dm-multipath dm-service-time dm-round-robin dm-emc"
 		# We need some dm modules...
 		depmod -a >/dev/null 2>&1 || true
 		for MODULE in $MODULES; do
-- 
2.6.2


Reply to: