﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
495	libmondo-raid.c->parse_mdstat#1065: Unknown RAID level '(auto-read-only)'.	Sven-Haegar Koch	Bruno Cornec	"Trying to create a backup with mondo fails because it can not parse my RAID setup:
{{{
Initializing...
See /var/log/mondoarchive.log for details of backup run.
Checking sanity of your Linux distribution
Disk /dev/md127 doesn't contain a valid partition table
Disk /dev/md126 doesn't contain a valid partition table
You have RAID partitions but no /etc/raidtab - creating one from /proc/mdstat
Sorry, cannot read /proc/mdstat
Done.
---FATALERROR--- Failed to generate boot+data disks
}}}

The linux software raid setup is:
{{{
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md126 : active (auto-read-only) raid1 sda2[0] sdb2[1]
      3999872 blocks [2/2] [UU]
      bitmap: 0/123 pages [0KB], 16KB chunk

md127 : active raid1 sda3[0] sdb3[1]
      234374912 blocks [2/2] [UU]
      bitmap: 5/224 pages [20KB], 512KB chunk

unused devices: <none>
}}}
md126 is a swap partition which has not been written to since the last boot.

When parsing /proc/mdstat it should ignore the ""(auto-read-only)"" if it exists and use the next word as the raid level.

Greetings
Sven
"	defect	closed	normal	3.0.0	mondo	2.2.9.7	normal	fixed		
