[linux-l] Software-Raid Fragen

Steffen Dettmer steffen at dett.de
Mo Sep 8 09:55:52 CEST 2003


Hi,

hab da ein paar Linux-Software-Raids. Eigentlich möchte ich drei
Platten mit RAID5 betreiben und eine spare haben. 

mdadm --detail /dev/md2

find ich etwas komisch (ist bei drei Installationen so):

[...]
   Raid Devices : 3
  Total Devices : 5
[...]
          State : dirty, no-errors
 Active Devices : 3
Working Devices : 4
 Failed Devices : 1
  Spare Devices : 1
[...]
    Number   Major   Minor   RaidDevice State
       0      33        4        0      active sync   /dev/hde4
       1      33       68        1      active sync   /dev/hdf4
       2      34        4        2      active sync   /dev/hdg4
       4      34       68        4      spare   /dev/hdh4

Eingerichtet mit --raid-drives=3, die Spare anschließend
hinzugefügt. Die Tabelle unten stimmt ja noch, aber wieso kommt
er auf 5 (!) Total devices und 1 Failed device? Und welches soll
das sein? Seh da nur active sync und spare, also doch prima?!
Wieso ist state "dirty, no-errors"? Dieses RAID set ist per Hand
mit mdadm erstellt. Ich hab noch zwei solcher Sets (von jemand
anders erstellt, ich glaub, eines davon mit yast2). Alle sind
"dirty, no-errors". Das RAID hab ich gestern neu gemacht (und mit
--zero-superblock angefangen, um wirklich sicherzugehen, daß nix
reinstreut, was ich nicht mehr möchte). 

Komisch ist auch:

[...]
   Raid Devices : 3
  Total Devices : 4
[...]
          State : dirty, no-errors
 Active Devices : 3
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 1
[...]
       0       3        3        0      active sync   /dev/hda3
       1       3       67        1      active sync   /dev/hdb3
       2      22        3        2      active sync   /dev/hdc3
       3      22       67        3        /dev/hdd3

Warum steht hier nicht "spare" dran? Hier stimmen die Zahlen
schon mal besser, find ich, bloß trozdem "dirty, no-errors"?!

Was ist da los?

Ich hab auf das md2 ein LVM gemacht, wegen "für später
vielleicht". Weiß jemand, ob das bei einer SuSE 8.2 beim booten
automatisch hochkommt? 

oki,

Steffen

-- 
Dieses Schreiben wurde maschinell erstellt,
es trägt daher weder Unterschrift noch Siegel.




Mehr Informationen über die Mailingliste linux-l