[cc'ed to linux-raid]

Dominick,

I got it working!

I went through and made sure that I had raid1 compiled directly in the
kernel along with ramdisk. I don't know if ramdisk is required, but I put
it in there. I also threw in the other modules that were listed below the
different raid levels in make menuconfig, mentioned as being included just
so people could comment on the code. I checked my /etc/fstab and I think
I was just growing tired and weary earlier because I did actually have

/dev/md0 /mnt/varrd ext2 

It works, and I am very happy. I'll have to go back and test things to
truly understand what is required in the kernel and as a module, but it
is certainly great to see it work. Thanks for the assistance. You and
everyone on the list have been truly helpful.

brian


On Wed, Mar 01, 2000 at 01:43:14AM +0000, Dominick Layfield wrote:
> Brian, 
> 
> It looks like your kernel is autodetecting the RAID array just fine, you
> are just not mounting it correctly.  You need to do is change the entry
> in /etc/fstab from what you have now:
> 
> > /dev/sda8 /var/varrd ext2
> 
> To something like this:
> 
> > /dev/md0 /mnt/varrd ext2
> 
> It makes no sense to try to mount /dev/sd** directly.  The combined
> device is /dev/md0, and this is what you need to mount.
> 
> > bind<sda10,1>
> > bind<sdb10,2>
> > running: <sdb10><sda10>
> > now!
> > sdb10's event counter: 00000004
> > sda10's event counter: 00000004
> > request_module[md-personality-3]: Root fs not mounted
> > do_md_run() returned -22
> 
> It looks like the problem here is that the kernel is looking for the
> relevant RAID module, but since the root fs has not yet been mounted, it
> cannot install it.  You have two choices: either recompile the kernel
> with the RAID-1 built-in, or load the module via an initial ramdisk.
> 
> Having said that, I don't think this step is necessary, unless you are
> trying to boot off one of the raid partitions.  They only need to be
> started before you actually mount them.
> 
> Let me know how you get on!
> 
> XOX DOM

-- 
Brian Lavender
http://www.brie.com/brian/

Reply via email to