LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-10-2003, 10:03 AM   #1
madsjakob
LQ Newbie
 
Registered: Jul 2003
Location: Copenhagen, Denmark
Distribution: Fedora Core 4
Posts: 11

Rep: Reputation: 0
Bad superblock


Hello out there,

I'm having a problem with my linuxbox. Redhat 8.0

I unmounted a bad filesystem to check for errors.

fsck it says:

fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Mar-2002)
fsck.ext3: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /data1

I cannot mount the device again

fdisk -l device says:

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

Disk /dev/hda9 doesn't contain a valid partition table

Now I'm desperate looking for another option than "mke2fs -S"

Thanks in advance

/mj
 
Old 07-10-2003, 12:58 PM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
What happens when you run disk druid? Can it see /dev/hda9?

If it can, you can add it back in while not disturbing the data. Disk druid was the partioner you may have used when you loaded RedHat. It runs under X, so you get the nice GUI look and feel, if that matters to you.

Cheers--
Charles
 
Old 07-10-2003, 01:34 PM   #3
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Welcome to LQ, madsjakob!!

Do you know what the blocksize for your /dev/hda9 is? For RH8, it the default has always been 4k as far as I've seen . That means, there would be a backup superblock at 32768, 98304, 163840 etc. Assuming sparse_super, as default for ext3 . If you had sparse_super unset at filesystem creation, there will be one at every multiple of 32768 ( 8*4k ).

I would try passing the -B 4096 ( or whatever your blocksize is ) option to e2fsck. Read up on the -b option at e2fsck(8) also, so you can pass it a specific superblock at the end of the disk for instance as -b 12345678, if you know that area is intact.

Like you said, I'd save mke2fs -S as a last option, but if you know the blocksize it should be less dangerous than it sounds; of course at that point, we won't have much of a choice.

HTH. Let us know how it goes.

Last edited by nxny; 07-10-2003 at 04:26 PM.
 
Old 07-11-2003, 07:25 AM   #4
Umasankar
LQ Newbie
 
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
Hi,

It seems that the problem is not the bad superblock but the partition in question seems to have some bad blcoks.So try
e2fsck -c device
then mount it back again.

Bye
 
Old 07-11-2003, 07:50 AM   #5
madsjakob
LQ Newbie
 
Registered: Jul 2003
Location: Copenhagen, Denmark
Distribution: Fedora Core 4
Posts: 11

Original Poster
Rep: Reputation: 0
Unhappy

Thank you fellas I really appreciate your help although the disk went really bad - so bad that i didn't even have a chance to try out any of your suggestions.

Anyways I've spend the whole night trying to reestablish the system on a new disk and I'm not done yet - most of the scripts are lost

Thanks again

/mj
 
Old 09-05-2003, 11:30 AM   #6
drspiffy
LQ Newbie
 
Registered: Sep 2003
Location: Easton, PA, US
Distribution: Fedora Core 3
Posts: 3

Rep: Reputation: 0
Short read while checking ext3 journal

I had a disk go south.

e2fsck returns:
e2fsck: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /usr2

No matter what I tell fsck, I get this, unless I give it the -b option and the block number of a non-backup superblock in which case it complains about that.

It seems like fsck isn't even trying. It finds that the journal is bad and gives up. What should I do?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
mount: wrong fs type, bad option, bad superblock...(cdrom,dvd and floppy) SpItoS Mandriva 14 11-12-2004 02:27 PM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM
wrong fs type, bad option, bad superblock on /dev/hdb1, ldare Linux - Hardware 1 02-12-2004 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration