Skip to contentSkip to conversation

problem with spare, acive device, clean degrated, reshaip RADI5, anybody can help

DISCUSSION Andreas-Sokov 1 participant 1 message Jan 28, 2008 MD RAID

lore
Share & tools
lore
#0 lore raw

Hello linux-raid.

i have DEBIAN.

raid01:/# mdadm -V
mdadm - v2.6.4 - 19th October 2007
raid01:/# mdadm -D /dev/md1
/dev/md1:
        Version : 00.91.03
  Creation Time : Tue Nov 13 18:42:36 2007
     Raid Level : raid5
     Array Size : 1465159488 (1397.29 GiB 1500.32 GB)
  Used Dev Size : 488386496 (465.76 GiB 500.11 GB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 1
    Persistence : Superblock is persistent

Update Time : Sun Jan 27 00:24:44 2008
State : clean, degraded
Active Devices : 4
Working Devices : 5
Failed Devices : 0
Spare Devices : 1

Layout : left-symmetric
Chunk Size : 64K

Delta Devices : 1, (4->5)

UUID : 4fbdc8df:07b952cf:7cc6faa0:04676ba5
Events : 0.683478

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

5 8 16 - spare /dev/sdb

************************************************************************************
Anybody know what i need to do for /dev/sdb became ACTIVE DEVICE ?
************************************************************************************

**

@raid01:/# mdadm -E /dev/sdb
/dev/sdb:
          Magic : a92b4efc
        Version : 00.91.00
           UUID : 4fbdc8df:07b952cf:7cc6faa0:04676ba5
  Creation Time : Tue Nov 13 18:42:36 2007
     Raid Level : raid5
  Used Dev Size : 488386496 (465.76 GiB 500.11 GB)
     Array Size : 1953545984 (1863.05 GiB 2000.43 GB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 1

Reshape pos'n : 194537472 (185.53 GiB 199.21 GB) Delta Devices : 1 (4->5)

Update Time : Tue Jan 29 02:05:52 2008
State : clean
Active Devices : 4
Working Devices : 5
Failed Devices : 1
Spare Devices : 1
Checksum : 450cd41b - correct
Events : 0.683482

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 5 8 16 5 spare /dev/sdb

   0     0       8       32        0      active sync   /dev/sdc
   1     1       8       48        1      active sync   /dev/sdd
   2     2       8       64        2      active sync   /dev/sde
   3     3       8       80        3      active sync   /dev/sdf
   4     4       0        0        4      faulty removed
   5     5       8       16        5      spare   /dev/sdb
Signature · 3 lines
Best regards
 Andreas
 mailto:[email protected]