LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-24-2008, 11:37 AM   #1
izaakrach
Member
 
Registered: Jun 2006
Location: Reno, NV USA
Distribution: Ubuntu
Posts: 32

Rep: Reputation: 16
Ext3 - Short read reading journal superblock


I tried fsck and this is what I got:

[root@localhost todd]# fsck /dev/sda6
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
/dev/sda6: Attempt to read block from filesystem resulted in short read while reading block 529

/dev/sda6: Attempt to read block from filesystem resulted in short read reading journal superblock

fsck.ext3: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/sda6
[root@localhost todd]#
________________________________________________________________________

Then I tried to run debugfs -w and when I try to view any of the files I get:
[root@localhost todd]# debugfs /dev/sda6 -w
debugfs 1.40.8 (13-Mar-2008)
debugfs: ls
2 (12) . 2 (12) .. 11 (20) lost+found 15679489 (12) todd
18104321 (16) share 11436033 (20) lisahedaria 4177921 (16) arlene
14123009 (20) candynally 5980161 (16) louis 2899969 (16) lpinson
2916353 (12) joe 4866049 (12) jeri 13189121 (16) xerox
3063809 (20) jeriwalter 3342337 (16) arlenem 2932737 (3860) joed
debugfs: cd todd
debugfs: ls

Attempt to read block from filesystem resulted in short read
debugfs:
________________________________________________________________________

when I try to mount the partition I get:
[root@localhost todd]# mount /dev/sda6
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

[root@localhost todd]#

________________________________________________________________________
If I view the log file, this is what I get:

[root@localhost todd]# dmesg | tail
EXT3-fs: error loading journal.
ata1: EH complete
sd 0:0:0:0: [sda] 312500000 512-byte hardware sectors (160000 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 312500000 512-byte hardware sectors (160000 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[root@localhost todd]#
________________________________________________________________________
This is the first time that I've ever even really looked at the file system in 8 years of using Linux. I know I'm an idiot for not caring, but I do now. I've heard for years that ext3 is far better than NTFS and frankly that's always been good enough for me. So if anyone has a clue which direction to point me and can be of assistance it would be greatly appreciated. Yes this is the /home partition of a "win2k domain controler" where all of the user files are. It always bugs me when people start crying about how important the data is so I won't do it. Only that the data was important enough to me that my "win2k domain controler" is not win2k. I here by swear that I will help the next person with a problem that I know how to fix. I would have done that anyway but there it is. Thanks in advance.
 
Old 10-25-2008, 04:10 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,959

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Try an alternate superblock - "man fsck.ext3" will direct you to "mkfs.ext3 -n ..."
Very useful.

As a last resort, you might want to read the description of the "-S" parameter. But this really is a last resort.

Please read my sigline ...
 
Old 10-27-2008, 10:48 PM   #3
izaakrach
Member
 
Registered: Jun 2006
Location: Reno, NV USA
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 16
Sorry, I tried what you said but it said that the device was in use. I didn't have it mounted and I assumed that would be enough. I'm downloading Knoppix now and will give it another try tomorrow. Thanks for the reply.
 
Old 10-28-2008, 06:40 PM   #4
izaakrach
Member
 
Registered: Jun 2006
Location: Reno, NV USA
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 16
This is what I got while running knoppix


root@Knoppix:/ramdisk/home/knoppix# e2fsck -n /dev/sda6
e2fsck 1.40-WIP (14-Nov-2006)
Couldn't find ext2 superblock, trying backup blocks...
/dev/sda6: Attempt to read block from filesystem resulted in short read while reading block 529

/dev/sda6: Attempt to read block from filesystem resulted in short read reading journal superblock

e2fsck: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/sda6
root@Knoppix:/ramdisk/home/knoppix#
_____________________________________________________________________________________

This is what happened when I tried to use a different superBlock

root@Knoppix:/ramdisk/home/knoppix# e2fsck -b 32768 /dev/sda6
e2fsck 1.40-WIP (14-Nov-2006)
/dev/sda6: Attempt to read block from filesystem resulted in short read while reading block 529

/dev/sda6: Attempt to read block from filesystem resulted in short read reading journal superblock

e2fsck: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/sda6
root@Knoppix:/ramdisk/home/knoppix#

_____________________________________________________________________________________

This is what happened when I tried to byte-swap the whole partition

root@Knoppix:/ramdisk/home/knoppix# e2fsck -S /dev/sda6
e2fsck 1.40-WIP (14-Nov-2006)
Couldn't find ext2 superblock, trying backup blocks...
/dev/sda6: Attempt to read block from filesystem resulted in short read while reading block 529

/dev/sda6: Attempt to read block from filesystem resulted in short read reading journal superblock

e2fsck: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/sda6
root@Knoppix:/ramdisk/home/knoppix#

___________________________________________________________________________________

This is what I got when I asked for all of the backup superBlocks (none of which worked)
root@Knoppix:/ramdisk/home/knoppix# mke2fs -n /dev/sda6
mke2fs 1.40-WIP (14-Nov-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
18628608 inodes, 37246694 blocks
1862334 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1137 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872

root@Knoppix:/ramdisk/home/knoppix#

___________________________________________________________________________________

Is there anything I can do with this information? Can I make my own superBlock?

Thanks in advance.

Todd
 
Old 10-28-2008, 06:47 PM   #5
izaakrach
Member
 
Registered: Jun 2006
Location: Reno, NV USA
Distribution: Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 16
Oh and here is the log entry after running e2fsck -S

root@Knoppix:/ramdisk/home/knoppix# dmesg | tail
ASC=0x11 ASCQ=0x4
end_request: I/O error, dev sda, sector 14527062
printk: 4 messages suppressed.
Buffer I/O error on device sda6, logical block 4239
ata1: EH complete
SCSI device sda: drive cache: write back
SCSI device sda: 312500000 512-byte hdwr sectors (160000 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
root@Knoppix:/ramdisk/home/knoppix#
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot failure: IO error reading journal superblock waterbug1963 Fedora 1 09-12-2007 12:34 PM
Error reading block ... resulted in short read shadowrise Linux - Hardware 1 12-29-2006 09:15 AM
help please - "Superblock has an invalid ext3 journal" BrianK Linux - General 2 07-11-2006 08:20 PM
EXT3-fs: unable to read superblock after kernel upgrade rolandbreedveld Linux - General 2 06-23-2003 05:00 PM
EXT3-fs: unable to read superblock PLEASE HELP!!!!! Madmanator Linux - General 1 10-06-2002 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration