linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unable to read superblock
@ 2002-07-18  3:34 Micah Anderson
  2002-07-18 23:58 ` Micah Anderson
  2002-07-22 23:45 ` Micah Anderson
  0 siblings, 2 replies; 6+ messages in thread
From: Micah Anderson @ 2002-07-18  3:34 UTC (permalink / raw)
  To: linux-raid

I'm confused, I've done this hundreds of times, but for some reason it
doesn't work now, I must be missing something, can someone poke me in
the eye with it?

I've currently got 2.2.20 with raid-1 devices booting fine:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/md5                139945     28617    104103  22% /
/dev/md0                  7683      4253      3034  58% /boot
/dev/hda5                69904        15     66280   0% /tmp
/dev/md4               1430864    933128    425048  69% /usr
/dev/md3               1438768    392848    972832  29% /var
/dev/md2              35990024   3980340  30181492  12% /var/spool
/dev/md1                233225    160199     60985  72% /home

cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [translucent] 
read_ahead 1024 sectors
md0 : active raid1 hdc2[0] hda2[1] 7936 blocks [2/2] [UU]
md5 : active raid1 hdc3[0] hda3[1] 144512 blocks [2/2] [UU]
md6 : active raid1 hdc5[0] hda5[1] 72192 blocks [2/2] [UU]
md4 : active raid1 hdc6[0] hda6[1] 1453760 blocks [2/2] [UU]
md3 : active raid1 hdc7[0] hda7[1] 1461760 blocks [2/2] [UU]
md2 : active raid1 hdc9[0] hda9[1] 36563840 blocks [2/2] [UU]
md1 : active raid1 hdc10[0] hda10[1] 240832 blocks [2/2] [UU]
unused devices: <none>

I had lilo set for:

boot=/dev/md0
root=/dev/md5
image=/boot/vmlinuz-2.2.20RAID
        label=RAID
        read-only
        alias=4
		
When I installed 2.4.18, all of a sudden I can't boot, EXT2-fs: unable
to read superblock. Yes, I selected all the RAID options on kernel
compile.

What the heck?

Ok, so I think it is a lilo problem, I wanted to toss lilo and put
grub on anyway:

My grub is set for:
kernel (hd0,1)/vmlinuz-2.2.20RAID root=/dev/md5

If I have grub set to:

kernel (hd0,1)/vmlinuz-2.4.18 root=/dev/md5

again with the unable to read superblock stuff....

if I have it set to:
kernel (hd0,1)/vmlinuz-2.4.18 root=/dev/hda3

request module [block major 3]: root fs not mounted
cannot open root device hda3
please append correct root= boot option

AGGGH?!

Thanks,
Micah

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to read superblock
  2002-07-18  3:34 Unable to read superblock Micah Anderson
@ 2002-07-18 23:58 ` Micah Anderson
  2002-07-22 23:45 ` Micah Anderson
  1 sibling, 0 replies; 6+ messages in thread
From: Micah Anderson @ 2002-07-18 23:58 UTC (permalink / raw)
  To: linux-raid

Some addition information if it helps:

Both disks are partitioned the same:

Disk /dev/hda: 255 heads, 63 sectors, 5004 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1         1      8001    1  FAT12
/dev/hda2   *         2         2      8032+  fd  Linux raid autodetect
/dev/hda3             3        20    144585   fd  Linux raid autodetect
/dev/hda4            21      5005  40042012+   5  Extended
/dev/hda5            21        29     72261   fd  Linux raid autodetect
/dev/hda6            30       210   1453851   fd  Linux raid autodetect
/dev/hda7           211       392   1461883+  fd  Linux raid autodetect
/dev/hda8           393       423    248976   82  Linux swap
/dev/hda9           424      4975  36563908+  fd  Linux raid autodetect
/dev/hda10         4976      5005    240943+  fd  Linux raid autodetect

On Wed, 17 Jul 2002, Micah Anderson wrote:

