Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
It has come to my attention recently that my hard drive is never spinning down. I double checked my hdparm setup and all was well, so I started using hdparm to try and induce standby or sleep. While it would say it was sending the message, and a check of it's status would confirm it's state, the drive itself would never actually spin down and kmsg would have some random errors logged. To prove that it isn't a hardware issue or hdparm bug, I tested hdparm under both Knoppix and Mandrake and everything worked fine. I even compiled a few different version and all had the same results.
Sadly, I really need hdparm to work under my current system. It is an LFS build using the 2.6.7 kernal and the reiser file system. Sadly (and while much needed), compiling a new kernal is out of the question for my application. So I guess my question is, what might be causing this? Are there any dependancies for hdparm that might not be included in my build?
1. Are you using "hdparm -S(value) /dev/xxx" to spin the drive down?
2. If you are using the above line, check if the kernel acesses swapspace on the disk. You can this out by using "top" on console.
1. Are you using "hdparm -S(value) /dev/xxx" to spin the drive down?
2. If you are using the above line, check if the kernel acesses swapspace on the disk. You can this out by using "top" on console.
Normally, yes I am using -S. However for testing have been using -y for standby, -Y for sleep, and -C to check the status of the drive. That, holding my ear up to it to listen, and doing an 'ls' to see how long it takes. But no, the system does not use swapspace.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.