LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-24-2006, 08:53 AM   #1
whysyn
Member
 
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, 10:19 AM   #2
ramram29
Member
 
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.
 
  


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

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

All times are GMT -5. The time now is 02:30 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