Spare rebuilding ...

A "Current_Pending_Sectors" kiegyenesítése (másik gépen dd if=/dev/zero of=/dev/sda bs=64M) után visszatettem a jobb állapotban levő diszket a RAID6 tömbbe, amíg a cserediszkek meg nem érkeznek.

[root@nas4 ~]# mdadm -D /dev/md0                                                   
/dev/md0:
        Version : 00.90.03
  Creation Time : Mon Oct 25 14:53:34 2010
     Raid Level : raid6
     Array Size : 3907023872 (3726.03 GiB 4000.79 GB)
  Used Dev Size : 1953511936 (1863.01 GiB 2000.40 GB)
   Raid Devices : 4
  Total Devices : 3
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Tue Jan  5 09:22:17 2016
          State : clean, degraded, recovering
 Active Devices : 2
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 1

     Chunk Size : 64K

 Rebuild Status : 6% complete

           UUID : 5bb06204:f72f27c5:a7991803:bdfcad55
         Events : 0.75118

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       4       8       49        1      spare rebuilding   /dev/sdd1
       2       8       33        2      active sync   /dev/sdc1
       3       0        0        3      removed

Meglátjuk, hogy a rebuilding végigmegy-e rajta...

Hozzászólások

Igen, összeállt.

[root@nas4 ~]# mdadm -D /dev/md0   
/dev/md0:
        Version : 00.90.03
  Creation Time : Mon Oct 25 14:53:34 2010
     Raid Level : raid6
     Array Size : 3907023872 (3726.03 GiB 4000.79 GB)
  Used Dev Size : 1953511936 (1863.01 GiB 2000.40 GB)
   Raid Devices : 4
  Total Devices : 3
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Tue Jan  5 21:10:56 2016
          State : clean, degraded
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

           UUID : 5bb06204:f72f27c5:a7991803:bdfcad55
         Events : 0.75822

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       49        1      active sync   /dev/sdd1
       2       8       33        2      active sync   /dev/sdc1
       3       0        0        3      removed

--
trey @ gépház

Azért volt degraded, mert még egy lemez hiányzott (akkor) belőle. Ez RAID6. Két lemez hibásodott meg. Azóta már pótoltam a másikat is:


[root@nas4 ~]# mdadm -D /dev/md0
/dev/md0:
        Version : 00.90.03
  Creation Time : Mon Oct 25 14:53:34 2010
     Raid Level : raid6
     Array Size : 3907023872 (3726.03 GiB 4000.79 GB)
  Used Dev Size : 1953511936 (1863.01 GiB 2000.40 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Tue Jan 12 07:33:15 2016
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

           UUID : 5bb06204:f72f27c5:a7991803:bdfcad55
         Events : 0.77978

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       65        1      active sync   /dev/sde1
       2       8       49        2      active sync   /dev/sdd1
       3       8       33        3      active sync   /dev/sdc1

A rendbe rakott diszk most is benne van. Ha kidobja újra, kicserélem egy 0 percesre.

--
trey @ gépház