DegradedArray event had been detected

Serverdienste ohne eigene Kategorie
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

DegradedArray event had been detected

Post by adjustman »

Tach, kann mir das mal bitte jemand übersetzen?
This is an automatically generated mail message from mdadm
running on server3

A DegradedArray event had been detected on md device /dev/md1.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [raid1]
md0 : active raid1 sda1[0] sdb1[1]
56128 blocks [2/2] [UU]

md1 : active raid1 sdb3[1]
79304768 blocks [2/1] [_U]

unused devices: <none>
Is nich mein Server und is bei Strato. Danke.
cu aM
papabaer
Userprojekt
Userprojekt
Posts: 169
Joined: 2009-05-14 17:40
Location: Halle (Saale)
 

Re: DegradedArray event had been detected

Post by papabaer »

Dir ist eine Festplatte / Partition aus dem RAID1-Verbund gefallen. Dein RAID ist damit nicht mehr redundant.

Festplatte checken und ggf. wechseln lassen.
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: DegradedArray event had been detected

Post by adjustman »

Danke. Is dann wohl die md1?
cu aM
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

Ja, md1, genauer /dev/sda3
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: DegradedArray event had been detected

Post by adjustman »

Ok, danke. Kann man da ne Reparatur versuchen oder nur tauschen?
cu aM
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

Erst fschk und wieder ins RAID hängen, wenn das nicht hilft, dann tauschen.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: DegradedArray event had been detected

Post by adjustman »

mmh, ist aber gemountet und lässt sich auch nicht
aushängen, weil busy.
/dev# fsck /dev/md1
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/md1 ist eingehängt.
cu aM
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

fschk auf /dev/sda3 nicht /dev/md1
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: DegradedArray event had been detected

Post by adjustman »

Als root

~# fsck /dev/sda3
fsck from util-linux-ng 2.17.2
fsck: fsck.linux_raid_member: not found
fsck: Error 2 while executing fsck.linux_raid_member for /dev/sda3
cu aM
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

Kannst Du die Partition denn auch so wieder ins RAID aufnehmen?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: DegradedArray event had been detected

Post by adjustman »

Joe User wrote:Kannst Du die Partition denn auch so wieder ins RAID aufnehmen?
mmh, sorry. Aber das hab ich noch nie gemacht. :-?
Kannst du mir bitte helfen, Joe? Danke.
cu aM
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

Code: Select all

cat /proc/mdstat
mdadm --manage /dev/md1 --add /dev/sda3
cat /proc/mdstat
Last edited by Joe User on 2012-05-15 01:32, edited 1 time in total.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: DegradedArray event had been detected

Post by adjustman »

:) Danke, Joe

EDIT: Da es ja, wie ich schrieb, nicht mein Server ist, noch ne Frage.
Kann man da was schlimmer machen, als es eh ist?
Ich hab ja auch keinen physischen Zugriff darauf, Boot CD, etc.
Last edited by adjustman on 2012-05-15 10:18, edited 2 times in total.
cu aM
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

Naja, man sollte auf jeden Fall versuchen, herauszufinden weshalb die Partition aus dem RAID gesprungen ist. Im harmlosesten Fall war es nur ein Schluckauf vom Software-RAID, im schlimmsten Fall verabschiedet sich die Festplatte.
Dabei kann ich Dir aber leider auch nicht mehr wirklich weiterhelfen, da ich mit Linux-Software-RAID schon lange nicht mehr zu tun hatte. Du solltest aber mindestens die Systemlogs und dmesg prüfen.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: DegradedArray event had been detected

Post by daemotron »

Auf jeden Fall mal smartmontools auf die Platten loslassen:

Code: Select all

smartctl -H /dev/sda
smartctl -x /dev/sda
Eventuell einen Test über die Platte jagen:

Code: Select all

smartctl -t long /dev/sda
Da muss man allerdings ca. eine Stunde auf das Ergebnis warten. Besser noch fährt man so einen Test im captive mode (siehe man 8 smartctl); dazu muss der Server aber in's Rescue System gebootet werden, da hierbei keine Partitionen gemounted sein sollten.
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: DegradedArray event had been detected

Post by adjustman »

Sieht gut aus :wink:
mdadm --manage /dev/md1 --add /dev/sda3

~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0] sdb1[1]
56128 blocks [2/2] [UU]

md1 : active raid1 sda3[2] sdb3[1]
79304768 blocks [2/1] [_U]
[=>...................] recovery = 9.2% (7316736/79304768) finish=34.2min speed=34996K/sec
So, erfolgreich :-D
~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0] sdb1[1]
56128 blocks [2/2] [UU]

md1 : active raid1 sda3[0] sdb3[1]
79304768 blocks [2/2] [UU]
Danke an @all, vor Allem an @Joe :)

Was mich aber von Anfang an wundert ist, dass da immer stand

unused devices: <none>
Last edited by adjustman on 2012-05-16 15:59, edited 4 times in total.
cu aM
frameboy
Posts: 21
Joined: 2005-06-20 15:47
 

Re: DegradedArray event had been detected

Post by frameboy »

Hallo Cracks

Habe diesbezüglich auch mal eine Frage.

Ich bekomme regelmässig zwei Emails von meinem Server:
This is an automatically generated mail message from mdadm running on h2033690.stratoserver.net

A DegradedArray event had been detected on md device /dev/md0.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sda1[0]
1023936 blocks [2/1] [U_]

