md2 kaputt

Seryoga

New Member
Hallo,

bei meinem EQ9 ist seit 2 Tagen das RAID5 ein bisschen im Einmer.

Code:
root@rescue ~ # cat /proc/mdstat
Personalities : [raid1]
md2 : inactive sdb3[1](S) sdc3[2](S) sda3[0](S)
      4376491200 blocks

md1 : active raid1 sda2[0] sdc2[3](F) sdb2[1]
      2104448 blocks [3/2] [UU_]

md0 : active raid1 sda1[0] sdc1[2] sdb1[1]
      4200896 blocks [3/3] [UUU]

unused devices: <none>

Code:
root@rescue ~ # mdadm --detail /dev/md2
mdadm: md device /dev/md2 does not appear to be active.

Code:
root@rescue ~ # fdisk -l /dev/sda

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e7d70

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         523     4200966   fd  Linux raid autodetect
/dev/sda2             524         785     2104515   fd  Linux raid autodetect
/dev/sda3             786      182401  1458830520   fd  Linux raid autodetect
root@rescue ~ # fdisk -l /dev/sdb

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a52cc

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         523     4200966   fd  Linux raid autodetect
/dev/sdb2             524         785     2104515   fd  Linux raid autodetect
/dev/sdb3             786      182401  1458830520   fd  Linux raid autodetect
root@rescue ~ # fdisk -l /dev/sdc

Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000576ff

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         523     4200966   fd  Linux raid autodetect
/dev/sdc2             524         785     2104515   fd  Linux raid autodetect
/dev/sdc3             786      182401  1458830520   fd  Linux raid autodetect

Bei md1 ist zwar auch eine Platte rausgesprungen, aber das ist erstmal nicht so schlimm, hauptsache md2 läuft wieder.
Wie kriegt man die Partitionen wieder sauber ins RAID rein, ohne das Daten verloren gehen?
Laut smartctl und Hetzner Support ist die Hardware in Ordnung.

Gruß Seryoga
 
Last edited by a moderator:
mdadm -S /dev/md2
mdadm --assemble --scan (--force)

Evtl. mal mit force ausführen. Alles auf eigene Gefahr!!!

PS: nicht böse sein aber ich muß es mal sagen: Bitte nicht privat per ICQ nerven. Wenn ich Lust zum helfen habe mache ich das hier. Direkter Support um eine Entstörung zu erzielen ist für Nichtkunden kostenpflichtig. Das ist jetzt auch mein letzter Tip. Viel Erfolg.
 
smartctl -a /dev/sda
smartctl -a /dev/sdb
smartctl -a /dev/sdc

Vermutlich ist /dev/sdc hinüber. Dann

mdadm --examine /dev/sdc2

mdadm --examine /dev/sda3
mdadm --examine /dev/sdb3
mdadm --examine /dev/sda3
 
Back
Top