DegradedArray event had been detected

Serverdienste ohne eigene Kategorie
frameboy
Posts: 21
Joined: 2005-06-20 15:47
 

Re: DegradedArray event had been detected

Post by frameboy »

Joe User wrote:Was sagt denn ein `sudo cat /proc/mdstat`?
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>
Joe User wrote:Die mdadm.conf sollte auch hilfreich sein.
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays

# This file was auto-generated on Fri, 20 Apr 2012 15:15:31 +0200
# by mkconf $Id$
ARRAY /dev/md0 UUID=ce2d6406:ff07b060:3d186b3c:53958f34
ARRAY /dev/md1 UUID=346c7027:15009a03:3d186b3c:53958f34
Habe ich mir alles schon angeschaut.
Sehe aber wirklich nicht, wer da mit wem "raidet".
Last edited by frameboy on 2014-01-26 08:41, edited 1 time in total.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: DegradedArray event had been detected

Post by Joe User »

Dann bleibt mir nur raten, denn mit Linux-SoftRAID habe ich schon Ewigkeiten nicht mehr gearbeitet :-/
Ich gehe dann mal davon aus, dass die Kiste zwei Festplatten hat und diese gleich partitioniert sind und jeweils gegeneinander gespiegelt werden sollen. Wenn dem so ist, dann fehlt bei md0 /dev/sdb1 und bei md1 /dev/sdb3
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.
ddm3ve
Moderator
Moderator
Posts: 1237
Joined: 2011-07-04 10:56
 

Re: DegradedArray event had been detected

Post by ddm3ve »

cat /proc/mdstat
Personalities : [linear] [raid6] [raid5] [raid4]
md0 : active raid5 sdb1[1] sdc1[2] sdd1[4] sda[5]
5860539648 blocks super 1.0 level 5, 128k chunk, algorithm 2 [4/4] [UUUU]
bitmap: 1/15 pages [4KB], 65536KB chunk

unused devices: <none>
Die aktiven Platten sollten in der Liste auftauchen.

Wenn Du ein raid1 hast kann das natürlich auch nur über eine Platte sein, wenn die 2. z.B. entfernt wurde.
Das kann ja nach einem defekt der Fall sein.

Du müsstest also erstmal heraus finden, welche Platten im System vorhanden sind.

dmesg z.b. könnte nützliche Informationen dazu liefern

Code: Select all

dmesg | grep sd
[    3.077952] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    3.078009] sd 0:0:0:0: [sda] Write Protect is off
[    3.078012] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.078034] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.078138] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    3.078368] sd 1:0:0:0: [sdb] Write Protect is off
[    3.078371] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    3.078391] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.078489] sd 2:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    3.078525] sd 3:0:0:0: [sdd] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[    3.078602] sd 2:0:0:0: [sdc] Write Protect is off
[    3.078605] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[    3.078632] sd 3:0:0:0: [sdd] Write Protect is off
[    3.078635] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[    3.078660] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.078671] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.082474]  sdc: sdc1
[    3.082750]  sdb: sdb1
[    3.082876] sd 2:0:0:0: [sdc] Attached SCSI disk
[    3.083150] sd 1:0:0:0: [sdb] Attached SCSI disk
[    3.085424]  sdd: sdd1
[    3.086364] sd 3:0:0:0: [sdd] Attached SCSI disk
[    3.094484]  sda: unknown partition table
[    3.094981] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.336937] sd 4:0:1:0: [sde] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[    3.337006] sd 4:0:1:0: [sde] Write Protect is off
[    3.337009] sd 4:0:1:0: [sde] Mode Sense: 00 3a 00 00
[    3.337055] sd 4:0:1:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.337586]  sde: sde1 sde2
[    3.338044] sd 4:0:1:0: [sde] Attached SCSI disk
[    4.086338] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    4.086377] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    4.086408] sd 2:0:0:0: Attached scsi generic sg2 type 0
[    4.086438] sd 3:0:0:0: Attached scsi generic sg3 type 0
[    4.086469] sd 4:0:1:0: Attached scsi generic sg4 type 0
[    4.320113] md: bind<sda>
[    4.362019] md: bind<sdd1>
[    4.374338] md: bind<sdc1>
[    4.378001] md: bind<sdb1>
[    4.698069] md/raid:md0: device sdb1 operational as raid disk 1
[    4.698072] md/raid:md0: device sdc1 operational as raid disk 2
[    4.698073] md/raid:md0: device sdd1 operational as raid disk 3
[    4.698075] md/raid:md0: device sda operational as raid disk 0
[    4.698497]  disk 0, o:1, dev:sda
[    4.698498]  disk 1, o:1, dev:sdb1
[    4.698500]  disk 2, o:1, dev:sdc1
[    4.698501]  disk 3, o:1, dev:sdd1
[    4.727420] EXT4-fs (sde1): mounting ext2 file system using the ext4 subsystem
[    4.755678] EXT4-fs (sde1): mounted filesystem without journal. Opts: acl,user_xattr
oder auch: /proc/diskstats

