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

Re: mdadm no devices listet in conf



Jörg Sommer wrote:

> Hallo Matthias,
> 
> Matthias Meyer <matthias.meyer@gmx.li> wrote:
>> Beim booten sagt er dann:
>> mdadm: No devices listed in conf file were found
>> und ich lande (nach einiger Zeit) in der initramfs.
>>
>> (initramfs) cat /proc/modules           -> raid1 ist geladen
>> (initramfs) cat /proc/partitions        -> alle Partitions sind
>> vorhanden. Aber keine /dev/md0 oder /dev/md1
> 
> Was sagt an dieser Stelle ein
> 
> mdadm -E /dev/sd?
> 
> Stimmen die UUIDs?
StorageServer:~# mdadm -E /dev/sda2
/dev/sda2:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : dca03c96:da489e99:acbbc154:7c8c9b3d
  Creation Time : Mon Aug 10 16:39:45 2009
     Raid Level : raid1
  Used Dev Size : 33543616 (31.99 GiB 34.35 GB)
     Array Size : 33543616 (31.99 GiB 34.35 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1

    Update Time : Fri Aug 14 22:50:02 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 20625c5e - correct
         Events : 6


      Number   Major   Minor   RaidDevice State
this     0       8        2        0      active sync   /dev/sda2

   0     0       8        2        0      active sync   /dev/sda2
   1     1       8       18        1      active sync   /dev/sdb2

Die UUID stimmt.
> 
>> Wenn ich jetzt eingebe:
>> (initramfs) mdadm --assemble --scan
>> (initramfs) cat /proc/partitions        -> auch /dev/md0 und /dev/md1
>> sind vorhanden. (initramfs) exit
>>
>> dann bootet er.
>>
>> /etc/mdadm/mdadm.conf
>> # definitions of existing MD arrays
>> ARRAY /dev/md0 level=raid1 num-devices=2
>> UUID=f700054a:9aa5a816:3cf1248c:079be608 ARRAY /dev/md1 level=raid1
>> num-devices=2 UUID=dca03c96:da489e99:acbbc154:7c8c9b3d
> 
> Ist das die Datei auf der initrd oder die in Deinem System?

In meinem System, nachdem ich gebooted habe.
Wie kann ich jene aus der initrd anschauen?
Was würde passieren wenn ich eine Platte tausche? Muss ich dann die initrd
anpassen? Wie?
> 
> Schöne Grüße, Jörg.

Thanks
Matthias
-- 
Don't Panic


Reply to: