-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
only calculate partition access #38
Comments
Hi, But i'm curious what will happen if we configure in hd-idle sda1 instead of sda? |
@eloo |
@adelolmo i've quickly tested/checked the stats file for the partition and it looks like it could work without any big changes |
It seems like this is an issue only in more recent kernels. Similar problem here: Unfortunately, there is currently no way to have disk monitoring set up (temps, smart, power state) and spin down drives when Idle. (Workaround: Use 5.4 LTS) The |
Indeed I was thinking that it worked in the past. But I did not recognize that kernel update might be the reason. |
Checking back in to confirm that this indeed solves my problem. Disks spinning down again with more recent kernels! |
I can also confirm that its now working as expected. |
Hi Adelolmo,
I have installed monitorix to watch my system, incl. disk temp and smart reporting. The data collection script runs every minute but this increase the diskstats counters for the disk devices (sda, sdb, etc...)
Thats why hd-idle never spins down the devices even if there is no disk activity on it's partitions.
Could you please add a config switch that ignores the device entry in /proc/diskstats and counts only the partition entries sda1...sdaX? Or make this the (IMHO) default behavior and add a config switch to include the device entry.
Thanks and best regards
Heiko
The text was updated successfully, but these errors were encountered: