View previous topic :: View next topic |
Author |
Message |
racoontje Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Fri Jan 14, 2005 10:21 pm Post subject: md driver not autodetecting arrays |
|
|
OK, first of all, this is before (just a few lines) the Gentoo initscripts start, so I strongly doubt that it's a config file problem.
ReiserFS (3.6), sata-nv (my SATA controller) and md (with RAID0 support) are all built in to my kernel statically. During bootup, I can see that sata-nv works, that the md driver gets loaded, and that the raid0 profile gets loaded.
Then I see that md starts looking for arrays to autodetect and start automagically... Then I see: Code: | md: ... autorun done. |
with no arrays being found. Because /dev/md0 is my root device, the kernel can not continue booting.
The array was created using
Code: | mdadm -C /dev/md0 -l0 -n2 /dev/sda5 /dev/sdb5 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cyrillic Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/8174739453e52fd5e9aef6.jpg)
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jan 15, 2005 4:04 am Post subject: |
|
|
What does your "fdisk -l" look like ?
hint : look for partition type "fd" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tomk Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21003072644c471d218211e.jpg)
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
racoontje Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Sat Jan 15, 2005 8:29 am Post subject: |
|
|
Code: | livecd root # fdisk -l
Disk /dev/sda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 25 200781 83 Linux
/dev/sda2 26 24792 198940927+ 5 Extended
/dev/sda5 26 24792 198940896 83 Linux
Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 25 200781 82 Linux swap
/dev/sdb2 26 24792 198940927+ 5 Extended
/dev/sdb5 26 24792 198940896 83 Linux
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
racoontje Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Sat Jan 15, 2005 8:32 am Post subject: |
|
|
OMG I am teh such an idioth.
I forgot 0xfd meant RAID :'| |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|