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 - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-09-2006, 08:00 PM   #1
Pepijn Schmitz
LQ Newbie
 
Registered: Sep 2006
Location: Amersfoort, The Netherlands
Posts: 8

Rep: Reputation: 0
Harddisk won't power down


I installed Fedora Core 5 on a system which I want to use as a MythTV frontend, and to that end I want to have the harddisk power down automatically when it is not used to make the box as quiet as possible. However, Fedora is not letting me do it!

Some process is apparently continually accessing the harddrive (I can see the harddisk light flicker every couple of seconds or so, very regularly). If I set the powerdown timeout to one minute with hddparm -S 12 /dev/hda it never powers down, and if I power it down manually with hddparm -y /dev/hda it starts back up only a few seconds later every time.

Can anyone here tell me how I can find out which process is doing this? Or does someone already happen to know what Fedora Core 5 has running in the background which could cause this? I don't think it's the system log, because /var/log/messages will usually only have entries in it from at least several minutes earlier.

I hope someone can help me out! Many thanks in advance for any light you can shed...

Kind regards,
Pepijn Schmitz
 
Old 09-10-2006, 04:09 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
You wouldn't happen to have used a journaling file system by any chance? You can use top to see if you can catch it that way.

 
Old 09-10-2006, 07:50 AM   #3
Pepijn Schmitz
LQ Newbie
 
Registered: Sep 2006
Location: Amersfoort, The Netherlands
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dalek
You wouldn't happen to have used a journaling file system by any chance? You can use top to see if you can catch it that way.
Fedora Core seems to have chosen ext3 as the default file system, which is a journaling file system I believe. But does that mean that it continually writes to the harddisk, even when no processes are actually writing to the filesystem?

I tried running top, but I didn't see anything special happen at the moments the harddrive light flickers...
 
Old 09-10-2006, 01:46 PM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
If you want no drive activity at all, you may want to try ext2 which has no journal if I recall correctly. For your situation you may want to look at how people put laptops to sleep. That is essentially what you are doing.

Sometimes top will catch it if you are lucky. Updating the journal is very fast so it just may not catch it.

Hope that helps a bit.

 
Old 09-13-2006, 05:29 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Have a look at your cron files, too. Some applications are said to automatically add entries there.
 
Old 09-13-2006, 12:00 PM   #6
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
I thought of another one that may not apply. Make sure if you use KDE that you don't have a slideshow for your desktop that changes pretty often.

 
Old 09-14-2006, 01:10 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
@ dalek Umm, I just came to think of it: there should not be any necessity to write to a journal in a regular way, after all there is no obvious activity by the OP. Furthermore the system has buffers and once they are sync-ed... Or am I missing something entirely here?

Last edited by JZL240I-U; 09-14-2006 at 05:03 AM.
 
Old 09-14-2006, 04:37 AM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Well, I have reiserfs on all my partitions and I see in gkrellm where it reads and writes pretty regular just to keep the journal up to date I assume. The writes are small but that is all it needs to keep the drive spinning. I'm no expert on the journals though. I just notice it doing it a lot.

 
Old 09-14-2006, 05:03 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Well, from their website: "About: GKrellM is a GTK-based stacked monitor program that charts SMP CPUs, disks, load, active net interfaces, and internet connections. ..." Might be gkrellm itself?
 
  


Reply

Tags
fedora, harddisk, powermanagement



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
LXer: Linux Networx partners with CEI to power 2X visualization power of ... LXer Syndicated Linux News 0 04-26-2006 03:03 AM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
external harddisk power management danahata Linux - Hardware 0 11-30-2004 08:03 AM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 03:04 PM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM

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

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