Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
software raid problem -- conf file? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kiss-o-matic
Guru
Guru


Joined: 19 Jul 2004
Posts: 396
Location: Tokyo

PostPosted: Fri Mar 28, 2008 5:39 pm    Post subject: software raid problem -- conf file? [solved] Reply with quote

I'm about to crash, so I'll make this quick. I have a pretty simple RAID 1 (or am working on it anyway).
/dev/md1 = /dev/sda1 + /dev/sdb1
/dev/md2 = /dev/sda2 + /dev/sdb2
/dev/md3 = /dev/sda3 + /dev/sdb3

md1 is boot, md2 swap, md3 root.

I had issues getting the right SATA driver built int othe kernl, but that's solved. Now, the next problem:

raid1: raid set md3 active with2 out of 2 mirrors
<snip>
raid1: raid set md1 active with2 out of 2 mirrors
<snip>
List of all partitions:
0800 976762584 sda driver: sd
0801 506016 sda1
0802 4008217 sda2
0803 972245767 sda3
0800 976762584 sdb driver: sd
0801 506016 sdb1
0802 4008217 sdb2
0803 972245767 sdb3
0b00 1048575 sr0 driver :sr // what is this?
0903 972245696 md3 (driver?)
0901 505920 md1 (driver?)
No filesystem could mount root, tried:
Kernel -panic . not syncing: VFS: Unable to mount root fs on unknown-block(9,3).

Is this generally a problem w/ /etc/mdadm.conf?

Sleeping... up in a few hours.


Last edited by kiss-o-matic on Sat Mar 29, 2008 2:37 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 27780
Location: 56N 3W

PostPosted: Fri Mar 28, 2008 6:25 pm    Post subject: Reply with quote

kiss-o-matic,

Code:
0b00 1048575 sr0 driver :sr // what is this?
This is your CDROM.


Code:
unknown-block(9,3).
tells that the kernel found your /dev/md3 but was unable to read what it found there.
The usual cause of this is that the file system driver, needed to read /dev/md3 is not built into the kernel.

A more subtle cause is not setting your partitions underlying the raid sets to type 0xfd for raid autodetect.
During booting do you see something like
Code:
[   34.738940] md: Scanned 14 and added 14 devices.
[   34.741218] md: autorun ...
[   34.743454] md: considering sdb10 ...
[   34.745664] md:  adding sdb10 ...
[   34.747798] md: sdb9 has different UUID to sdb10
which shows the autodetect in progress or do you get
Code:
[   34.614030] md: Autodetecting RAID arrays.
[   34.741218] md: autorun ...
[   35.015558] md: ... autorun DONE.
which shows that no raid sets were formed?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
HeissFuss
Guru
Guru


Joined: 11 Jan 2005
Posts: 388

PostPosted: Fri Mar 28, 2008 8:15 pm    Post subject: Reply with quote

Looks like md1 and md3 assembled ok. If it's not missing file system support for you / volume type, let's see your fstab and grub.conf.
Back to top
View user's profile Send private message
kiss-o-matic
Guru
Guru


Joined: 19 Jul 2004
Posts: 396
Location: Tokyo

PostPosted: Sat Mar 29, 2008 1:37 am    Post subject: Reply with quote

The file system on md3 is reiserfs, and was definitely not built into the kernel.
I did the install process again after near completion b/c I realized I used an x86 tarball
and no i686. :roll: In my haste, I forgot to add reiserfs. In my defense, it was 3AM
at this time.

However, now I have another issue but it seems to be udev related:

I get to the boot process, then

Code:

*Mounting /dev for udev ... [oops]
*The "mount" command failed with error:
wrong fs type, bad option, bad superblock on udev, missing codepage or other error
In some cases useful info is found in syslog - try dmesg | tail or so


This doesn't seem to be related to the issue above. Guess it deserves it's own thread?
Back to top
View user's profile Send private message
HeissFuss
Guru
Guru


Joined: 11 Jan 2005
Posts: 388

PostPosted: Sat Mar 29, 2008 2:20 am    Post subject: Reply with quote

It looks like udev is broken by something missing in your kernel. Make sure you have tmpfs built in. If you do, you should post you config (- comments) here.
Back to top
View user's profile Send private message
kiss-o-matic
Guru
Guru


Joined: 19 Jul 2004
Posts: 396
Location: Tokyo

PostPosted: Sat Mar 29, 2008 2:28 am    Post subject: Reply with quote

It was (what I consider to be a well hidden) tmpfs option missing. Now on to other issues, but I think I can sort those out. ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum