Bug#557359: Can't detect multipath devices

Guido Günther agx at sigxcpu.org
Sat Nov 21 17:30:51 UTC 2009


Package: grub-common
Version: 1.97+20091115-1
Severity: critical
File: /usr/sbin/grub-probe

Hi,
grub-probe is unable to handle multipath devices:

node1:~# dpkg --configure -a
Setting up grub-pc (1.97+20091115-1) ...
Generating core.img
grub-probe: error: no mapping exists for `mpath0-part1'
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of grub:
 grub depends on grub-pc; however:
  Package grub-pc is not configured yet.
dpkg: error processing grub (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 grub-pc
 grub

This breaks upgrades from Lenny to sid. The multipath map is:

# multipath -l
mpath0 (SQEMU   QEMU HARDDISK  ) dm-0 QEMU,QEMU HARDDISK
size=10G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=-1 status=active
  `- 0:0:0:0 sda 8:0 active undef running

# dmsetup info /dev/mapper/mpath0
Name:              mpath0
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        2
Event number:      1
Major, minor:      254, 0
Number of targets: 1
UUID: mpath-SQEMU   QEMU HARDDISK  

Reinstalling grub-legacy works around the issue.
Cheers,
 -- Guido


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-rc7 (SMP w/2 CPU cores)
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 grub-common depends on:
ii  base-files             5.0.0             Debian base system miscellaneous f
ii  libc6                  2.10.1-7          GNU C Library: Shared libraries
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages grub-common recommends:
ii  os-prober                     1.35       utility to detect other OSes on a 

Versions of packages grub-common suggests:
pn  grub-emu                      <none>     (no description available)
pn  multiboot-doc                 <none>     (no description available)

-- no debconf information





More information about the Pkg-grub-devel mailing list