Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-18-2006, 11:55 PM   #16
Jerre Cope
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37

I'm afraid you'll need a drive partition of at least the same size, since you can't tell for sure how the blocks were allocated on the drive.

Without that, I think you're down to using the --badblocks option and --fix-fixable option. Read the man here if you haven't a machine left to run man on.

You've past my experiance level at this point.

Regarding the SMART utilities. They should also tell you about accumulated errors. Don't just trust the test. Check the accumulaters after use and watch if they increase. I think there should be a short test and also a long test. Check the accumulators after each test. When you get the machine back up. Webmin has a web-based SMART utility front-end that you can keep an eye on your disk with to catch problems earlier.
Old 05-19-2006, 12:12 AM   #17
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Thanks for all the help you've given me Jerre. Anyway the drive was maxtor and I hear they're known to crash at an early age (5 months in my case). It said how you could write over the bad blocks somehow; would you know how to do that?
Old 05-19-2006, 12:31 AM   #18
Jerre Cope
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
You're welcome.

First of all, as reiser indicated, the drive should be taking care of the bad blocks itself, the fact that it didn't indicates a bad drive problem.

I think you'll need a combination of the badblocks command to build a list of bad blocks along with the --badblocks and --rebuild-tree option to recover.

When I'm checking for bad blocks on a running system, I usually do something simple minded like fill up the partion using dd while watching the SMART utilites in webmin.

Normally I just trust the drive to work. Lately, since drives are so cheap I never build a linux box without linux software raid.

If you have more than one machine available, experiment with rsync for even more redundancy.


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
An odd reiserfs booting problem in a special situation may be about SUSE10's reiserfs ayal Linux - Newbie 7 11-15-2005 08:36 AM
reiserfs shared drive r/o problem munkie_poo Slackware 2 07-06-2005 07:41 AM
Problem with reiserfs kleptophobiac Linux - Software 2 01-01-2005 12:22 AM
reiserfs problem? mathfeel Linux - Software 4 08-19-2004 07:37 PM
Add ReiserFS package destroys non-ReiserFS partitions smirk Mandriva 0 03-24-2004 08:20 PM > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration