[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]