All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Kwee <skwee@itw.de>
To: linux-raid@vger.kernel.org
Subject: Re: raid1 boots with one disk only
Date: Fri, 4 Mar 2005 14:51:04 +0000 (UTC)	[thread overview]
Message-ID: <loom.20050304T154438-950@post.gmane.org> (raw)
In-Reply-To: 42286A2C.9010206@gmx.de

Christian Mueller <christian.mueller1 <at> gmx.de> writes:

> 
> Hi Steve!
> 
> How do you boot this beast (Bootloader)?
> On what partition/md is actually /boot?
> 
> On 03.04.2005 12:03, Steve Kwee wrote:
> > ..
> > mdadm -E results in an error message complaining about a missing
> > superblock (see 4.)
> > ..
> > -----------------------------
> > 4.  mdadm -E /dev/md1
> > -----------------------------
> > mdadm: No super block found on /dev/md1 (Expected magic a92b4efc, got
> > f1800828)
> 'man mdadm' shows the following
> 
>   -E, --examine
>          Print content of md superblock on device(s).
>                                            ^^^^^^^^^
> So, this works not against an md array.
> 
> Cheers, Chris
> 

There is another raid device /dev/md0 on the same set of disks
which has the kernel on it. The kernel is booted with grub 
/dev/md0 works as expected /dev/md1 does not.
I have attached fstab and menu.lst (1., 2.)

I followed the description found at 

  http://nickdafish.com/public/HowToRaid

to set things up.

------------------------------------------------------
1. /etc/fstab
-----------------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda3       none            swap    sw              0       0
/dev/md0        /boot           reiserfs defaults        0       2
/dev/md1        /               reiserfs defaults        0       2

------------------------------------------------------
2. less /boot/grub/menu.lst
------------------------------------------------------
timeout 8

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# raid
##########################################
title Ubuntu Linux (Kernel hd0, Root /dev/md1)
        kernel  (hd0,0)/vmlinuz-2.6.8.1-3-386 root=/dev/md1 ro splash
        initrd  (hd0,0)/initrd.img-2.6.8.1-3-386
        savedefault
        boot

title Ubuntu Linux (Kernel hd1, Root /dev/md1)
        kernel  (hd1,0)/vmlinuz-2.6.8.1-3-386 root=/dev/md1 ro splash
        initrd  (hd1,0)/initrd.img-2.6.8.1-3-386
        savedefault
        boot

# single user
##########################################
title Ubuntu Linux single (Kernel hd0, Root /dev/md1)
        kernel  (hd0,0)/vmlinuz-2.6.8.1-3-386 root=/dev/md1 ro single
        initrd  (hd0,0)/initrd.img-2.6.8.1-3-386
        savedefault
        boot

title Ubuntu Linux single (Kernel hd1, Root /dev/md1)
        kernel  (hd1,0)/vmlinuz-2.6.8.1-3-386 root=/dev/md1 ro single
        initrd  (hd1,0)/initrd.img-2.6.8.1-3-386
        savedefault
        boot



  reply	other threads:[~2005-03-04 14:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-04 14:01 raid1 boots with one disk only Christian Mueller
2005-03-04 14:51 ` Steve Kwee [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-07 20:18 Bailey, Scott
2005-03-08  9:32 ` Steve Kwee
2005-03-04 21:05 Bailey, Scott
2005-03-07 16:04 ` Steve Kwee
2005-03-04 12:03 Steve Kwee
2005-03-07 20:07 ` Steve Kwee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20050304T154438-950@post.gmane.org \
    --to=skwee@itw.de \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.