Code: Select all

cat /proc/diskstats
   8       0 sda 1394428 1060860 12787723 2200508 6492224 6182048 85276314 44765784 0 38338876 47009780
   8      16 sdb 208987 946917 9294180 2969628 6493417 6384995 86921546 46573892 0 39044996 49607752
   8      17 sdb1 208816 946917 9292843 2969528 6460854 6384995 86921546 46118656 0 38969400 49152192
   8      48 sdd 224780 877456 8865591 2123700 5350261 6164935 75975930 44290368 0 37929580 46448584
   8      49 sdd1 224609 877456 8864254 2123576 5317698 6164935 75975930 43971512 0 37850884 46129708
   8      32 sdc 201349 846012 8425902 2942496 5342435 6340886 77365386 45912124 0 38495416 48921076
   8      33 sdc1 201178 846012 8424565 2942396 5309872 6340886 77365386 45473696 0 38414696 48482344
   8      64 sde 28408 1273 1251522 17724 819889 36232 7129161 1398364 0 560528 1415276
   8      65 sde1 309 333 2719 120 4 0 8 0 0 108 120
   8      66 sde2 27925 940 1247442 17576 727860 36232 7129153 1345064 0 517916 1361848
 253       0 dm-0 28475 0 1244352 18880 768887 0 7126273 1751852 0 561068 1770756
 253       1 dm-1 280 0 2209 596 360 0 2880 932 0 592 1528
   9       0 md0 1478030 0 4984231 0 19788229 0 151215286 0 0 0 0
 147       0 drbd0 1432964 0 4560198 338188 19754137 0 149978987 338175636 0 60426440 336319024

Ich befürchte an Deiner Stelle, dass die Platte zwar getauscht wurde, aber u.U. weder mit der richtigen Partition versehen, noch im Raid Verbund aufgenommen wurde.

Eventuell hast Du aber ein Hardware raid und die 2. Platte tauch deshalb nicht im System auf.
02:32:12 21.12.2012 und dann sind Deine Probleme alle unwichtig.
frameboy
Posts: 21
Joined: 2005-06-20 15:47
 

Re: DegradedArray event had been detected

Post by frameboy »

Nach meinem Kenntnisstand (habe den Server schon ziemlich lange) hat der zwei Festplatten mit je 1000 GB.
Wobei "sda" ja mit ~1000 GB angezeigt wird.
"sdb" sehe ich nur in meinem Webmin (siehe Anhang), sonst nirgends ... :?:

Die beiden Befehle liefern auch kein eindeutiges Ergebnis:
dmesg | grep sd
[ 3.606219] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.606242] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 3.606244] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.606311] sd 0:0:0:0: [sda] Write Protect is off
[ 3.606313] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3.606339] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.641415] sda: sda1 sda2 sda3
[ 3.775682] sd 0:0:0:0: [sda] Attached SCSI disk
[ 63.542960] md: bind<sda3>
[ 63.603257] md: bind<sda1>
[ 66.579968] Adding 3999740k swap on /dev/sda2. Priority:-1 extents:1 across:3999740k
cat /proc/diskstats
1 0 ram0 0 0 0 0 0 0 0 0 0 0 0
1 1 ram1 0 0 0 0 0 0 0 0 0 0 0
1 2 ram2 0 0 0 0 0 0 0 0 0 0 0
1 3 ram3 0 0 0 0 0 0 0 0 0 0 0
1 4 ram4 0 0 0 0 0 0 0 0 0 0 0
1 5 ram5 0 0 0 0 0 0 0 0 0 0 0
1 6 ram6 0 0 0 0 0 0 0 0 0 0 0
1 7 ram7 0 0 0 0 0 0 0 0 0 0 0
1 8 ram8 0 0 0 0 0 0 0 0 0 0 0
1 9 ram9 0 0 0 0 0 0 0 0 0 0 0
1 10 ram10 0 0 0 0 0 0 0 0 0 0 0
1 11 ram11 0 0 0 0 0 0 0 0 0 0 0
1 12 ram12 0 0 0 0 0 0 0 0 0 0 0
1 13 ram13 0 0 0 0 0 0 0 0 0 0 0
1 14 ram14 0 0 0 0 0 0 0 0 0 0 0
1 15 ram15 0 0 0 0 0 0 0 0 0 0 0
7 0 loop0 0 0 0 0 0 0 0 0 0 0 0
7 1 loop1 0 0 0 0 0 0 0 0 0 0 0
7 2 loop2 0 0 0 0 0 0 0 0 0 0 0
7 3 loop3 0 0 0 0 0 0 0 0 0 0 0
7 4 loop4 0 0 0 0 0 0 0 0 0 0 0
7 5 loop5 0 0 0 0 0 0 0 0 0 0 0
7 6 loop6 0 0 0 0 0 0 0 0 0 0 0
7 7 loop7 0 0 0 0 0 0 0 0 0 0 0
8 0 sda 9340305 318647 553034138 39983432 86520168 81248022 2815611584 2754495520 0 379213544 2794328588
8 1 sda1 25431 240477 3131294 46960 1206 340 86488 32084 0 51100 79008
8 2 sda2 1772 252 16178 10392 982 2057 24312 15936 0 8268 26324
8 3 sda3 9312446 77876 549881124 39924976 86385614 81245625 2815500784 2753655956 0 378509788 2793439432
9 1 md1 9390434 0 549864182 0 162123019 0 2770321064 0 0 0 0
9 0 md0 265507 0 3128128 0 1035 0 82296 0 0 0 0
ddm3ve
Moderator
Moderator
Posts: 1237
Joined: 2011-07-04 10:56
 

