Defektes Software-Raid

Alles was in keine andere Systemkategorie passt
tsaenger
Posts: 426
Joined: 2003-08-13 01:14
 

Defektes Software-Raid

Post by tsaenger »

Hallo,

Ich habe 3 HDD's in meinem Server.
Davon ist eine leider kaputt gegangen.
Auf dem System habe ich 2 RAID1 und 1 Raid5 über alle 3 HDDs laufen.
Eine neue HDD in der selben Größe wurde eingebaut. Die 2 RAID1 konnte ich wieder bilden. Nur das RAID5 bei dem es am wichtigesten ist leider nicht.
Hier bekomme ich die Meldung:

Code: Select all

server:~# mdadm /dev/md2 -a /dev/sdc3
mdadm: /dev/sdc3 not large enough to join array
Ein fdisk -l sieht so aus:

Code: Select all

proxmoxx:~# fdisk -l

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         262     2102562   fd  Linux raid autodetect
/dev/sda2             263         295      265072+  fd  Linux raid autodetect
/dev/sda3             296      182401  1462766445   fd  Linux raid autodetect

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         262     2102562   fd  Linux raid autodetect
/dev/sdb2             263         295      265072+  fd  Linux raid autodetect
/dev/sdb3             296      182401  1462766445   fd  Linux raid autodetect

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         262     2102562   fd  Linux raid autodetect
/dev/sdc2             263         295      265072+  fd  Linux raid autodetect
/dev/sdc3             296      182401  1462766445   fd  Linux raid autodetect
mein /proc/mdstat

Code: Select all

Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid5 sda3[0] sdb3[1]
      2925532672 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]

md1 : active raid1 sdc2[2] sda2[0] sdb2[1]
      264960 blocks [3/3] [UUU]

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

unused devices: <none>
Hat jemand eine Idee wie ich die Partition wieder eingebunden bekomme?

Vielen Dank.

Tobias
tsaenger
Posts: 426
Joined: 2003-08-13 01:14
 

Re: Defektes Software-Raid

Post by tsaenger »

Hallo zusammen,

also nach einem Reboot konnte ich nun alle 3 Raid-Partitionen einbinden.

Was mich aber wundert ist, warum ich trotzdem diese Meldung bekomme:

Code: Select all

This is an automatically generated mail message from mdadm running on proxmoxx

A SparesMissing event had been detected on md device /dev/md2.

Faithfully yours, etc.

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

Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid5 sda3[0] sdc3[2] sdb3[1]
      2925532672 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      
md1 : active raid1 sda2[0] sdc2[2] sdb2[1]
      264960 blocks [3/3] [UUU]
      
md0 : active (auto-read-only) raid1 sda1[0] sdc1[2] sdb1[1]
      2102464 blocks [3/3] [UUU]
      
unused devices: <none>
Es scheint doch eigentlich das nun md2 wieder vollkommen ok ist oder?

Gruß und Danke

Tobias