LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2008, 04:32 PM   #1
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Rep: Reputation: 15
Many or few badblocks?


Hi, i ran badblocks command and got 14 badblocks:
Code:
# cat badblocks.dat
155519936
155519937
155519938
155519939
155519940
155519941
155519942
155519943
155520456
155520504
155520505
155520506
155520507
155521008
Is that too much?
How can i isolated them?
 
Old 10-08-2008, 06:41 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
14 bad blocks is a fairly large number, but since they seem to be mostly in a few groups, I would suspect a single bad spot on the disk. By overwriting those blocks, the drive's firmware might be able to relocate those blocks and hide the badblocks. Also, I would consider performing a SMART test using smartmontools to check other factors of drive health.
 
Old 10-09-2008, 07:54 AM   #3
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Original Poster
Rep: Reputation: 15
Thanks. But I didn't understand how can i isolate those badblocks (considering a reiserfs filesystem)
 
Old 10-09-2008, 08:00 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
When you format the disk, pass --badblocks FILENAME to mkfs.reiserfs, where FILENAME is the file that contains the list of bad blocks.

You can also use that option with fsck.reiserfs to update the list on an existing filesystem, but this may cause irreparable data loss (though if those blocks are really bad, your data is gone anyway).

Last edited by Matir; 10-09-2008 at 08:02 AM.
 
Old 10-09-2008, 10:18 AM   #5
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Original Poster
Rep: Reputation: 15
Nice, thanks very much
 
  


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
badblocks command Walman Linux - Software 2 04-13-2007 04:33 PM
badblocks rotty Slackware 2 10-21-2006 08:30 AM
Badblocks odd Linux - Software 1 06-03-2004 02:54 PM
Badblocks and using dd? sthemage Linux - General 1 12-26-2003 03:52 PM
When and how to use e2fsck and badblocks Silly22 Linux - Newbie 5 05-29-2002 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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