Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Couldn't find ext2 supter block.......

Status
Not open for further replies.

pham

Technical User
Aug 10, 2001
16
US
Hi,

I am running redhat linux 7.2. I have a mount point (not on the system disk) called /dev/ida/c0d1p5. During boot up, the system gives error:
--------
couldn't find ext2 superblock, trying backup block...
e2fsck: Bad magic number in super-block while trying to open /dev/ida/c0d1p5"

The superblock could not be read or does not describe a corerect ext2 file system.........

Try running e2fsck with an alternate superblock:
e2fsck -b 8193
----------

This partition was working find before. Looks like the partition may have been corrupted.

Does anyone know what command to use to repair this file sytem (I have formated as an ext3 - journal file system)?

I have tried for the following commands:
#fsck -t ext3 /dev/ida/c0d1p5
#e2fsck -p /dev/ida/c0d1p5
#e2fsck -y /dev/ida/c0d1p5
#e2fsck -b 8193 /dev/ida/c0e1p5

and they DID NOT work.

My question is:
1) How to repair an ext3 file system
2) How to list out a list of the alternate superblock on the device?

Thanks,
Steve
 
Hi,





Hmmmm you are using smart arrays (/dev/ida/...) which I can't claim much expertise in... Looks like solaris / freebsd slices.





Anyway, ext3 is not supposed to do this at all. What you could try is to boot without the ext3 journal. Get yourself to the boot: prompt and type the following parameters :





boot: linux rootfstype=ext2





It may start and do an automatic fsck. If not I guess you have to start in single user mode :





boot: linux single rootfstype=ext2





And try to fsck by hand.





Hope this helps


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top