LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-18-2006, 10:55 PM   #16
Jerre Cope
Member
 
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.

http://www.namesys.com/reiserfsck.html

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-18-2006, 11:12 PM   #17
compu73rg33k
Member
 
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-18-2006, 11:31 PM   #18
Jerre Cope
Member
 
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.
 
  


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

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

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