* raid5 missing drive at boot question
@ 2005-09-22 22:28 Orion Poplawski
2005-09-23 9:02 ` Neil Brown
0 siblings, 1 reply; 3+ messages in thread
From: Orion Poplawski @ 2005-09-22 22:28 UTC (permalink / raw)
To: linux-raid
I created a new 8 disk raid5 set with no spares. Now, when I boot I end
up with:
md3 : active raid5 sdp1[7] sdo1[6] sdn1[5] sdm1[4] sdl1[3] sdk1[2] sdi1[0]
3418687552 blocks level 5, 64k chunk, algorithm 2 [8/7] [U_UUUUUU]
which I believe is a "degraded" array. I then have to do:
mdadm -M -a /dev/md3 /dev/sdj1
to add in the missing disk. I had to do this after it was created as well.
Why does this happen? What am I not understanding?
Boot messages:
md: Autodetecting RAID arrays.
md: autorun ...
md: considering sdp1 ...
md: adding sdp1 ...
md: adding sdo1 ...
md: adding sdn1 ...
md: adding sdm1 ...
md: adding sdl1 ...
md: adding sdk1 ...
md: adding sdi1 ...
md: created md3
md: bind<sdi1>
md: bind<sdk1>
md: bind<sdl1>
md: bind<sdm1>
md: bind<sdn1>
md: bind<sdo1>
md: bind<sdp1>
md: running: <sdp1><sdo1><sdn1><sdm1><sdl1><sdk1><sdi1>
raid5: device sdp1 operational as raid disk 7
raid5: device sdo1 operational as raid disk 6
raid5: device sdn1 operational as raid disk 5
raid5: device sdm1 operational as raid disk 4
raid5: device sdl1 operational as raid disk 3
raid5: device sdk1 operational as raid disk 2
raid5: device sdi1 operational as raid disk 0
raid5: allocated 8376kB for md3
raid5: raid level 5 set md3 active with 7 out of 8 devices, algorithm 2
RAID5 conf printout:
--- rd:8 wd:7 fd:1
disk 0, o:1, dev:sdi1
disk 2, o:1, dev:sdk1
disk 3, o:1, dev:sdl1
disk 4, o:1, dev:sdm1
disk 5, o:1, dev:sdn1
disk 6, o:1, dev:sdo1
disk 7, o:1, dev:sdp1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: raid5 missing drive at boot question
2005-09-22 22:28 raid5 missing drive at boot question Orion Poplawski
@ 2005-09-23 9:02 ` Neil Brown
2005-09-23 14:51 ` Orion Poplawski
0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2005-09-23 9:02 UTC (permalink / raw)
To: Orion Poplawski; +Cc: linux-raid
On Thursday September 22, orion@cora.nwra.com wrote:
> I created a new 8 disk raid5 set with no spares. Now, when I boot I end
> up with:
>
>
> md3 : active raid5 sdp1[7] sdo1[6] sdn1[5] sdm1[4] sdl1[3] sdk1[2] sdi1[0]
> 3418687552 blocks level 5, 64k chunk, algorithm 2 [8/7] [U_UUUUUU]
>
> which I believe is a "degraded" array. I then have to do:
>
> mdadm -M -a /dev/md3 /dev/sdj1
>
> to add in the missing disk. I had to do this after it was created as well.
>
> Why does this happen? What am I not understanding?
I suspect that partition sdj1 isn't marked as 0xfd (auto-detect).
NeilBrown
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: raid5 missing drive at boot question
2005-09-23 9:02 ` Neil Brown
@ 2005-09-23 14:51 ` Orion Poplawski
0 siblings, 0 replies; 3+ messages in thread
From: Orion Poplawski @ 2005-09-23 14:51 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-raid
Neil Brown wrote:
> On Thursday September 22, orion@cora.nwra.com wrote:
>
>>I created a new 8 disk raid5 set with no spares. Now, when I boot I end
>>up with:
>>
>>
>>md3 : active raid5 sdp1[7] sdo1[6] sdn1[5] sdm1[4] sdl1[3] sdk1[2] sdi1[0]
>> 3418687552 blocks level 5, 64k chunk, algorithm 2 [8/7] [U_UUUUUU]
>>
>>which I believe is a "degraded" array. I then have to do:
>>
>>mdadm -M -a /dev/md3 /dev/sdj1
>>
>>to add in the missing disk. I had to do this after it was created as well.
>>
>>Why does this happen? What am I not understanding?
>
>
> I suspect that partition sdj1 isn't marked as 0xfd (auto-detect).
>
> NeilBrown
Right on the money, thanks!
--
Orion Poplawski
System Administrator 303-415-9701 x222
Colorado Research Associates/NWRA FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301 http://www.co-ra.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-23 14:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-22 22:28 raid5 missing drive at boot question Orion Poplawski
2005-09-23 9:02 ` Neil Brown
2005-09-23 14:51 ` Orion Poplawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).