LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-27-2007, 07:04 PM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 241

Rep: Reputation: 31
Hard Drive Makes Noise Everyday at 4:45AM


I sleep lightly. Any idea what this is, or how I can put an end to it?

ls /etc/cron.daily lists logrotate and slocate. and ls /etc/cron.hourly lists kmod. I can't tell what time they are set to run at though.
 
Old 02-27-2007, 08:08 PM   #2
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
I think the problem come from your hard disk. Only manufacturer can help you.
 
Old 02-27-2007, 08:10 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Move every script out of '/etc/cron.daily', maybe put logrotate elsewhere.

Quote:
Originally Posted by kstan
I think the problem come from your hard disk. Only manufacturer can help you.
I don't think so ... I mean it makes it at exactly 4:45AM, so I'm betting it's cron ... specifically cron.daily.

Last edited by H_TeXMeX_H; 02-27-2007 at 08:11 PM.
 
Old 02-27-2007, 09:02 PM   #4
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
I thought the same...

Quote:
Originally Posted by halfpower
...I can't tell what time they are set to run at though.
Use crontab -l to list and crontab -e to edit.
The default crons run with the root user, so it's safe to do this as root
 
Old 02-28-2007, 05:32 AM   #5
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
It's slocate - it's updating it's filesystem databases and it schedules it for that exact time on a default Slackware system.

chmod -x that or remove it from cron. The other two hardly do anything - logrotate copies about three files about (less than a meg each usually) and kmod doesn't touch the disk at all (releases unused kernel modules).

But slocate is reading the filename of every file on every mounted disk and storing the info in a compressed database. It takes about 30 minutes on my computer, slagging the disk all the time, and I've only got about 150Gb.

If you do disable it (crontab -e or chmod), then the slocate command won't work properly (stale data) but everything else will be absolutely fine. Most people don't even know about slocate, let alone use it.

Think of it as the Linux equivalent of Microsoft Find Fast.
 
Old 02-28-2007, 06:02 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I agree - it'll be the updatedb. Should never even be in cron for most people IMHO.
Stupid idea to run it every day.

I turn it off on every desktop, and run updatedb when I feel the need.
And don't even mention Beagle ...
 
Old 02-28-2007, 07:58 AM   #7
dgar
Member
 
Registered: Jun 2005
Location: Candia, NH
Distribution: Ubuntu, FC, RHE3, RHE4, CentOS
Posts: 121

Rep: Reputation: 15
Try 'locate *.wav' and marvel at the speed of it. Don't discount slocate lightly, I use the database often.
 
Old 02-28-2007, 07:23 PM   #8
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
I agree the problem maybe come from updatedb or beagle. I facing this issue to and I simply turn off.
 
Old 03-04-2007, 06:03 PM   #9
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Coming back to the 'noise' issue, a HD really shouldn't be considered 'noisy' unless it is pretty old or pretty unhealthy. Within reason, does it sound 'normal' ?
I can't even hear mine, at all..
Well, just something to keep in mind: have backups up to date.
 
Old 03-04-2007, 07:21 PM   #10
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I can hear mine in my laptop not my desktop. But on my desktop you can hear the fans instead ... much louder than my laptop.

If you want, you can try to use hdparm to make the drive quiter:

Quote:
-M
Get/set Automatic Acoustic Management (AAM) setting. Most modern harddisk drives have the ability to speed down the head movements to reduce their noise output. The possible values are between 0 and 254. 128 is the most quiet (and therefore slowest) setting and 254 the fastest (and loudest). Some drives have only two levels (quiet / fast), while others may have different levels between 128 and 254. At the moment, most drives only support 3 options, off, quiet, and fast. These have been assigned the values 0, 128, and 254 at present, respectively, but integer space has been incorporated for future expansion, should this change.
 
Old 03-04-2007, 08:33 PM   #11
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 69
Cron daily runs at 4:40am by default, It's a good idea to keep slocate database up to date. I would change the time that cron daily runs to a more convenient time.
 
Old 03-04-2007, 10:47 PM   #12
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
In my experience, few possiblity (maybe more) will mae noise. some of them can be solve and some of them can't.

1. manufacturer fault, a faulty hard disk escape from quality control department. normally won't apear easily since the manufacturer doing 100% testing. However, due to special accept rejected component from their production line may cause the hard disk quality drop within short period. Some defect like noise, motor jam and etc can be occur after short period (probably few month).

2. almost end of live, since hard disk is turning really fast (normally 5400rpm or above), this is easily the hard disk motor or archiveter arm(the reader) reach end of live after few years. Meaning the mechanical or electrical wear off.

3. Some usb hard disk will make noise if your pc/laptop provide not sufficient electricity. In that condition the usb hard disk's motor won't spin well and will make noise.

4. of course heavy read/write will cause the hard disk motor spin much faster, but normally (good hard disk) I believe it won't too noisey(but the fan yes).

In my opinion, the hearth of hard disk play important role whether it make noise or not. And the hearth of hard disk is hard to control since it will wear off after some times.

Recommended hard disk is western D.


Hope thats help.

Regards,
Ks
 
Old 03-04-2007, 11:03 PM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I've never had a HDD fail. I don't think this is the case here, not for such a specific time (4:40 - :45) when cron.daily runs. I can't really recommend one HDD over another, since none has broken yet , and even if they do break, they have served me well, may they RIP.
 
  


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
hard drive weird noise during boot ...time for an update?! aldimeneira Linux - Hardware 6 03-16-2006 10:19 AM
Hard Drive Noise...Constantly Spinning bond00 Linux - Hardware 0 02-10-2005 11:09 PM
Hard Drive Making Too Much Noise! I_Hate_Xp_!! Linux - Hardware 12 08-05-2004 04:14 PM
Hard Drive Making Too Much Noise! I_Hate_Xp_!! Linux - Hardware 2 07-25-2004 02:35 PM
weird noise in hard drive bob10a Linux - Hardware 4 11-20-2002 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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