LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-03-2004, 09:01 PM   #1
dave_blob
Member
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 41

Rep: Reputation: 15
finding out what is accessing the hdd


Hello, I am currently running slackware 9.1 on a box that i have set up as a router for my home network.
The problem is the box is in my bedroom, so i need it to be quiet. I have eliminated all fan noise, now my only problem is the hdd keeps spinning up every 5-10 mins or so, presumably to do a small read or write.
How can i figure out what is accessing the hdd so that i can stop it?
I have disabled pretty much all firewall logging, as i thought that might be causing it, but that didnt help. /var/log/messages dosent show anything useful, about 1 entry every 20min which i dont think would be causing this.
Any ideas?

oh btw i tried using 'top' to catch the process in the act, but i think it accesses the hdd for such a short period of time that it dosent show up in top
 
Old 06-04-2004, 02:19 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
If this thing needs to be silent the only way would be to turn off logging (disable syslog) or make it write to a share somewhere else. And make the disk drive mount read only. You maybe could use network shares or ram drives for /tmp and /var
 
Old 06-04-2004, 04:24 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If you are going for a silent machine, you need to use Compact Flash instead of a HDD.

It will take some custom work to get the OS installed and bootable from the CF card (it has to be RAMDISK based), but it really isn't that hard. It took me a few days to work the bugs out of my system.
 
Old 06-04-2004, 10:53 PM   #4
dave_blob
Member
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 41

Original Poster
Rep: Reputation: 15
DavidPhillips, thanks, ill try disabling syslog and if that dosent help, ill try mounting the hdd as read only. Im not clued up enough to set up a ramdisk&log to that, although maybe i will try to learn.


MS3FGX, thanks for the suggestion, but thats a tad more complex and expensive than i can really do atm.
 
Old 09-28-2008, 05:56 AM   #5
qdinar
LQ Newbie
 
Registered: Sep 2008
Posts: 9

Rep: Reputation: 0
i also need answer to this question

my hdd led flashes every 5-20 seconds. how can i log requests to hdds? (except that log itself.)
it did not flash on fresh installed system.
behavior like this was also on windows.
may be that is caused/started(?) in the hdds own internal chips?
there are 4 ide cables and 2 hdds and 1 dvd-rw drive.
 
Old 10-25-2010, 03:27 AM   #6
qdinar
LQ Newbie
 
Registered: Sep 2008
Posts: 9

Rep: Reputation: 0
iotop
you can look at 1 process history this way: iotop -p 361 -b
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing My Windows HDD yourwar Linux - Newbie 10 08-15-2005 05:16 AM
problem accessing mounted hdd linuxmandrake Linux - Newbie 1 11-20-2004 04:37 PM
Accessing files from WindowsXP NTFS external firewire hdd... shmegegge Linux - Newbie 19 10-05-2004 06:05 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
Accessing second HDD bison42 Linux - Newbie 2 08-22-2001 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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