Package: mdadm
Version: 1.9.0-2.3
Severity: critical
Justification: breaks the whole system

After moving to the latest version of mdadm, and kernel 2.6.11-1-k7 (2.6.11-5), 
I was unable to reboot my system. I was able to fix this problem by changing 
the symbols I use to represent my RAID arrays.

There's been a problem with mdadm for some time. Although I used the symbols 
"/dev/md[1-3]" in my /etc/fstab  and in /etc/lilo.conf and in 
/etc/mdadm/mdadm.conf to configure my RAID arrays, the command in 
/boot/initrd.img-<version>/script uses the format "mdadm -A /dev/md/[1-3]" 
instead. 

After the move to the latest mdadm, kernel , and initrd-tools (0.80.0) I 
attempted to reboot and could not do so. The md/3 device would not start, 
reiserfs couldn't pass the check, and the system hangs until I intervene.

Once I figured out that the /dev/md3 was not starting at all (and that reiserfs 
was reporting, incorrectly, a superblock problem) I was able to start this 
device manually. Howver, and this seems to be the crux of the problem, I can't 
use "mdadm --assemble /dev/md/3" to start the array if I use the notation 
"/dev/md3" in the mdadm.conf file.

After some further fiddling around, I decided to change lilo.conf, mdadm.conf, 
and fstab to all use the form "/dev/md/[1-3]". When I made this change, I was 
able to reboot without any problems.

So... this seems to be an error in how mdadm configuration works, a mismatch 
between the command that generates the "mdadm -A" command that goes into the 
system startup and the contents of the conf file. What changed in the most 
recent version of mdadm isn't clear to me, but I have my work-around.

What's suprising is that even after I've changed the mdadm.conf file to read 
/dev/md/[1-3], the command "mdadm --examine" still produces output in the form 
/dev/md[1-3].


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mdadm depends on:
ii  debconf                     1.4.49       Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  makedev                     2.3.1-78     creates device files in /dev

-- debconf information:
* mdadm/autostart: true
* mdadm/warning:
* mdadm/start_daemon: true
* mdadm/mail_to: moshe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to