Hallo Linuxspezialisten
Etwas seit einem Monat lief mein neu installerter yaVDR0.3.0a mit dem RAID5 3x2TB WD20EARS einwandfrei. (Mountpoint=/srv/vdr/) Darauf befand sich das Verzeichnis video.00 und andere wichtige Daten, die ich da abgelegt habe.
Am Mittwoch hat eines der Kids den VDR abgewürgt.
Nach dem reboot habe ich nachfolgende Benachrichtigungen bekommen:
Mi 23.02.2011 17:11
This is an automatically generated mail message from mdadm
running on yaVDR030aR5
A Fail event had been detected on md device /dev/md0.
It could be related to component device /dev/sdd1.
Faithfully yours, etc.
P.S. The /proc/mdstat file currently contains the following:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdb1[0] sdd1[2](F) sdc1[1]
3907026816 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]
unused devices: <none>
-------- 4 Min später dann diese Benachrichtigung --------
Mi 23.02.2011 17:15
^This is an automatically generated mail message from mdadm
running on yaVDR030aR5
A Fail event had been detected on md device /dev/md0.
It could be related to component device /dev/sdb1.
Faithfully yours, etc.
P.S. The /proc/mdstat file currently contains the following:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdb1[3](F) sdd1[4](F) sdc1[1]
3907026816 blocks level 5, 64k chunk, algorithm 2 [3/1] [_U_]
unused devices: <none>
-------- Daraufhin habe ich mir auf dem Heimweg gleich zwei neue identische HDs gekauft. Am Abend mit Putty konnte ich dann etwas detaillierter schauen ---------
Linux yaVDR030aR5 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
You have new mail.
Last login: Tue Feb 22 22:58:00 2011 from hp-6100.lan.loc
root@yaVDR030aR5:~# hdparm -i -v /dev/md0
/dev/md0:
HDIO_DRIVE_CMD(identify) failed: Invalid argument
readonly = 0 (off)
readahead = 512 (on)
geometry = 976756704/2/4, sectors = 7814053632, start = 0
HDIO_GET_IDENTITY failed: Invalid argument
root@yaVDR030aR5:~# hdparm -i -v /dev/md1
/dev/md1: No such file or directory
root@yaVDR030aR5:~# hdparm -i -v /dev/sdb1
/dev/sdb1:
HDIO_DRIVE_CMD(identify) failed: Invalid exchange
IO_support = 1 (32-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 243201/255/63, sectors = 3907026944, start = 2048
HDIO_GET_IDENTITY failed: No message of desired type
root@yaVDR030aR5:~# hdparm -i -v /dev/sdc1
/dev/sdc1:
multcount = 0 (off)
IO_support = 1 (32-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 243201/255/63, sectors = 3907026944, start = 2048
Model=WDC, FwRev=51.0AB51, SerialNo=WD-WMAZA2719344
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=3907029168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7
* signifies the current active mode
root@yaVDR030aR5:~# hdparm -i -v /dev/sda1
/dev/sda1:
multcount = 1 (on)
IO_support = 1 (32-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 3892/255/63, sectors = 29294592, start = 2048
Model=Corsair, FwRev=1.0, SerialNo=9014SW86ZF8391YFO690
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=12288
BuffType=unknown, BuffSize=32767kB, MaxMultSect=1, MultSect=1
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=62533296
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-5,6,7
* signifies the current active mode
root@yaVDR030aR5:~# hdparm -i -v /dev/sdb1
/dev/sdb1:
HDIO_DRIVE_CMD(identify) failed: Invalid exchange
IO_support = 1 (32-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 243201/255/63, sectors = 3907026944, start = 2048
HDIO_GET_IDENTITY failed: No message of desired type
root@yaVDR030aR5:~#
------------ Da dachte ich mir, dass ich schnell handeln sollte ----------
Heute habe ich in den Foren nach Lunux RAID5 gegoogelt, wie ich einen Check machen könnte. Angefangen habe ich mal mit folgenden Befehlen:
Linux yaVDR030aR5 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
You have new mail.
Last login: Thu Feb 24 18:31:28 2011 from 192.168.4.156
root@yaVDR030aR5:~# mdadm -D /dev/md0
/dev/md0:
Version : 00.90
Creation Time : Thu Jan 27 23:15:57 2011
Raid Level : raid5
Array Size : 3907026816 (3726.03 GiB 4000.80 GB)
Used Dev Size : 1953513408 (1863.02 GiB 2000.40 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Feb 24 18:56:39 2011
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 2
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 64K
UUID : 471b18be:57b4794c:d67b51f7:8a41aa85
Events : 0.278
Number Major Minor RaidDevice State
0 0 0 0 removed
1 8 33 1 active sync /dev/sdc1
2 0 0 2 removed
3 8 17 - faulty spare /dev/sdb1
4 8 49 - faulty spare /dev/sdd1
root@yaVDR030aR5:~# mdadm -E /dev/sda1
mdadm: No md superblock detected on /dev/sda1.
root@yaVDR030aR5:~# mdadm -E /dev/sdb1
mdadm: No md superblock detected on /dev/sdb1.
root@yaVDR030aR5:~# mdadm -E /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : 471b18be:57b4794c:d67b51f7:8a41aa85
Creation Time : Thu Jan 27 23:15:57 2011
Raid Level : raid5
Used Dev Size : 1953513408 (1863.02 GiB 2000.40 GB)
Array Size : 3907026816 (3726.03 GiB 4000.80 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 0
Update Time : Thu Feb 24 19:07:15 2011
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 1
Spare Devices : 0
Checksum : b7d1ada9 - correct
Events : 280
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 33 1 active sync /dev/sdc1
0 0 0 0 0 removed
1 1 8 33 1 active sync /dev/sdc1
2 2 0 0 2 faulty removed
root@yaVDR030aR5:~# mdadm -E /dev/sde1
mdadm: cannot open /dev/sde1: No such file or directory
root@yaVDR030aR5:~#
--------------------------------------------------------------
Danach versuchte ich den VDR neu zu booten, um zu sehen, ob sich die Platten wieder normal ins RAID integrieren.
Natürlich ist der VDR nicht mehr hochgekommen, da ja sein video.00 auf dem RAID5 liegt.
Also habe ich den VDR abgestellt und die Platten alle ausgezogen und meine alte yaVDR0.2.0 - Platte eingebaut, dass man wenigstens noch fern sehen kann.
Nun meine Frage:
Was für Möglichkeiten gibt es, um an die Daten, welche auf den 3 Platten verstreut sind ran zu kommen. Die Platten sind ziemlich sicher noch io. sie werden auch im BIOS beim Booten schön aufgelistet.
Ich bin auch bereit eine spezielle Software zu kaufen, mit der man die Daten weiderherstellen könnte.
Ich getraue mich nicht die Platten an einem anderm Board anzustecken und etwas zu üben. - Wenn dann mache ich es wieder auf der gleichen Hardware. (Das System ist übrigens auf einer separaten 2.5" Platte.)
Welcher Linuxpspezialist kann mir einen guten Rat geben??
Danke für alle Tipps zum voraus!!
Gruss zahu