Bug#434241: please include "dmsetup export" patch

Guido Guenther agx at sigxcpu.org
Sun Jul 22 14:46:51 UTC 2007


Package: dmsetup
Version: 2:1.02.20-2
Severity: wishlist

Hi,
to automatically (and reliably - so we can finally fix #376161) setup
the partitions of multipath'ed devices current multipath-tools would
like to use this kind of udev rule:

ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="mpath-*", \
        RUN+="/sbin/kpartx -a -p -part /dev/$kernel"

therefore we need DM_STATE and DM_UUID in the environment. SuSE 10 and
Ubuntu do this via:

IMPORT{program}="/sbin/dmsetup export -j%M -m%m"

however for this to work, this patch to dmsetup is needed:

http://ftp.frugalware.org/pub/frugalware/frugalware-current/source/lib/device-mapper/device-mapper-dmsetup-export.patch

The patch looks harmless. Note however that upstream won't include it as
is:

http://marc.info/?l=dm-devel&m=118495003628017&w=2

So we won't see an upstream solution too soon. Please consider applying
the patch so we finally have reliable multipathing. Let me know if I can
help in any way.
Cheers,
 -- Guido

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.22-rc6-g48b8ff73
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dmsetup depends on:
ii  libc6                        2.6-2       GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.20-2 The Linux Kernel Device Mapper use
ii  libselinux1                  2.0.15-2+b1 SELinux shared libraries
ii  libsepol1                    2.0.3-1+b1  Security Enhanced Linux policy lib

dmsetup recommends no packages.

-- no debconf information




More information about the pkg-lvm-maintainers mailing list