Re: DegradedArray event had been detected

Post by ddm3ve »

Kannst Du Dir z.B. mit cfdisk /dev/sdb die Patition der vermeindlichen 2. Platte anzeigen lassen oder kennt das System definitiv die Platte sdb nicht.

Du kannst natürlich auch ein ls /dev/sd* ausführen und schaun was das System darstellt.

Für mich sieht es aktuelll danach aus als kennt Dein System die Platte nicht mehr.
Dies könnte einen technischen defekt des Controllers, der Festplatte oder ggf. auch ein verrutschtes / defektes Kabel sein.
Auch wenn die disk und Partitionen nicht konfiguriert ist, sollte Dein System mind. in der /proc/diskstat die Platte erkennen / sehen mit einem Eintrag wie z.B:

8 0 sdb 9340305 318647 553034138 39983432 86520168 81248022 2815611584 2754495520 0 379213544 2794328588

Ich denke hier benötigst Du den technischen Support Deines Providers.
02:32:12 21.12.2012 und dann sind Deine Probleme alle unwichtig.
ddm3ve
Moderator
Moderator
Posts: 1237
Joined: 2011-07-04 10:56
 

Re: DegradedArray event had been detected

Post by ddm3ve »

Achja eines ist mir noch aufgefallen.

Wenn beide Platten eine swap Partition nutzen sollten diese auch in der FSTab auftauchen.
Was findet sich denn in der /etc/fstab?

Unabhängig davon würde ich auch mal prüfen ob beide Platten noch als swap genutzt werden, sofern 2 Platten eingebunden sind.

Code: Select all

cat /proc/swaps
Filename				Type		Size	Used	Priority
/dev/sda2                               partition	24575996	51468	-1
Bei mir ist es in der Tat so, dass wir ein Hardware Raid nutzen. Daher findet sich nur eine Partition als swap.
02:32:12 21.12.2012 und dann sind Deine Probleme alle unwichtig.
distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW
 

Re: DegradedArray event had been detected

Post by distanzcheck »

Habe heute nun auch diese beiden mails bekommen.

Code: Select all

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

Faithfully yours, etc.

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

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md1 : active raid1 sda3[0]
      1948488512 blocks super 1.0 [2/1] [U_]
      bitmap: 11/15 pages [44KB], 65536KB chunk

md0 : active raid1 sda1[0]
      1023936 blocks super 1.0 [2/1] [U_]
      
unused devices: <none>
und diese

Code: Select all

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

Faithfully yours, etc.

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

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md1 : active raid1 sda3[0]
      1948488512 blocks super 1.0 [2/1] [U_]
      bitmap: 11/15 pages [44KB], 65536KB chunk

md0 : active raid1 sda1[0]
      1023936 blocks super 1.0 [2/1] [U_]
      
unused devices: <none>

Wie soll ich nun am besten vorgehen, Habe noch nie eine Platte selbst wieder eingehangen. Wäre lieb wenn mir da jemand beistehen könnte. lg Dirk
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: DegradedArray event had been detected

Post by Joe User »

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.
distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW
 

Re: DegradedArray event had been detected

Post by distanzcheck »

Laut smartmantools sind beide Platten nicht defekt
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: DegradedArray event had been detected

Post by Joe User »

smartmontools betrachtet ja lediglich die SMART-Werte und diese müssen nicht zwangsläufig den waren Zustand der Platte wiederspiegeln (man kann und darf sich nicht auf SMART verlassen).
Es kann auch ein kaputtes Filesystem sein, oder die Metadaten des RAID sind inkonsistent, oder ein Treiber ist defekt, oder ein mdadm-Bug, oder ein Kernelbug, oder ein Kabel locker, oder die Stromzufuhr schwankt zu stark, oder, oder...

Wenn Du der Platte noch traust, dann schmeiss sie aus dem SoftRAID, mach sie mit "dd if=/dev/zero of=/dev/sdX bs=4096" (kann mehrere Stunden dauern) komplett platt und binde sie anschliessend wieder wie eine neue Platte ins SoftRAID ein. Wenn das sauber funktioniert, hast Du Glück gehabt, solltest aber ein Auge drauf behalten.
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.
Post Reply