LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 11-03-2005, 08:17 AM   #1
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Rep: Reputation: 34
fsck.ext3: Attempt to read block from filesystem trouble


For some unknown reason I turned my PC on and it would not boot up, I get this message : fsck.ext3: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/hdb1
/dev/hdb6: clean, 10/4055296 files, 135463 blocks Failed to check file systems, Do you want to repair errors? (Y/N) (beware, you can lose data)

If I press Y it drops me to a shell and tells me to Press Control-D for normal start-up:
Press Control-D for normal start-up.

If I boot into fail safe the same thing repeats itself.

Can someone explain what is going on and lead me in the right direction?

If I enter my password it asks me (Repair filesystem) 1 # What do I enter here to repair?

d-1

Last edited by dolphans1; 11-03-2005 at 08:29 AM.
 
Old 11-03-2005, 10:54 AM   #2
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
did you modify your partition table? Use Partition Magic or something else that might have messed with it?

That's probably your problem. You'll have to run fdisk with the -p option and print your partition table. This will tell you what it looks like now, and then go into your /etc/fstab and see if your fstab matches your partition table as displayed by fdisk.

Then you can try to load up a live CD or, you can even edit the fstab from the console that you get into by using the cat command. I think you just need to edit the linux partitions back to their proper values, so you can boot back into the OS, and then you can edit the rest.

Hope this helps.
 
Old 11-03-2005, 11:17 AM   #3
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
No all I did was shut down the pc overnight. I did not use Partician Magic so I am not sure what is going on.


d-1





Quote:
Originally posted by purelithium
did you modify your partition table? Use Partition Magic or something else that might have messed with it?

That's probably your problem. You'll have to run fdisk with the -p option and print your partition table. This will tell you what it looks like now, and then go into your /etc/fstab and see if your fstab matches your partition table as displayed by fdisk.

Then you can try to load up a live CD or, you can even edit the fstab from the console that you get into by using the cat command. I think you just need to edit the linux partitions back to their proper values, so you can boot back into the OS, and then you can edit the rest.

Hope this helps.
 
Old 11-03-2005, 12:42 PM   #4
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
well all I can say is to try what I suggested and see if the fstab matches the partition table from fdisk
 
Old 11-04-2005, 10:09 AM   #5
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
Hey what I ended up doing was what I knew I could do all along, but wanted to avoid doing it in an effort to save time. I did a reinstall without re-formating my home directory. I am going to have to do some updates again, but was able to save all my documents.

I was trying to see if there was an easier way to fix my problem without doing the obvious.

I appreciate your tips.

d-1



Quote:
Originally posted by purelithium
well all I can say is to try what I suggested and see if the fstab matches the partition table from fdisk
 
Old 11-04-2005, 12:16 PM   #6
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
did you even try what i suggested? The solution was probably simpler than just doing a re-install....
 
Old 11-08-2005, 12:39 PM   #7
cstew3202
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Just fyi - I had the same problem dolphans1 had, and it was indeed as you suggested - a mismatch between the way the partition was defined in /etc/fstab and the way it was partioned. Once I corrected the fstab, all was fine.

Thanks!
 
Old 11-08-2005, 12:41 PM   #8
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Excellent! I'm glad that I was able to help at least one person
 
Old 11-08-2005, 12:58 PM   #9
cstew3202
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
It frustrates me sometimes on these boards when a problem is posted, suggestions are made, but the OP never responds as to whether or not the suggested solution worked!
 
Old 11-08-2005, 11:14 PM   #10
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
I could not even boot to my desktop, or failsafe mode, it came to a point that I was spending more time trying to figure out how to get to my fstab to make corrections, moreover I had a dual boot system making it that much more difficult.

To the other poster, I did respond, perhaps indirectly that it did not work, because I mentioned I had to do a reinstall without formatting.

I appreciate your help or suggestions.

d-1


Quote:
Originally posted by purelithium
did you even try what i suggested? The solution was probably simpler than just doing a re-install....

Last edited by dolphans1; 11-08-2005 at 11:16 PM.
 
Old 07-07-2007, 02:40 AM   #11
Pimmy
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian / Fedora Core
Posts: 12

Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by purelithium
Excellent! I'm glad that I was able to help at least one person
and another one.. ;-)

The problem wasso obvious that I didnt even think it could be the mismatch of the /etc/fstab entries..

I got my problem when I removed one old hdd and the disk names changed.


Thanks..
 
Old 01-15-2008, 08:46 PM   #12
onelove
LQ Newbie
 
Registered: Jan 2008
Distribution: freesco; slackware
Posts: 1

Rep: Reputation: 0
same verbage, but this is why I think its a failed drive.

cant let this dead thread rest. I have a drive I've suspected of failing. got these same errors from e2fsck ("attempt to read block from filesystem resulted in short read while trying to open"). no adjustments to partitions during the past week, when I was repeatedly moving data to this drive trying to see if it would fail or not <ok, trying to break it>.

finally, today, when I attempted to change to this directory, I got an I/O error.

fsck = attempt to read block from filesystem resulted in short read while trying to open

fdisk = unable to read device

cfdisk = fatal error: cannot read device.

hdparm -i (small i) does return the drive specs and serial #, etc.

anywhoo, I'm a total noob w linux, but this drive has been on the watch list for a week because it kept intermittently failing during write operations or disappearing from samba. I thought it was something configured wrong, but I'm thinking now that its just a bad drive. Maybe somebody can correct me if I'm doing all the wrong things.

Thankfully, no data was lost and I'll just pull the drive and toss it.

love the forum, have learned a lot here during this slack 12 installation and configuration. thanks all!
 
Old 10-07-2009, 04:30 AM   #13
ppanyam
Member
 
Registered: Oct 2004
Location: India
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
Quote:
Originally Posted by purelithium View Post
well all I can say is to try what I suggested and see if the fstab matches the partition table from fdisk
I just got identical problem and could solve it easily thanks to your post above. How does the partition table - fstab mismatch happen in the first place? That sounds very funny and dangerous at the same time.

regards

ppanyam
 
  


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
Read and Write to Ext3 Filesystem from Windows onto Linux lennysokol Linux - General 34 01-22-2014 09:07 AM
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 08:34 PM
fsck error (read from fs resulted in short read) NeoKaiserSigma Linux - General 0 04-05-2005 06:24 PM
hosts.deny doesn't block an SSH attempt vmattila Linux - Security 4 11-14-2004 12:18 PM
fsck on ext3 hemanth_13 Linux - General 1 07-24-2003 09:44 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration