Software RAID + LVM2

Michael Tautschnig mt at debian.org
Tue Feb 8 13:04:20 CET 2011


Hi Fredrik,

So here comes the first of my questions/request for further experiment:

[...]
> I followed your lead and, instead of earlier changes, just added a
> lsmod line before get_current_lvm like this
> 
> system "/sbin/lsmod";
> &FAI::get_current_lvm;
> 
> 
> So I got a printout of all the modules
> 
> md_mod                 73824  0
> 
> included, followed by
> 
>     Finding all volume groups
>   No volume groups found
> (CMD) mdadm --examine --scan --verbose -c partitions 1>
> /tmp/9zLFVW5FMG 2> /tmp/VtouZRXPYf
> Executing: mdadm --examine --scan --verbose -c partitions
> 
> etc and later still
> 
> Current LVM layout
> $VAR1 = {};
> 
> which is not empty if we run mdadm-startall before get_current_lvm.
[...]

In your NFSROOT, or rather at the time of running setup-storage, do you have
either /etc/mdadm/mdadm.conf or /etc/mdadm.conf? I just checked the contents of
mdadm-startall, which seems to use those files if available. If this is not the
case for you, it will be creating such a file - which presumably we also could
do within setup-storage. 

Thanks a lot,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20110208/64b78131/attachment.bin>


More information about the linux-fai mailing list