linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David M. Strang" <dstrang@shellpower.net>
To: linux-raid@vger.kernel.org, Neil Brown <neilb@suse.de>
Subject: Re: Booting from raid1 -- md: invalid raid superblock magic on sdb1
Date: Sat, 26 Nov 2005 23:36:37 -0500	[thread overview]
Message-ID: <055901c5f30c$282ad520$200a11ac@NCNF5131FTH> (raw)
In-Reply-To: 054001c5f2bc$642a62c0$200a11ac@NCNF5131FTH

On Saturday 26 November 2005 14:03:35, David M. Strang wrote:
> On Saturday 26 November 2005 11:14:46, David M. Strang wrote:
> > 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
> >
> OK, I've dumped the autodetect raid type. It seems it's pointless on v1.0 
> superblocks -- it was just generating an 'extra' error.
>
> 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   83  Linux
>
> > Here is my lilo.conf settings; I'm attempting to get it to mount md_d0 
> > when the kernel starts. I realize that automount (type FD) no longer 
> > functions with a version-1 superblock.
> >
> > #
> > # /etc/lilo.conf: lilo(8) configuration, see lilo.conf(5)
> > #
> >
> > lba32
> > install=text
> > boot=/dev/sda
> > map=/boot/System.map
> > image=/vmlinuz
> >         label=CRUX
> >         root=/dev/sda1
> >         read-only
> >         append="quiet md=d0,/dev/sdb1"
> >
> > # End of file
> >
> >
> > Without fail, every time the system boots -- I get the following 
> > message:
> >
> > md: invalid raid superblock magic on sdb1
> >
>
> This still persists. Are there some patches to the kernel or something 
> that I need for it to recognize v1.0 superblocks? I'm running Linux 
> v2.6.14.3
>
> As I mentioned before, mdadm can state the array w/o any issues at all...

Please forgive me for pinging you direct on this Neil; but I fear you are 
the only one who can answer it.

I am a bit considered by this in the startup log:

Nov 26 21:47:35 xenogenesis kernel: md: raid1 personality registered as nr 3
Nov 26 21:47:35 xenogenesis kernel: md: md driver 0.90.2 MAX_MD_DEVS=256, 
MD_SB_DISKS=27
Nov 26 21:47:35 xenogenesis kernel: md: bitmap version 3.39

While mdadm lets me start a v1.0 superblock; I fear that I missing some 
level of kernel patch.

Nov 26 21:47:35 xenogenesis kernel: md: Loading md_d0: /dev/sdb1
Nov 26 21:47:35 xenogenesis kernel: md: invalid raid superblock magic on 
sdb1
Nov 26 21:47:35 xenogenesis kernel: md: sdb1 has invalid sb, not importing!
Nov 26 21:47:35 xenogenesis kernel: md: md_import_device returned -22

-(root@xenogenesis)-(/usr/src/linux-2.6.14.3/drivers/md)- # mdadm -A 
/dev/md_d0 /dev/sdb1
mdadm: /dev/md_d0 has been started with 1 drive (out of 2).
-(root@xenogenesis)-(/usr/src/linux-2.6.14.3/drivers/md)- # mdadm --detail 
/dev/md_d0
/dev/md_d0:
        Version : 01.00.02
  Creation Time : Sat Nov 26 10:20:11 2005
     Raid Level : raid1
     Array Size : 390711372 (372.61 GiB 400.09 GB)

I've searched the linux-raid archive; but all the patches I see that might 
be relevent, have long been applied to the tree.

-- David M. Strang 


  reply	other threads:[~2005-11-27  4:36 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 [this message]
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 ` Booting from raid1 -- md: invalid raid superblock magic on sdb1 Bill Davidsen
2005-12-03 19:49   ` 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='055901c5f30c$282ad520$200a11ac@NCNF5131FTH' \
    --to=dstrang@shellpower.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).