> I'm confused, I've done this hundreds of times, but for some reason it
> doesn't work now, I must be missing something, can someone poke me in
> the eye with it?
> 
> I've currently got 2.2.20 with raid-1 devices booting fine:
> 
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/md5                139945     28617    104103  22% /
> /dev/md0                  7683      4253      3034  58% /boot
> /dev/hda5                69904        15     66280   0% /tmp
> /dev/md4               1430864    933128    425048  69% /usr
> /dev/md3               1438768    392848    972832  29% /var
> /dev/md2              35990024   3980340  30181492  12% /var/spool
> /dev/md1                233225    160199     60985  72% /home
> 
> cat /proc/mdstat
> Personalities : [linear] [raid0] [raid1] [raid5] [translucent] 
> read_ahead 1024 sectors
> md0 : active raid1 hdc2[0] hda2[1] 7936 blocks [2/2] [UU]
> md5 : active raid1 hdc3[0] hda3[1] 144512 blocks [2/2] [UU]
> md6 : active raid1 hdc5[0] hda5[1] 72192 blocks [2/2] [UU]
> md4 : active raid1 hdc6[0] hda6[1] 1453760 blocks [2/2] [UU]
> md3 : active raid1 hdc7[0] hda7[1] 1461760 blocks [2/2] [UU]
> md2 : active raid1 hdc9[0] hda9[1] 36563840 blocks [2/2] [UU]
> md1 : active raid1 hdc10[0] hda10[1] 240832 blocks [2/2] [UU]
> unused devices: <none>
> 
> I had lilo set for:
> 
> boot=/dev/md0
> root=/dev/md5
> image=/boot/vmlinuz-2.2.20RAID
>         label=RAID
>         read-only
>         alias=4
> 		
> When I installed 2.4.18, all of a sudden I can't boot, EXT2-fs: unable
> to read superblock. Yes, I selected all the RAID options on kernel
> compile.
> 
> What the heck?
> 
> Ok, so I think it is a lilo problem, I wanted to toss lilo and put
> grub on anyway:
> 
> My grub is set for:
> kernel (hd0,1)/vmlinuz-2.2.20RAID root=/dev/md5
> 
> If I have grub set to:
> 
> kernel (hd0,1)/vmlinuz-2.4.18 root=/dev/md5
> 
> again with the unable to read superblock stuff....
> 
> if I have it set to:
> kernel (hd0,1)/vmlinuz-2.4.18 root=/dev/hda3
> 
> request module [block major 3]: root fs not mounted
> cannot open root device hda3
> please append correct root= boot option
> 
> AGGGH?!
> 
> Thanks,
> Micah
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to read superblock
  2002-07-18  3:34 Unable to read superblock Micah Anderson
  2002-07-18 23:58 ` Micah Anderson
@ 2002-07-22 23:45 ` Micah Anderson
  2002-07-23  2:52   ` Ross Vandegrift
  2002-07-23  3:57   ` Neil Brown
  1 sibling, 2 replies; 6+ messages in thread
From: Micah Anderson @ 2002-07-22 23:45 UTC (permalink / raw)
  To: linux-raid

I never received a reply to my problem, is it because there isn't
anyone who knows why it is not working? Should I provide some more
information?

Thanks for your time,
Micah

On Wed, 17 Jul 2002, Micah Anderson wrote:

> I'm confused, I've done this hundreds of times, but for some reason it
> doesn't work now, I must be missing something, can someone poke me in
> the eye with it?
> 
> I've currently got 2.2.20 with raid-1 devices booting fine:
> 
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/md5                139945     28617    104103  22% /
> /dev/md0                  7683      4253      3034  58% /boot
> /dev/hda5                69904        15     66280   0% /tmp
> /dev/md4               1430864    933128    425048  69% /usr
> /dev/md3               1438768    392848    972832  29% /var
> /dev/md2              35990024   3980340  30181492  12% /var/spool
> /dev/md1                233225    160199     60985  72% /home
> 
> cat /proc/mdstat
> Personalities : [linear] [raid0] [raid1] [raid5] [translucent] 
> read_ahead 1024 sectors
> md0 : active raid1 hdc2[0] hda2[1] 7936 blocks [2/2] [UU]
> md5 : active raid1 hdc3[0] hda3[1] 144512 blocks [2/2] [UU]
> md6 : active raid1 hdc5[0] hda5[1] 72192 blocks [2/2] [UU]
> md4 : active raid1 hdc6[0] hda6[1] 1453760 blocks [2/2] [UU]
> md3 : active raid1 hdc7[0] hda7[1] 1461760 blocks [2/2] [UU]
> md2 : active raid1 hdc9[0] hda9[1] 36563840 blocks [2/2] [UU]
> md1 : active raid1 hdc10[0] hda10[1] 240832 blocks [2/2] [UU]
> unused devices: <none>
> 
> I had lilo set for:
> 
> boot=/dev/md0
> root=/dev/md5
> image=/boot/vmlinuz-2.2.20RAID
>         label=RAID
>         read-only
>         alias=4
> 		
> When I installed 2.4.18, all of a sudden I can't boot, EXT2-fs: unable
> to read superblock. Yes, I selected all the RAID options on kernel
> compile.
> 
> What the heck?
> 
> Ok, so I think it is a lilo problem, I wanted to toss lilo and put
> grub on anyway:
> 
> My grub is set for:
> kernel (hd0,1)/vmlinuz-2.2.20RAID root=/dev/md5
> 
> If I have grub set to:
> 
> kernel (hd0,1)/vmlinuz-2.4.18 root=/dev/md5
> 
> again with the unable to read superblock stuff....
> 
> if I have it set to:
> kernel (hd0,1)/vmlinuz-2.4.18 root=/dev/hda3
> 
> request module [block major 3]: root fs not mounted
> cannot open root device hda3
> please append correct root= boot option
> 
> AGGGH?!
> 
> Thanks,
> Micah
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to read superblock
  2002-07-22 23:45 ` Micah Anderson
@ 2002-07-23  2:52   ` Ross Vandegrift
  2002-07-23 21:01     ` Micah Anderson
  2002-07-23  3:57   ` Neil Brown
  1 sibling, 1 reply; 6+ messages in thread
