Bug#534571: mdadm --grow on raid with bitmap should give sensible error message

Goswin Brederlow goswin-v-b at web.de
Thu Jun 25 11:17:20 UTC 2009


Package: mdadm
Version: 2.6.9-3
Severity: normal

Hi,

when I try to resize/reshape a raid with internal bitmap mdadm fails
saying the device is busy and dmesg shows that the raid layer returned
error -16.

The reason why it fails is that resizing and reshaping doesn't know
how to handle the bitmap. Mdadm should detect that a raid has a bitmap
and give a proper error message, possibly even suggest to remove the
bitmap for the duration of the resize/reshape.

MfG
	Goswin

-- System Information:
Debian Release: squeeze/sid
  APT prefers transitional-i386
  APT policy: (500, 'transitional-i386'), (500, 'transitional'), (500, 'unstable'), (400, 'unstable-i386'), (1, 'experimental-i386'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29.4-frosties-1
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages mdadm depends on:
ii  debconf                       1.5.26     Debian configuration management sy
ii  libc6                         2.9-17     GNU C Library: Shared libraries
ii  lsb-base                      3.2-22     Linux Standard Base 3.2 init scrip
ii  makedev                       2.3.1-88   creates device files in /dev
ii  udev                          0.141-1    /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  exim4-daemon-heavy [mail-tran 4.69-11    Exim MTA (v4) daemon with extended
ii  module-init-tools             3.9-2      tools for managing Linux kernel mo

mdadm suggests no packages.

-- debconf information excluded





More information about the pkg-mdadm-devel mailing list