Tagged: HD spin down
4. Januar 2017 at 20:10 #25538
HD-idle seems to be working on my Pi3 as I have seen the hard drive become idle but something is waking the hard drive when the system is not being used meaning it spends little time idle. How can I find the cause? I don’t think this was an issue on my U3 with the same HDD.6. Januar 2017 at 13:13 #25600
The Idle time is currently 180 seconds. If you want to change this preset, you need to go to the console and enter the following:
and then in the following line’s output
HD_IDLE_OPTS="-i 180 -l /var/log/hd-idle.log"
readjust the time.6. Januar 2017 at 20:14 #25643
I have reinstalled the image and hd-idle is still not working. I have not made any changes to the file „/etc/default/hd-idle“ so after 180 seconds the drive should sleep but it never spins down. The drive is a WD Elements drive which aspins down correctly with my Squeezeplug on a Goflex Net.6. Januar 2017 at 23:45 #25649
I have monitored reads and writes to the HDD using iostat. After a reboot the hard drive does go to sleep after 10 minutes. After about 10 minutes the hard drive spins up again and iostat shows there has been no read or write activity during this time period. Once the hard drive has spun up it never spins down again as if hd-idle does not realise that it has woken up which is understandable as there has been no disk activity.
If I then cause some read activity by clicking on My Music in LMS then 10 minutes later the drive enters standby state again. About 10 minutes later the drive wakes up again with no read/write activity. It then stays awake until the idle timer is triggered again by using LMS. My squeezeplug with the same drive didn’t behave like this.18. Februar 2017 at 17:35 #27011
I have what seems to be the exact same issue with my WD Passport drive connected to Odroid XU4. If I reboot the system the drive spins down and enters standby mode (led slow flashing on hard drive and no whirring disc) but if I play music and then stop music so nothing is playing the hard drive never sleeps again.
Like your issue, if I have rebooted the drive will go idle but then later spin up for no apparent reason and never go back to idle – this is even if I haven’t asked the sever to do anything and I do not have any auto music scanning active.
Sorry i can’t help your issue, but if there’s a solution to fix I’d be grateful to know. My drive has been spinning constantly now for weeks and am concerned it will wear out faster in this state.28. Februar 2017 at 22:28 #27354
Thanks for the response Heiner. I’ve looked on every tab of the Max2play Web interface but don’t see an option to disable destop autostart.
Is this function accessed on the browser interface or does it require somekind of terminal login to change this setying? (Device is an OdroidXU4).24. Juli 2019 at 11:39 #46465
For many months I struggled with this hard drive never sleeping issue.
Worked ok on other Odroids but not XU4. My view was that it was the software/functions that come prepackaged from the manufacturer on the hard drive to enable security/passport/recovery etc. If you can, try a different (basic) hard drive or try deleting all supplier functionality and prepackaged files from the hard drive and ideally then reformarting the whole drive.
Mine is working fine now with a Seagate drive, don’t remember which but I got the most basic possible with no preinstalled fancy stuff. (It was Westen Digital Pasport that gave me all the headaches).24. Juli 2019 at 16:21 #46472
@heiner: ‚Raspberry‘ got me in – but I downloaded a fresh image from the website just last week – the version with touchscreen ?
I managed to find „#HD_IDLE_OPTS=“-i 180 -l /var/log/hd-idle.log“ via the consol – My hdd is sleeping now. I am not sure whether tinkering or rebooting helped, since I didn’t change any settings – I don’t know how 🙂
@teetertank: I am pretty sure that my HDD spinned down with a previous image – so it shouldn’t be a hardware issue.
Anyway, problem solved, it seems. Thank you for the answers and help.
Lars9. November 2021 at 22:36 #51780
I would like to reopen this ticket, since the problem has come back.
I can log in via the console, and I can find the hd-idle file, but I cannot edit the file ?
I see this line : HD_IDLE_OPTS=“-i 180 -l /var/log/hd-idle.log“ – but there is a ‚#‘ before it – is this correct?
Thanks, Lars19. Januar 2022 at 14:10 #51947
I thought I should add to this thread as I have also been having the same issue using a WD Mypassport Ultra. The drive was spinning whenever I checked on it and sometimes hours after it should be.
I followed the suggestion to disable desktop autorun but that didn’t seem to help. I then updated m2p and installed LMS 7.9.3 as I think I was previously running an early version. Finally, I disabled the auto start Squeezebox Server option on m2p and rebooted the Pi. Now I don’t know which, if any, of these things solved the issue but the hard drive now spins down and enters sleep mode. No vibration from drive and the light is a slow flash as it is supposed to be.
It’s only been a couple of days but so far so good!
You must be logged in to reply to this topic.