All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: "David M. Strang" <dstrang@shellpower.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: Booting from raid1 -- md: invalid raid superblock magic on sdb1
Date: Sat, 03 Dec 2005 09:02:29 -0500	[thread overview]
Message-ID: <4391A575.8060707@tmr.com> (raw)
In-Reply-To: <050501c5f2a4$fe72c560$200a11ac@NCNF5131FTH>

David M. Strang wrote:

> I've read, and read, and read -- and I'm still not having ANY luck 
> booting completely from a raid1 device.
>
> This is my setup...
>
> sda1 is booting, working great. I'm attempting to transition to a 
> bootable raid1.
>
> sdb1 is a 400GB partition -- it is type FD.
>
> Disk /dev/sdb: 400.0 GB, 400088457216 bytes
> 2 heads, 4 sectors/track, 97677846 cylinders
> Units = cylinders of 8 * 512 = 4096 bytes
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1    97677846   390711382   fd  Linux raid 
> autodetect
>
> I have created my raid1 mirror with the following command:
>
> mdadm --create /dev/md_d0 -e1 -ap --level=1 --raid-devices=2 
> missing,/dev/sdb1
>
> The raid created correctly, I then partitioned md_d0 to match sda1. 

I hope that's a typo... you need to partition sdb, not the md_d0 raid 
device.

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


  parent reply	other threads:[~2005-12-03 14:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-26 16:18 Booting from raid1 -- md: invalid raid superblock magic on sdb1 David M. Strang
     [not found] ` <559c115f0605930c434a98c6cfd8fd66@logidac.com>
2005-11-26 17:36   ` David M. Strang
2005-11-26 19:05 ` David M. Strang
2005-11-27  4:36   ` David M. Strang
2005-11-27 19:14     ` David M. Strang
2005-11-27 22:00       ` Neil Brown
2005-11-28  2:11         ` David M. Strang
2005-11-28  2:24           ` Ross Vandegrift
2005-11-28  2:33             ` David M. Strang
2005-11-28  3:11               ` Ross Vandegrift
2005-11-28  3:19                 ` David M. Strang
2006-02-14  4:12         ` Lilo append= , A suggestion Mr. James W. Laferriere
2006-02-14  7:15           ` Neil Brown
2006-02-14  7:17           ` Luca Berra
2005-12-03 14:02 ` Bill Davidsen [this message]
2005-12-03 19:49   ` Booting from raid1 -- md: invalid raid superblock magic on sdb1 David M. Strang

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=4391A575.8060707@tmr.com \
    --to=davidsen@tmr.com \
    --cc=dstrang@shellpower.net \
    --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.