md1 : active raid1 sda3[0]
971737024 blocks [2/1] [U_]

unused devices: <none>
und
This is an automatically generated mail message from mdadm running on h2033690.stratoserver.net

A DegradedArray event had been detected on md device /dev/md1.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sda1[0]
1023936 blocks [2/1] [U_]

md1 : active raid1 sda3[0]
971737024 blocks [2/1] [U_]

unused devices: <none>
Sieht für mich so aus, als seien beide Platten aus dem Verbund gefallen ... ?! Geht das überhaupt?
Leider kapier ich auch absolut nicht, wie ich das Problem angehen kann/soll.
Ein Serverneustart hat keine Besserung gebracht.

Strato tauscht defekte Hardware erst, wenn man einen Hardwaretest hat laufen lassen.
Dieser dauert aber ewig lange und das möchte ich meinen Usern nicht zumuten.
Last edited by frameboy on 2013-11-07 06:47, edited 1 time in total.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

md0 und md1 sind unterschiedliche RAID, nicht das Gleiche.

Ich vermute(!) einfach mal, dass sdb am Sterben ist.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: DegradedArray event had been detected

Post by daemotron »

Schau Dir wie von mir oben beschrieben die Smart-Werte von /dev/sdb an. Wenn die keine Auffälligkeiten zeigen, die beiden Partitionen auf sdb mit fsck prüfen und wieder in den RAID-Verbund einhängen. Wenn die Werte auffällig sind (tote Sektoren o. ä.), sollte ein seriöser Hoster auf Basis dieser Daten einen Plattentausch durchführen (aber vorsicht - manche Hoster tauschen dann gleich die ganze Pizzaschachtel, also vorher besser Backup machen!).
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
frameboy
Posts: 21
Joined: 2005-06-20 15:47
 

Re: DegradedArray event had been detected

Post by frameboy »

daemotron wrote:Schau Dir wie von mir oben beschrieben die Smart-Werte von /dev/sdb an. Wenn die keine Auffälligkeiten zeigen, die beiden Partitionen auf sdb mit fsck prüfen und wieder in den RAID-Verbund einhängen. Wenn die Werte auffällig sind (tote Sektoren o. ä.), sollte ein seriöser Hoster auf Basis dieser Daten einen Plattentausch durchführen.
Werde ich mir mal anschauen - wenn ich es hinbekomme ...
daemotron wrote:(aber vorsicht - manche Hoster tauschen dann gleich die ganze Pizzaschachtel, also vorher besser Backup machen!).
Oh ja - das habe ich schon hinter mir ... :(
frameboy
Posts: 21
Joined: 2005-06-20 15:47
 

Re: DegradedArray event had been detected

Post by frameboy »

Ich bin doooof ...

Ich kann nirgends sdb finden.
Nicht im Webmin, nicht in Plesk, einfach irgends.
Kann auch nicht drauf zugreifen ... :(
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

Solche Dinge bitte ausschliesslich direkt per SSH erledigen, Adminpanels sind dafür absolut ungeeignet und können darüberhinaus unerwartete zusätzliche Fehler/Probleme auslösen.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
frameboy
Posts: 21
Joined: 2005-06-20 15:47
 

Re: DegradedArray event had been detected

Post by frameboy »

Ich bin es mal wieder.
Habe mich diesem Problem noch einmal angenommen.

Ich kann nirgends finden, wie der fehlende Teil meines RAID heisst ...
Überall heisst es nur "degraded" bzw. "fehlerhaft".
Laut Ubuntu-Wiki (http://wiki.ubuntuusers.de/Software-RAI ... tenausfall) kann ich mir das mit "sudo mdadm --detail /dev/mdX" anzeigen lassen.
Es kommt aber nicht:

Code: Select all

root@h2033690:~# sudo mdadm --detail /dev/md0
/dev/md0:
        Version : 0.90
  Creation Time : Mon Apr 22 20:17:43 2013
     Raid Level : raid1
     Array Size : 1023936 (1000.11 MiB 1048.51 MB)
  Used Dev Size : 1023936 (1000.11 MiB 1048.51 MB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Sat Jan 25 14:43:25 2014
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           UUID : ce2d6406:ff07b060:3d186b3c:53958f34
         Events : 0.1542

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       0        0        1      removed
root@h2033690:~# sudo mdadm --detail /dev/md1
/dev/md1:
        Version : 0.90
  Creation Time : Mon Apr 22 20:17:47 2013
     Raid Level : raid1
     Array Size : 971737024 (926.72 GiB 995.06 GB)
  Used Dev Size : 971737024 (926.72 GiB 995.06 GB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Sat Jan 25 17:18:56 2014
          State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0

           UUID : 346c7027:15009a03:3d186b3c:53958f34
         Events : 0.19767155

    Number   Major   Minor   RaidDevice State
       0       8        3        0      active sync   /dev/sda3
       1       0        0        1      removed
Wo sehe ich denn nun, wie der fehlende Teil heisst?

Zeigt Linux auch irgendwie angeschlossene kaputte Festpatten an?
Last edited by frameboy on 2014-01-25 17:53, edited 2 times in total.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

Was sagt denn ein `sudo cat /proc/mdstat`?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11190
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: DegradedArray event had been detected

Post by Joe User »

Die mdadm.conf sollte auch hilfreich sein.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.