Bug#506442: mdadm: Fails to stop md array on / (failed busy)

Michael Biebl biebl at debian.org
Sun Nov 23 11:04:14 UTC 2008


martin f krafft wrote:
> also sprach Michael Biebl <biebl at debian.org> [2008.11.21.1531 +0100]:
>> so, what do you think about suppressing this warning message for the root fs then?
>> If it's all well, it would allay my fears, if I didn't have this scary, red
>> error message on each shutdown.
> 
> How can you determine which md arrays are part of the root
> filesystem? You might have md devices part of the md device that
> provides root, or LVM...
> 
> If you can find a fail-proof way to inhibit this warning when it
> makes sense, I am happy to leave this bug open, but otherwise I fear
> the FAQ will be as good as it gets.
> 

LVM on Raid complicates things, sure.
But for pure RAID systems, withouth LVM, as I currently use, the check would
simply be:
1) Try to stop the md array (e.g. /dev/md0)
2.) If it is busy, check if /dev/md0 is mounted as /
3.) If so, suppress the warning.

We maybe can't cover all cases, but as long as there are no false-positives,
where warning messages are suppressed when they shouldn't, why not implement a
"imperfect" solution?

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20081123/454efe22/attachment.pgp 


More information about the pkg-mdadm-devel mailing list