RAID Eine Platte weg!

26/09/2007 - 13:27 von Schultze | Report spam
Hallo Gruppe,

ich habe hier ein Problem mit einem Software-RAID und brauche einen
Stubs in die richtige Richtung:

In einem Rechner sitzen zwei identische Platte, gleich partitioniert
und zu RAID1 zusammengeschaltet.
Nach einem kapitalen Schaden am Board, habe ich dieses getauscht und
nun làuft die zweite Platte nicht mehr im RAID. Die Platte scheint
jedoch fehlerfrei zu sein.

Hier die Ausgabe von dmesg:

pped.
considering hdc1 ...
adding hdc1 ...
adding hda1 ...
created md0
bind<hda1,1>
bind<hdc1,2>
running: <hdc1><hda1>
now!
hdc1's event counter: 000001cb
hda1's event counter: 000001e2
md: superblock update time inconsistency -- using the most recent one
freshest: hda1
md: kicking non-fresh hdc1 from array!
unbind<hdc1,1>
export_rdev(hdc1)
request_module[md-personality-3]: Root fs not mounted
do_md_run() returned -22
unbind<hda1,0>
export_rdev(hda1)
md0 stopped.
... autorun DONE.
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
raid1 personality registered
autodetecting RAID arrays
(read) hda1's sb offset: 10432 [events: 000001e2]
(read) hda3's sb offset: 1024064 [events: 000001e2]
(read) hda5's sb offset: 13837696 [events: 000001e8]
(read) hdc1's sb offset: 10432 [events: 000001cb]
(read) hdc3's sb offset: 1024064 [events: 000001cb]
(read) hdc5's sb offset: 13837696 [events: 000001d1]
autorun ...
considering hdc5 ...
adding hdc5 ...
adding hda5 ...
created md2
bind<hda5,1>
bind<hdc5,2>
running: <hdc5><hda5>
now!
hdc5's event counter: 000001d1
hda5's event counter: 000001e8
md: superblock update time inconsistency -- using the most recent one
freshest: hda5
md: kicking non-fresh hdc5 from array!
unbind<hdc5,1>
export_rdev(hdc5)
md2: max total readahead window set to 128k
md2: 1 data-disks, max readahead per data-disk: 128k
raid1: device hda5 operational as mirror 0
raid1: md2, not all disks are operational -- trying to recover array
raid1: raid set md2 active with 1 out of 2 mirrors
md: updating md2 RAID superblock on device
hda5 [events: 000001e9](write) hda5's sb offset: 13837696
md: recovery thread got woken up ...
md2: no spare disk to reconstruct array! -- continuing in degraded
mode
md: recovery thread finished ...
.
considering hdc3 ...
adding hdc3 ...
adding hda3 ...
created md1
bind<hda3,1>
bind<hdc3,2>
running: <hdc3><hda3>
now!
hdc3's event counter: 000001cb
hda3's event counter: 000001e2
md: superblock update time inconsistency -- using the most recent one
freshest: hda3
md: kicking non-fresh hdc3 from array!
unbind<hdc3,1>
export_rdev(hdc3)
md1: max total readahead window set to 128k
md1: 1 data-disks, max readahead per data-disk: 128k
raid1: device hda3 operational as mirror 0
raid1: md1, not all disks are operational -- trying to recover array
raid1: raid set md1 active with 1 out of 2 mirrors
md: updating md1 RAID superblock on device
hda3 [events: 000001e3](write) hda3's sb offset: 1024064
md: recovery thread got woken up ...
md1: no spare disk to reconstruct array! -- continuing in degraded
mode
md2: no spare disk to reconstruct array! -- continuing in degraded
mode
md: recovery thread finished ...
.
considering hdc1 ...
adding hdc1 ...
adding hda1 ...
created md0
bind<hda1,1>
bind<hdc1,2>
running: <hdc1><hda1>
now!
hdc1's event counter: 000001cb
hda1's event counter: 000001e2
md: superblock update time inconsistency -- using the most recent one
freshest: hda1
md: kicking non-fresh hdc1 from array!
unbind<hdc1,1>
export_rdev(hdc1)
md0: max total readahead window set to 128k
md0: 1 data-disks, max readahead per data-disk: 128k
raid1: device hda1 operational as mirror 0
raid1: md0, not all disks are operational -- trying to recover array
raid1: raid set md0 active with 1 out of 2 mirrors
md: updating md0 RAID superblock on device
hda1 [events: 000001e3](write) hda1's sb offset: 10432
md: recovery thread got woken up ...
md0: no spare disk to reconstruct array! -- continuing in degraded
mode
md1: no spare disk to reconstruct array! -- continuing in degraded
mode
md2: no spare disk to reconstruct array! -- continuing in degraded
mode
md: recovery thread finished ...
.

mdstat sieht so aus:

Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 hda1[0] 10432 blocks [2/1] [U_]
md1 : active raid1 hda3[0] 1024064 blocks [2/1] [U_]
md2 : active raid1 hda5[0] 13837696 blocks [2/1] [U_]
unused devices: <none>


Was kann ich nun machen um die Platte wieder in das RAID einzubinden,
bzw. wo liegt eigentlich der Fehler.

Gruß,
Schultze
 

Lesen sie die antworten

#1 Hauke Laging
26/09/2007 - 15:14 | Warnen spam
Schultze wrote:

md: superblock update time inconsistency -- using the most recent one
freshest: hda1
md: kicking non-fresh hdc1 from array!

Was kann ich nun machen um die Platte wieder in das RAID einzubinden,
bzw. wo liegt eigentlich der Fehler.



Die Platten sind nicht mehr synchron. Du musst irgendwie die zweite Platte
dem Array hinzufügen; so, als wàre sie defekt und durch eine neue ersetzt
worden. Wie das geht, làsst sich sicher leicht nachlesen; ich tippe mal auf
man mdadm.


CU

Hauke

Ähnliche fragen