Your message dated Thu, 21 Dec 2006 19:32:55 +0100
with message-id <[EMAIL PROTECTED]>
and subject line fixed by multipath-tools-initramfs
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: multipath-tools
Severity: wishlist
Tags: patch

Hi,
all of multipath is pretty useless if we don't already detect the MPs
from the initrd. multipath-tools come with scripts (01_udev,
02_multipath) that can be put into /etc/mkinitrd/scripts to do just
this. I'm using the attached small patch to make these tools work on
current Debian.
Cheers,
 -- Guido

diff -Naur tmp/multipath-tools-0.4.1/multipath/01_udev 
multipath-tools-0.4.1/multipath/01_udev
--- tmp/multipath-tools-0.4.1/multipath/01_udev 2004-12-06 18:11:11.000000000 
+0100
+++ multipath-tools-0.4.1/multipath/01_udev     2004-12-21 09:32:03.000000000 
+0100
@@ -42,9 +42,10 @@
 #modprobe dm-multipath
 /sbin/udevstart
 
-umount -n tmp
-umount -n sys
-umount -n proc
+umount tmp
+umount sys
+umount proc
 
 sleep 2
 EOF
+chmod a+x $INITRDDIR/scripts/10_udev.sh
diff -Naur tmp/multipath-tools-0.4.1/multipath/02_multipath 
multipath-tools-0.4.1/multipath/02_multipath
--- tmp/multipath-tools-0.4.1/multipath/02_multipath    2004-12-06 
18:11:11.000000000 +0100
+++ multipath-tools-0.4.1/multipath/02_multipath        2004-12-21 
09:32:07.000000000 +0100
@@ -15,7 +15,10 @@
 cp /sbin/scsi_id $INITRDDIR/sbin
 cp /bin/mountpoint $INITRDDIR/bin
 
-PROGS="/sbin/scsi_id /bin/mountpoint"
+# used by multipath
+mkdir -p $INITRDDIR/var/run
+
+PROGS="/sbin/scsi_id /bin/mountpoint /sbin/multipath /sbin/kpartx 
/sbin/devmap_name"
 LIBS=`ldd $PROGS | grep -v linux-gate.so | sort -u | \
 awk '{print $3}'` 
 for i in $LIBS
diff -Naur tmp/multipath-tools-0.4.1/multipath/multipath.dev 
multipath-tools-0.4.1/multipath/multipath.dev
--- tmp/multipath-tools-0.4.1/multipath/multipath.dev   2004-12-06 
18:11:11.000000000 +0100
+++ multipath-tools-0.4.1/multipath/multipath.dev       2004-12-20 
14:33:40.000000000 +0100
@@ -7,7 +7,7 @@
        exit
 fi
 
-map=$(/sbin/multipath -v 1 $DEVNAME)
+map=$(/sbin/multipath -S -v 1 $DEVNAME)
 
 if [ -z $map ]
 then


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.10-rc3-agx0
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


--- End Message ---
--- Begin Message ---
Version: 0.4.7-2

multipath-tools-initramfs does exactly that.
Cheers,
 -- Guido

--- End Message ---

Reply via email to