Unable to read superblock
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=4When 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
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
Quoted 69 lines · Micah Anderson
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/md5139945 28617 104103 22% //dev/md07683 4253 3034 58% /boot/dev/hda569904 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% /homecat
/proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [translucent]read_ahead1024 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.20RAIDlabel=RAID read-only alias=4When 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/md5If 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/hda3request module [block major 3]: root fs not mounted cannot open root device hda3
please append correct root= boot optionAGGGH?!
Thanks,
Micah
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
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
Quoted 69 lines · Micah Anderson
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/md5139945 28617 104103 22% //dev/md07683 4253 3034 58% /boot/dev/hda569904 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% /homecat
/proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [translucent]read_ahead1024 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.20RAIDlabel=RAID read-only alias=4When 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/md5If 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/hda3request module [block major 3]: root fs not mounted cannot open root device hda3
please append correct root= boot optionAGGGH?!
Thanks,
Micah
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Micah Anderson
Quoted 8 lines
I had lilo set for:
boot=/dev/md0
root=/dev/md5
image=/boot/vmlinuz-2.2.20RAIDlabel=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.
Quoted 3 lines
Quoted 3 lines
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
[email protected]
Quoted 4 lines · On Monday July 22, [email protected] 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...
Quoted 3 lines
Quoted 3 lines
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
Quoted 10 lines · Ross Vandegrift
Quoted 8 lines · Micah Anderson
Quoted 8 lines
I had lilo set for:
boot=/dev/md0
root=/dev/md5
image=/boot/vmlinuz-2.2.20RAIDlabel=RAID read-only alias=4
Quoted 3 lines
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.
Quoted 4 lines
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