Bug#311261: libdevmapper1.01: dm-mod makes HW-RAID partitions inmountable

Marcel Gschwandl Marcel Gschwandl <tautau@gmx.ch>, 311261@bugs.debian.org
Mon, 30 May 2005 11:02:36 +0200


Package: libdevmapper1.01
Version: 2:1.01.00-4
Severity: important

We are using a Dell PowerEdge 2600 which has an integrated PERC 4/Di
SCSI-RAID-controller (which is actually is an LSI MegaRaid controller).
The first four drives connected to the controller are used as an 100GB
RAID5 and the last two as an 142GB RAID1 with the following
partitioning:

   Device Boot      Start         End      Blocks   Id  System
   /dev/sda1               1           4       32098+  de  Dell Utility
   /dev/sda2   *           5         247     1951897+  83  Linux
   /dev/sda3             248         490     1951897+  82  Linux swap
   /dev/sda4             491       13262   102591090    5  Extended
   /dev/sda5             491         976     3903763+  83  Linux
   /dev/sda6             977        1462     3903763+  83  Linux
   /dev/sda7            1463        1705     1951866   83  Linux
   /dev/sda8            1706        3164    11719386   83  Linux
   /dev/sda9            3165        3650     3903763+  83  Linux
   /dev/sda10           6576       13262    53713296   83  Linux

   Device Boot      Start         End      Blocks   Id  System
   /dev/sdb1               1       17834   143251573+  83  Linux

Now, after an update of libdevmapper the initscript
/etc/init.d/libdevmapper1.01 loads dm-mod which makes /dev/sdb1
inmountable. The partitions on sda have/make no problems.
After removing /etc/rcS.d/S25libdevmapper1.01 everything works fine
again.
The actual problem is that even that we don't use lvm or something like
it we can not prevent libdevmapper from being installed as lilo depends
on it. So we think a potential solution could be asking during the
installation if this initscript should be enabled.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)