[lvm-devel] Re: LVM2/test t-pvcreate-operation-md.sh

Milan Broz mbroz at redhat.com
Mon Sep 14 17:11:30 UTC 2009


Mike Snitzer wrote:
> We might try loading the raid0 module if it isn't loaded (grep for raid0
> in /proc/mdstat)?  And if that fails skip this test?

I have intentionally all modules unloaded (and do not want sometimes run md tests),
raid0 is loaded automatically, if md_mod is loaded (then /proc/mdstat exists).

If md_mod is not there, test fails. For most systems it is loaded in initrd anyway.

That was just quick hack, I think there is problem in mdadm, because it created
some device node even if md module is not present - but I have no time to debug it now.

Milan





More information about the lvm-devel mailing list