LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 14 hard drive "clicking" (http://www.linuxquestions.org/questions/slackware-14/slackware-14-hard-drive-clicking-4175433730/)

uBoTo 10-23-2012 03:12 PM

Slackware 14 hard drive "clicking"
 
Hi, I have this "clicking" problem from 2 or 3 weeks when I updated do Slackware 14. The situation: when the X-server is on (kde 4.8.5) and the PC is idle, hard drive is making clicking noise. The gap is about 5-6 seconds from click to click. When I stop the X server after 2-3 minutes my hard drive stops clicking. I`ve checked my hard drive and it`s health is excellent, fast SMART test gave no errors. I`ve read many threads about "Clicking hard drive", but with no success when trying to solve the problem. I tried fresh install with Slackware 13.37, then 14.0 - same thing. Maybe I was not hearing this clicking sound before, but now it drives me crazy. Please help :confused::banghead:

OS: Slackware 14
GUI: KDE 4.8.5
HDD: Western Digital (WD) Caviar BLUE WD10EALX-009BA0 1TB SATA

Rupadhya 10-23-2012 03:39 PM

My HD has been clicking at about a one second interval for about 5 years. I backup regularly (like once a night at 12:01 AM) so if the hard drive dies, I will lose at most the days worth of work. I am too cheap to replace it, it is a 1 TB drive. I think it is a Western Digital Caviar Green drive SATA, (I will get more info later when hdparm installs). I have done the Smart tests and they pass with a few saying that the drive is getting old. If you find anything more out, post in on this forum.

- Raj

guanx 10-23-2012 04:31 PM

Ever tried turning off APM with hdparm?

rknichols 10-23-2012 05:40 PM

Quote:

Originally Posted by Rupadhya (Post 4813345)
My HD has been clicking at about a one second interval for about 5 years. I backup regularly (like once a night at 12:01 AM) so if the hard drive dies, I will lose at most the days worth of work. I am too cheap to replace it, it is a 1 TB drive. I think it is a Western Digital Caviar Green drive SATA, (I will get more info later when hdparm installs). I have done the Smart tests and they pass with a few saying that the drive is getting old.

The Western Digital "green" drives are famous for unloading the heads after just a few seconds of inactivity, which causes the Load Cycle Count (attribute 193 in the SMART report) to increase rapidly and exceed the limit (300,000 IIRC) in the drive's specs after just a few months. You can get a WDIDLE3.EXE tool from W-D to extend or eliminate that timeout. There is also a Linux utility available at http://sourceforge.net/projects/idle3-tools/. The setting that these tools change is persistent across power cycling, so you only need to run the tool once in the life of the drive.

ReaperX7 10-23-2012 08:45 PM

If your hard drive is Clicking at 1 click per second.... start looking into replacing the Hard Drive ASAP.

Chances are the read/write head arm motor might be going out, the disk platter is scratched or scuffed from a previous crash or power loss, or the drive motor is failing.

You're on borrowed time so start looking to replace the drive and backup your data.

Rupadhya 10-24-2012 12:18 AM

Yeah, that is why I backup every night. Eventually it is going to give up the ghost. I would like (if I can clear it with my wife) after the hard drive dies that I replace the entire computer. The computer that the bad hard drive is in is about 8 years old. I have basically replicated everything on another more modern machine, with the exception of Windows XP.
Here are some stats from cpuinfo
Code:

processor        : 0
vendor_id        : GenuineIntel
cpu family        : 15
model                : 3
model name        : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 4
microcode        : 0x17
cpu MHz                : 3000.000
cache size        : 1024 KB
physical id        : 0
siblings        : 1
core id                : 0
cpu cores        : 1
apicid                : 0
initial apicid        : 0
fdiv_bug        : no
hlt_bug                : no
f00f_bug        : no
coma_bug        : no
fpu                : yes
fpu_exception        : yes
cpuid level        : 5
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr
bogomips        : 5984.71
clflush size        : 64
cache_alignment        : 128
address sizes        : 36 bits physical, 32 bits virtual
power management:

processor        : 1
vendor_id        : GenuineIntel
cpu family        : 15
model                : 3
model name        : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 4
microcode        : 0x17
cpu MHz                : 3000.000
cache size        : 1024 KB
physical id        : 0
siblings        : 1
core id                : 0
cpu cores        : 0
apicid                : 1
initial apicid        : 1
fdiv_bug        : no
hlt_bug                : no
f00f_bug        : no
coma_bug        : no
fpu                : yes
fpu_exception        : yes
cpuid level        : 5
wp                : yes
flags                : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr
bogomips        : 5984.71
clflush size        : 64
cache_alignment        : 128
address sizes        : 36 bits physical, 32 bits virtual
power management:

It was a great computer for its day, but for $750 I could get a really nice 64 bit processor machine with 1T Hard drive. If I just replace the hard drive, I will not be able to go forward with 64-bit only Operating Systems.

H_TeXMeX_H 10-24-2012 02:10 AM

The clicking is due to the drive spinning down. No need to change the HDD if the SMART tests pass, just turn off the feature:

Code:

hdparm -B 254 /dev/sda
Almost all laptop HDDs do this, and it wears down the drives very fast. The "green" drives also do this, and may have firmware issues as well. Note that turning off the feature will increase power consumption. It's your choice, more life for the drive or less power usage. Of course, I always choose to turn off this "feature" which I would call a "scam".

uBoTo 10-24-2012 03:54 PM

My hard drive is from the Western Digital's "blue" series. I have no problem with it`s heads. Now I am trying to get the process, which is causing my problem. I stopped the akonadi, nepomuk, kmail, ktorrent and some other kde apps. I will test and post the results. Early today I tried to use kde as root (delete the /root/.kde folder) and when stop some service of nepomuk - the clicking stops. Now all of these services are stopped. I will see what is going to happened.


All times are GMT -5. The time now is 05:19 AM.