﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
17	/proc/mdstat parser bug	roelof@…	Bruno Cornec	"I think I found a bug in the mdstat raidlevel parser. For md0, the raidlevel is merged with the device name of the last raid member, resulting in an illegal 'raid1ed1' raidlevel name.[[BR]]
[[BR]]
mondoarchive v2.0.8-666[[BR]]
RHEL4 rpm under CENTOS 4.3.[[BR]]
mdadm - v1.6.0 - 4 June 2004[[BR]]
kernel 2.6.9-34.0.2.ELsmp[[BR]]
{{{
[root@magrathea /]# cat /proc/mdstat
Personalities : [raid1] [raid5]
md1 : active raid1 hdi3[2] hdg3[1] hde3[0]
10008384 blocks [3/3] [UUU]

md2 : active raid5 hdi4[2] hdg4[1] hde4[0]
346570112 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

md0 : active raid1 hdi1[2] hdg1[1] hde1[0]
10008384 blocks [3/3] [UUU]

unused devices: <none>
}}}
relevant part of mondo-archive.log:
{{{
running: parted2fdisk -l | grep -i raid > /tmp/mondo-run-prog-thing.tmp 2> /tmp/mondo-run-prog-thing.err
--------------------------------start of output-----------------------------
/dev/hde1 * 1 1246 10008463+ fd Linux raid autodetect
/dev/hde3 1497 2742 10008495 fd Linux raid autodetect
/dev/hde4 2743 24315 173285122+ fd Linux raid autodetect
/dev/hdg1 * 1 1246 10008463+ fd Linux raid autodetect
/dev/hdg3 1497 2742 10008495 fd Linux raid autodetect
/dev/hdg4 2743 24315 173285122+ fd Linux raid autodetect
/dev/hdi1 * 1 1246 10008463+ fd Linux raid autodetect
/dev/hdi3 1497 2742 10008495 fd Linux raid autodetect
/dev/hdi4 2743 24315 173285122+ fd Linux raid autodetect
--------------------------------end of output------------------------------
...ran just fine. :-)
You have RAID partitions but no /etc/raidtab - creating one from /proc/mdstat
[Main] libmondo-raid.c->parse_mdstat#1100: Unknown RAID level 'raid1ed1'.

Sorry, cannot read /proc/mdstat
Done.
}}}"	defect	closed	normal	2.2.0	mondo	2.0.8	normal	fixed		