From: Ross Vandegrift @ 2002-07-23  2:52 UTC (permalink / raw)
  To: Micah Anderson; +Cc: linux-raid

On Mon, Jul 22, 2002 at 04:45:03PM -0700, Micah Anderson wrote:
> > I had lilo set for:
> > 
> > boot=/dev/md0
> > root=/dev/md5
> > image=/boot/vmlinuz-2.2.20RAID
> >         label=RAID
> >         read-only
> >         alias=4

Are you using the raid-extra-boot option?  If you aren't you probably
want to be - it'll allow the system to boot if one of the boot drives is
dead.

However, this shouldn't be preventing you from mounting root.

> > When I installed 2.4.18, all of a sudden I can't boot, EXT2-fs: unable
> > to read superblock. Yes, I selected all the RAID options on kernel
> > compile.

This may sound dumb, but are you sure you didn't compile RAID1 as a
module?  If you did, you'll need to use an initrd to load the module
before you mount root.  Otherwise, you'll need to rebuild the kernel
with the driver included in the kernel.

Ross Vandegrift
ross@willow.seitz.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to read superblock
  2002-07-22 23:45 ` Micah Anderson
  2002-07-23  2:52   ` Ross Vandegrift
@ 2002-07-23  3:57   ` Neil Brown
  1 sibling, 0 replies; 6+ messages in thread
From: Neil Brown @ 2002-07-23  3:57 UTC (permalink / raw)
  To: Micah Anderson; +Cc: linux-raid

On Monday July 22, micah@riseup.net wrote:
> I never received a reply to my problem, is it because there isn't
> anyone who knows why it is not working? Should I provide some more
> information?
> 

Sometimes you have to ask twice...  

> > 
> > request module [block major 3]: root fs not mounted
> > cannot open root device hda3

Looks to me like you compiled a kernel that doesn't know about you IDE
controller.  Is that possible??

NeilBrown

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Unable to read superblock
  2002-07-23  2:52   ` Ross Vandegrift
@ 2002-07-23 21:01     ` Micah Anderson
  0 siblings, 0 replies; 6+ messages in thread
From: Micah Anderson @ 2002-07-23 21:01 UTC (permalink / raw)
  To: Ross Vandegrift; +Cc: linux-raid

On Mon, 22 Jul 2002, Ross Vandegrift wrote:

> On Mon, Jul 22, 2002 at 04:45:03PM -0700, Micah Anderson wrote:
> > > I had lilo set for:
> > > 
> > > boot=/dev/md0
> > > root=/dev/md5
> > > image=/boot/vmlinuz-2.2.20RAID
> > >         label=RAID
> > >         read-only
> > >         alias=4
> 
> Are you using the raid-extra-boot option?  If you aren't you probably
> want to be - it'll allow the system to boot if one of the boot drives is
> dead.

Actually, I switched to grub, I wasn't aware of the raid-extra-boot
option, wonder if there is something similar in grub.


> This may sound dumb, but are you sure you didn't compile RAID1 as a
> module?  If you did, you'll need to use an initrd to load the module
> before you mount root.  Otherwise, you'll need to rebuild the kernel
> with the driver included in the kernel.

Yes, I did *not* build them as modules. Modules are too much of a
pain. :)

Micah


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-07-23 21:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-18  3:34 Unable to read superblock Micah Anderson
2002-07-18 23:58 ` Micah Anderson
2002-07-22 23:45 ` Micah Anderson
2002-07-23  2:52   ` Ross Vandegrift
2002-07-23 21:01     ` Micah Anderson
2002-07-23  3:57   ` Neil Brown

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).