[PATCH] RFC: Don't relly on /proc/mdstat when enumeraing RAID levels.
David Lehman
dlehman at redhat.com
Fri Apr 19 15:27:50 UTC 2013
On Fri, 2013-04-12 at 16:55 +0200, Jan Safranek wrote:
> /proc/mdstat can be empty or contain mostly random RAID levels. Blivet
> should either modrpobe all RAID kernel modules (raid0, raid1, raid456, raid10)
> which then populate /proc/mdstat correctly, or don't read /proc/mdstat at all.
>
> This patch simply removes parsing of /proc/mdstat. Do we expect that someone
> runs Blivet on a kernel which does not support certain RAID levels?
I'm comfortable with telling users not to try to make arrays using
levels their system does not support.
I like this patch. Can you verify that mdadm will load the appropriate
module if/when mdadm is asked to create an a new array?
More information about the anaconda-patches
mailing list