[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RAID: one disk missing when creating the array



Bhasker C V <bhasker@unixindia.com> wrote:

> I created an array /dev/md0
> --level=5 --raid-devices=4 /dev/sd[bcde]

> I get this in mdstat

> Personalities : [raid6] [raid5] [raid4]
> md0 : active raid5 sde[4] sdd[2] sdc[1] sdb[0]
>      5860148736 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3]
> [UUU_]
>      [>....................]  recovery =  1.9% (38611052/1953382912)
> finish=973.1min speed=32793K/sec

>    Number   Major   Minor   RaidDevice State
>       0       8       16        0      active sync   /dev/sdb
>       1       8       32        1      active sync   /dev/sdc
>       2       8       48        2      active sync   /dev/sdd
>       4       8       64        3      spare rebuilding   /dev/sde

> where I see 0,1,2,4 as devices (3 is missing)
> Am I doing anything wrong ? Can someone tell me how to fix this please ?

This is normal with how RAID5/6 arrays are initialized by the Linux
kernel. Let it finish its rebuild and all will be fine.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


Reply to: