FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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...
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
@ 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?
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.