bootable failed sw raid 1 with F9

2008-06-15 Thread Sander Hoentjen
Hi list,

For the first time in my life i tried to install Fedora with sw raid.
See below what went wrong.

Here is what I did:
Start with 2 empty 500GB sata disks.
Make sure nvraid is turned off in my BIOS.
Start an F9 install, creating 2 sw RAID partitions: md0 and md1.
md0 is 100MB and has an ext3 /boot.
md1 has the rest of the space and is LVM.
In the lvm I have created the rest of my partitions.

Install went great, after reboot my system booted fine, so far so good.
I then shutdown my system, pulled out a disk and started again. I got
the message "GRUB Hard Disk Error". So I shut down, plugged the disk
back in, pulled out the other one and started again. This time I was met
by a GRUB shell, no boot logo, no idea what to do (no menu).
Shutdown again, replug the disk, start again, get on IRC, type:
grub
root (hd0,0)
setup (hd0)
root (hd1,0)
setup (hd1)

After that: reboot minus 1 disk. I can see grub, with logo and boot
options. It starts ok, i even get rhgb for a second and then I see:
"fsck.ext3: Invalid argument while trying to open /dev/md0"
I can go into a maintenance shell and when I do cat /proc/mdstat is see:
md0 : inactive sda1[0](s)

"mdadm --assemble /dev/md0" turns it active again, but well I have no
idea how I can continue normal boot, if it is even possible.

So this is my story, now my questions:
- Did I do anything wrong? I performed the installation twice, with both
times the same result.
- Is this a bug somewhere? Do other people get the same or better
results?
- Is there anything I can do to fix this?

Thanks for reading this far,

Sander


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: bootable failed sw raid 1 with F9

2008-06-15 Thread Sander Hoentjen
On Sun, 2008-06-15 at 11:28 -0700, Brian Tillman wrote:
> 
> On Jun 15, 2008, at 10:51 AM, Frank Murphy wrote:
> 
> > On Sun, 2008-06-15 at 19:43 +0200, Sander Hoentjen wrote:
> > 
> > > Hi list,
> > > 
> > > 
> > > For the first time in my life i tried to install Fedora with sw
> > > raid.
> > > 
> > > See below what went wrong.
> > > 
> > > 
> > > Here is what I did:
> > > 
> > > Start with 2 empty 500GB sata disks.
> > > 
> > > Make sure nvraid is turned off in my BIOS.
> > > 
> > > Start an F9 install, creating 2 sw RAID partitions: md0 and md1.
> > > 
> > > md0 is 100MB and has an ext3 /boot.
> > > 
> > 
> > 
> > This could be the blind leading the blind,
> > 
> > but just raided my centos5.
> > 
> > and was advised not to raid the /boot.
> > 
> > as it can get confused as to waht to boot from.
> > 
> > If you need a backup boot just rsync it to the second drive as
> > 
> > /boot1 (or similar)
> > 
> > 
> > 
> > Frank
> > 
> 
> 
> 
> Although you haven't told us "what went wrong" (IE errors, when in the
> boot process your system fails ect).
> 
Not sure if you are referring to me or Brian, but I did try to tell when
the errors did occur:

It starts ok, i even get rhgb for a second and then I see:
"fsck.ext3: Invalid argument while trying to open /dev/md0"

> 
> I would highly recommend using raid on your /boot partition, this will
> enable you to boot should you loose a disk

This is exactly why i did it like that.
> 
> 
> I would imagine that you only wrote to the MBR for one of your disks,
> and your bios is attempting to boot from the other. If this is the
> case your bios will report "no operating system installed" or
> something to that effect.

Again not sure if your reply is to me, but from my email you can read
this is not the case for me.

Regards,
Sander

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: bootable failed sw raid 1 with F9

2008-06-21 Thread Sander Hoentjen
On Sat, 2008-06-21 at 09:01 -0500, Bruno Wolff III wrote:
> I took a look at grub-install and it looked like it was supposed to handle
> raid 1 in Fedora 9. I ran the script in debug mode and it looks like it
> did the right thing. I didn't test pulling disks after running it to make
> sure though.
> So maybe there is something else going on here.
> 
Unfortunately I do not have the knowledge to find out what, but I would
not be surprised if your system doesn't boot after you pull out on of
your disks.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list