raid 5 mdadm drive caiu enquanto crescia

3

Eu tenho uma matriz 4d 2tb raid 5 mdadm que comecei a crescer em um 5º disco.

~# mdadm --add /dev/md1 /dev/sdb
~# mdadm --grow /dev/md1 --raid-devices=5

no meio do crescimento, recebi isso em um e-mail;

A Fail event had been detected on md device /dev/md/fubox:1.

It could be related to component device /dev/sdf.

Faithfully yours, etc.

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

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid5 sdb[5] sdd[0] sdc[1] sdf[2](F) sde[4]
      7814051840 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/3] [UU_U_]
      [=======>.............]  recovery = 39.8% (779268708/1953512960) finish=212.4min speed=92101K/sec
~# mdadm --detail /dev/md1

Number   Major   Minor   RaidDevice State
   0       8       48        0      active sync   /dev/sdd
   1       8       32        1      active sync   /dev/sdc
   2       0        0        2      removed
   4       8       64        3      active sync   /dev/sde
   4       0        0        4      removed

   2       8       80        -      faulty spare   /dev/sdf
   5       8       16        -      spare   /dev/sdb

Eu reiniciei e tentei

~# mdadm --assemble /dev/md1 /dev/sdd /dev/sdc /dev/sdf /dev/sde /dev/sdb
mdadm: /dev/md1 assembled from 3 drives and 1 spare - not enough to start the array.
~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : inactive sdd[0](S) sdb[5](S) sde[4](S) sdf[2](S) sdc[1](S)
      9767567800 blocks super 1.2

saída dos exames;

~# mdadm --examine /dev/sdb
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 43ea18e9:0e1e3eac:d45b539d:5ec452b8
           Name : fubox:1  (local to host fubox)
  Creation Time : Sat May  7 18:42:12 2011
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 7814051840 (7452.06 GiB 8001.59 GB)
  Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 6ec847bf:49a3522a:6c4a3a61:c1743bac

    Update Time : Wed Jan 30 14:15:08 2013
       Checksum : de59745 - correct
         Events : 57664

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : spare
   Array State : AA.A. ('A' == active, '.' == missing)
~# mdadm --examine /dev/sdc
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 43ea18e9:0e1e3eac:d45b539d:5ec452b8
           Name : fubox:1  (local to host fubox)
  Creation Time : Sat May  7 18:42:12 2011
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 7814051840 (7452.06 GiB 8001.59 GB)
  Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 62d8fc8f:20feb8ee:357d32b5:e7bf9223

    Update Time : Wed Jan 30 14:15:08 2013
       Checksum : 6e507ffb - correct
         Events : 57664

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA.A. ('A' == active, '.' == missing)
~# mdadm --examine /dev/sdf
/dev/sdf:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 43ea18e9:0e1e3eac:d45b539d:5ec452b8
           Name : fubox:1  (local to host fubox)
  Creation Time : Sat May  7 18:42:12 2011
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 7814051840 (7452.06 GiB 8001.59 GB)
  Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 9a10cb04:01283998:f460f9ee:e350d313

    Update Time : Wed Jan 30 13:14:20 2013
       Checksum : b6aa487c - correct
         Events : 57642

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAAA ('A' == active, '.' == missing)

A contagem de eventos é menor em sdf e tentou montar --force

~# mdadm --assemble /dev/md1 /dev/sdd /dev/sdc /dev/sdf /dev/sde /dev/sdb --force
mdadm: forcing event count in /dev/sdf(2) from 57642 upto 57664
mdadm: clearing FAULTY flag for device 2 in /dev/md1 for /dev/sdf
mdadm: Marking array /dev/md1 as 'clean'
mdadm: /dev/md1 has been started with 4 drives (out of 5) and 1 spare.

~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid5 sdd[0] sdb[5] sde[4] sdf[2] sdc[1]
      7814051840 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/4] [UUUU_]
      [>....................]  recovery =  0.2% (4355440/1953512960) finish=361.2min speed=89929K/sec

No entanto, novamente em 39.8% / dev / sdf desistiu, agora estou executando smartctl -H /dev/sdf

Os 4 drives originais são Samsung HD204UI 2TB, o novo drive é um WD 2TB RED

HD204UI drives fabricados em dezembro de 2010 ou mais tarde incluem o patch de firmware (os meus são carimbados em 2011 +)

alguma dica de como proceder?

    
por Thermionix 30.01.2013 / 11:12

0 respostas