LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-15-2008, 08:11 PM   #1
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Rep: Reputation: 15
Monitor Hard drive access


I've been running suse10.3 for awhile and no problems. Lately my hard drive seems to have a mind of it's own and I can hear it on and off quite a bit, even when nothing major running (nothing obvious in System Monitor under processes that doesn't look right).

I would like to find out what processes are accessing the hard drive. Is there a way to do that?

Thanks,

Tony
 
Old 08-16-2008, 12:59 AM   #2
/usr/darien
Member
 
Registered: Mar 2008
Location: Virginia
Distribution: RHEL 4/5, Fedora 6-9, SuSE 10.1-11, Open Solaris 10.8, WinXP,2003,Vista
Posts: 59

Rep: Reputation: 15
Use iotop. See http://guichaz.free.fr/iotop/
 
Old 08-16-2008, 01:37 AM   #3
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
The drive maybe is about to fail. The noises could be retries.
 
Old 08-16-2008, 06:22 AM   #4
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
ok, thanks. I'm backing up everything right now. I tried getting iotop but haven't been able to get it installed. Never installed anything python before and not sure if my system is 'python ready' ? Any quick help on that?
Thanks,

Tony
 
Old 08-16-2008, 06:44 AM   #5
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
I installed python from suse repository, but still unable to get it running. Not much documentation found on website for iotop. Trying to install from rpm with Yast doesn't do much, yast runs, reads package then quits without saying anything. This is probably a 'newbie to python' issue on my side, but trying to back things up and k3b keeps erroring out, so need to get new dvd backup program and getting stressed....
 
Old 08-16-2008, 07:10 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
iotop.py requires taskstats - which means a reasonably recent kernel (2.6.20 or later maybe), and the taskstats option selected. grep your kernel config for CONFIG_TASKSTATS.
IIRC, if you get it running, it will tell you if you don't meet the requirements.

Update:
Just checked the code - it does indeed check for Python >= 2.5 and taskstats active.

Last edited by syg00; 08-16-2008 at 07:23 AM.
 
Old 08-16-2008, 09:37 PM   #7
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
Most systems have vmstat and that will report how many reads & writes to the disks.
 
Old 08-27-2008, 06:51 AM   #8
aw_wolfe
Member
 
Registered: Apr 2005
Posts: 50

Original Poster
Rep: Reputation: 15
Just and update...I ordered a new hard drive --needed one anyway(who doesn't need another hard drive). Anyway, decided to give it one more try with the old one and installed suse 11 over the suse 10.3 on the old one. No issues! No abnormal sounds/noises. Running smooth. So started adding back in packages that I wanted/needed, this time actually writing down the changes and doing system backups along the way. Just today started making noise again. So got Iotop(thanks /usr/darien) and drive activity was from beagled which I guess is indexing in the background--so 'normal'. Last thing I installed was MPlayer and smplayer prior to noise, so will wait and see if noise occurs again and if so then restore backup to previous version and see if noise goes away.
 
  


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
How to access Access root(/) hard drive attached in Windows XP machine farrukhndm Linux - Software 2 07-29-2008 12:52 PM
two hard drive two distributions how can i access the other drive timbo1 Linux - Hardware 4 10-29-2007 06:35 AM
monitor and firewire hard drive install issues tricky76 Ubuntu 4 09-20-2006 12:01 PM
Monitor all activity to hard drive esckey2004 Linux - Security 2 01-07-2006 12:56 PM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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