Bug#664088: mdadm fails to initialize components for bitmap

Markus Hochholdinger Markus at hochholdinger.net
Fri Apr 13 13:04:18 UTC 2012


Hello karme,

Am 13.04.2012 um 14:50 Uhr schrieb Markus Hochholdinger 
<Markus at hochholdinger.net>:
> Am 13.04.2012 um 13:56 Uhr schrieb karme at karme.de:
[..]
> > PPS: would really help me if this gets fixed as i rely on the bitmap
> > feature to sync my laptop to an external usb disk before leaving home
> If you use a older version of mdadm, it shouldn't crash the kernel.

I just compiled mdadm from squeeze and linked it static (on a squeeze system):
cd /usr/local/src/
apt-get source mdadm
apt-get build-dep mdadm
cd mdadm-*
diff Makefile.original Makefile
87,88c87,88
< # LDFLAGS = -static
< # STRIP = -s
---
> LDFLAGS = -static
> STRIP = -s
debian/rules binary

With the resulting binary I have successful removed and added a raid1 bitmap 
within a wheezy system without kernel crash or reboot.


-- 
greetings

eMHa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20120413/441e7924/attachment.pgp>


More information about the pkg-mdadm-devel mailing list