Hallo Liste,
Ich habe hier ein Software Raid 5 am laufen, zumindest bis heute.
Aufbau:
3 Platten mit je 40 GB - hdb1,hdc1,hde1
Reihenfolge in Configfile wie oben angegeben.
keine spare disks
Ich habe heute einen Totalausfall(haenger des Systems) und musste
einen harten Reset machen(liess sich leider nicht vermeiden).
Seitdem laeuft das Raid nur noch mit hdb und hdc, hde wird nicht
mehr eingebunden.
Logischer weise habe ich nun auch keine Zugriff darauf.
Meldung in /var/log/messages:
linux kernel: (read) hdb1's sb offset: 39086016
[events: 0000003e]
Oct 28 19:37:00 linux kernel: (read) hdc1's sb offset: 39088576
[events: 0000003e]
Oct 28 19:37:00 linux kernel: autorun ...
Oct 28 19:37:00 linux kernel: considering hdc1 ...
Oct 28 19:37:00 linux kernel: adding hdc1 ...
Oct 28 19:37:00 linux kernel: adding hdb1 ...
Oct 28 19:37:00 linux kernel: created md0
Oct 28 19:37:00 linux kernel: bind
Oct 28 19:37:00 linux kernel: bind
Oct 28 19:37:00 linux kernel: running: <hdc1><hdb1>
Oct 28 19:37:00 linux kernel: now!
Oct 28 19:37:00 linux kernel: hdc1's event counter: 0000003e
Oct 28 19:37:00 linux kernel: hdb1's event counter: 0000003e
Oct 28 19:37:00 linux kernel: md0: max total readahead window set to
256k
Oct 28 19:37:00 linux kernel: md0: 2 data-disks, max readahead per
data-disk: 128k
Oct 28 19:37:00 linux kernel: raid5: device hdc1 operational as raid
disk 1
Oct 28 19:37:00 linux kernel: raid5: device hdb1 operational as raid
disk 0
Oct 28 19:37:00 linux kernel: raid5: md0, not all disks are
operational -- trying to recover array
Oct 28 19:37:00 linux kernel: raid5: allocated 3206kB for md0
Oct 28 19:37:00 linux kernel: raid5: raid level 5 set md0 active
with 2 out of 3 devices, algorithm 0
Oct 28 19:37:00 linux kernel: RAID5 conf printout:
Oct 28 19:37:00 linux kernel: --- rd:3 wd:2 fd:1
Oct 28 19:37:00 linux kernel: disk 0, s:0, o:1, n:0 rd:0 us:1
dev:hdb1
Oct 28 19:37:00 linux kernel: disk 1, s:0, o:1, n:1 rd:1 us:1
dev:hdc1
Oct 28 19:37:00 linux kernel: disk 2, s:0, o:0, n:2 rd:2 us:1
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 3, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 4, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 5, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 6, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 7, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 8, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 9, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 10, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 11, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: RAID5 conf printout:
Oct 28 19:37:00 linux kernel: --- rd:3 wd:2 fd:1
Oct 28 19:37:00 linux kernel: disk 0, s:0, o:1, n:0 rd:0 us:1
dev:hdb1
Oct 28 19:37:00 linux kernel: disk 1, s:0, o:1, n:1 rd:1 us:1
dev:hdc1
Oct 28 19:37:00 linux kernel: disk 2, s:0, o:0, n:2 rd:2 us:1
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 3, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 4, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 5, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 6, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 7, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 8, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 9, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 10, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: disk 11, s:0, o:0, n:0 rd:0 us:0
dev:[dev 00:00]
Oct 28 19:37:00 linux kernel: md: updating md0 RAID superblock on
device
Oct 28 19:37:00 linux kernel: hdc1 [events: 0000003f](write) hdc1's
sb offset: 39088576
Oct 28 19:37:00 linux kernel: md: recovery thread got woken up ...
Oct 28 19:37:00 linux kernel: md0: no spare disk to reconstruct
array! -- continuing in degraded mode
Oct 28 19:37:00 linux kernel: md: recovery thread finished ...
Oct 28 19:37:00 linux kernel: hdb1 [events: 0000003f](write) hdb1's
sb offset: 39086016
Oct 28 19:37:00 linux kernel: .
Oct 28 19:37:00 linux kernel: ... autorun DONE.
Das File /etc/raidtab:
raiddev /dev/md0
raid-level 5
persistent-superblock 1
chunk-size 4
nr-raid-disks 3
device /dev/hdb1
raid-disk 0
device /dev/hdc1
raid-disk 1
device /dev/hde1
raid-disk 2
Die Platte hde1 is ansprechbar und aktiv.
Leider muss ich zugeben, dass ich keine Ahnung habe, wie ich das
Dateisystem(ext2) ueberpruefen kann.
Jedoch ist die Platte in Ordnung doch wird einfach nicht mehr
eingebunden.
Ich habe schon das HOWTO in Englisch und Deutsch mehrmals
duchgelesen und div. andere Quellen besucht, jedoch ohne Ergebniss.
Bitte um Hilfe
Alexander
Sorry falls es ein bischen viel wurde, aber ich wusste nicht so
recht was nun wichtig ist und was nicht.
--
Alles geht, mann muss nur wissen wie!!!!
Alexander Fieger | mailto:alex.fieger@keule4u.de