LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-10-2005, 11:37 AM   #1
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-13.37 (multi-lib)
Posts: 1,267

Rep: Reputation: 110Reputation: 110
reiserfsck and smartctl


Hi all,

I have had to fix disk errors several times in the last two months with reiserfsck --rebuild-tree or reiserfsck --fix-fixable.

These are always on /dev/hda6 and involve the /opt folder as the contents of /opt are found in /lost+found.

So I have checked the disk with smartctl -t long /dev/hda and there are no problems.

Three questions.

1. Can I remove all the entries in /lost+found?

2. How do I reconcile the disk problems with the fact that smartctl says that my disc is OK?

3. Is there a definitive set of test suites that will settle, once and for all, the health of the disk?

Samac
 
Old 07-10-2005, 12:20 PM   #2
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 141

Rep: Reputation: 15
I can't speak specifically to 1 or 2, but...

there are disk issues and filesystem issues. I assume you're talking about filesystem issues, but failing hardware can lead to an unreliable filesystem. (The same can be said for faulty memory.)

To determine if the disk is faulty, most hard drive manufacturers provide free utilities. I would download those to determine if your hard drive is still working fine.

(For good measure, I would grab memtest86 to verify that your memory's ok too.)

Filesystem issues are trickier to resolve. There are some half-measures you could take, such as going through the list of installed packages and re-installing them. If you're having stability issues or flakey behavior, this may resolve it. But the only sure-fire way is to wipe the partitions and re-install from scratch. You should be fine keeping /home, so all's not lost. I would back up /etc regularly for future reference.

Hope this helps...

Garry
 
Old 07-10-2005, 12:39 PM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-13.37 (multi-lib)
Posts: 1,267

Original Poster
Rep: Reputation: 110Reputation: 110
Sounds reasonable, I have downloaded the aforementioned disk utilities, but they are all packaged for Windows, that gives me a problem running them. (No Windows here).

I have memtest and will run it.

I was thinking filesystem problems caused by software, probably in KDE, as well. However a full re-install sounds drastic. I will use that as a last resort.

Samac
 
Old 07-10-2005, 01:44 PM   #4
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-13.37 (multi-lib)
Posts: 1,267

Original Poster
Rep: Reputation: 110Reputation: 110
Many thanks major.tom

I had a single dead memory address at 267.7mb, so I swapped in my spare 512mb dimm and checked that. All seems well.

I will keep an eye on it though.

It also seems like it answers my original question 2.

Thanks again

Samac
 
Old 07-10-2005, 04:05 PM   #5
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 141

Rep: Reputation: 15
My pleasure. I hope that sorts out your problems.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
smartctl (smartmontools) Support For SATA? VCore5.0 Linux - Software 2 11-28-2005 08:44 PM
Discussion on smartctl : Understanding the information vesperatus Linux - General 7 09-13-2005 10:38 AM
reiserfsck error Riallin Linux - General 1 05-26-2005 01:03 PM
smartctl rch Linux - Hardware 0 04-13-2003 11:11 PM
reiserfsck nautilus_1987 Slackware 1 11-21-2002 11:06 PM


All times are GMT -5. The time now is 10:05 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration