Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 08-24-2006, 09:53 AM   #1
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
did e2fsck mark any blocks bad? how do i check?

(or: How do I view the bad blocks list)

In my continuing saga of hard drive problems (2006 has been a rough year), I started getting read errors on a database table and found SCSI errors being spit out by the kernel.

Because these errors were on a table stored on the root partition, I downed the system and booted off a CD with some utilities.

"e2fsck -c -c /dev/sda3"

Did do a read/write bad block check on the drive, taking almost four hours. It said it finished the bad block scan, but did not say whether it actually added any to the bad block list.

Is there a command that will display the bad block list from the filesystem? I'd rather make sure it found some than wait for another crash...

Thanks much!
Old 08-24-2006, 11:19 AM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Try runnning 'dumpe2fs -b /dev/sda3 | less'. It should tell you if it finds any bad blocks.


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
tools to mark or recover bad sectors rogerdv Linux - Software 1 07-15-2005 10:50 AM
Does e2fsck indicate which blocks are bad on your hard drive??? CANTOR Linux - Software 8 06-19-2005 04:05 AM
How to do a bad blocks check yelo Linux - General 2 04-02-2004 11:14 PM
e2fsck and bad blocks MunterMan Linux - Software 0 11-23-2003 10:58 AM
Qns on Bad partition when e2fsck used Hippolilo Linux - General 2 08-30-2002 08:23 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:17 PM.

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