LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-08-2007, 01:48 AM   #1
shturm
LQ Newbie
 
Registered: Jul 2006
Location: San Jose, CA
Distribution: Fedora 12
Posts: 6

Rep: Reputation: 0
Who wakes up the hard drive?


How to find out which application wakes up a hard drive?

"hdparm -C /dev/hdb" shows that it's "standby".
Then, after some time, I check it again, and now it's "active/idle".
 
Old 01-08-2007, 02:30 AM   #2
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 371

Rep: Reputation: 30
A long shot, but may be you can use 'lsof' ?
 
Old 01-08-2007, 02:37 AM   #3
shturm
LQ Newbie
 
Registered: Jul 2006
Location: San Jose, CA
Distribution: Fedora 12
Posts: 6

Original Poster
Rep: Reputation: 0
"lsof" does not seem to help.

What if some process queried something from the disk, and either this query closed the file immediately after opening, or was not associated with a file at all?

I guess I need something that would monitor/log any access to the hard drive to some file...
 
Old 01-09-2007, 11:34 PM   #4
shturm
LQ Newbie
 
Registered: Jul 2006
Location: San Jose, CA
Distribution: Fedora 12
Posts: 6

Original Poster
Rep: Reputation: 0
I unmounted this drive, and this behavior still reproduces.
So it must be some process that works with devices directly that wakes up the hard drive.

Any ideas?

Your help will be greatly appreciated!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
Standby/Sleep immediately wakes up again bsander Linux - Laptop and Netbook 2 05-07-2005 04:29 PM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 02:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 03:47 AM

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

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