mirror of
https://github.com/AlexFromChaos/synology_hibernation_fixer.git
synced 2026-04-26 03:06:02 +03:00
[GH-ISSUE #5] No effect after applying fixer script/HDDs not hibernating #11
Labels
No labels
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/synology_hibernation_fixer#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @baqsoft on GitHub (Dec 9, 2023).
Original GitHub issue: https://github.com/AlexFromChaos/synology_hibernation_fixer/issues/5
First of all I would like to thank you for creating this script and sharing it here.
I'm sure it has helped a lot of people to making their hardware quieter and less power consuming :)
However, I encountered a major problem with it - applying it has no effect on the connected HDDs.
I'm using
DSM 7.2-64570 Update 1and two 500GB HDDs combined into single SHR plus single SSD as another volume.I have no Virtual Machine Manager, I have Container Manager but all docker-mounted volumes are located on the SSD.
What I've tried so far:
I noticed (by sound and diode activtiy) that drives are constantly accessed. In the Resource Monitor I can see that there's constant write (several kB/s) but no reads.
Then I enabled "system hibernation debugging mode" with "unable to hibernate" option.
In these logs I can find a repeating pattern:
8 sectors write to md0, followed by the write to sda (SSD), sdb (first HDD), sdc (second HDD).
As far as I understand, the md0 is a RAID1 which DSM automatically creates by attaching every newly connected drive to it.
I'm not sure if to allow HDDs to hibernate they should not be attached to md0, or maybe the system should avoid writes to the md0 to allow the hardware to hibernate?
Is there something I missed that prevents the NAS from hibernating the drives properly?
@marcomauri78 commented on GitHub (Dec 25, 2023):
Can Someone confirm that it works on Version: 7.2.1-69057 Update 2 or 3
I've Just installed 2 nvme drives and moved docker on them but hibern never happened. If i switch off the container It works (with some random wake up everybday) thanks
@marcomauri78 commented on GitHub (Jan 20, 2024):
hi @AlexFromChaos
i tried the script with 7.2.1-69057 update 3 and home assistant running on docker (on NVME ssd) but the HDD don't hibernate. Any idea on how ti solve the issiue ? Thanks
@TheRealMaN commented on GitHub (Mar 25, 2024):
On my system the disk sleeps and never wakes up on its own only after I set a sleep time manually via terminal command with root user:
hdparm -S 60 /dev/sd{X}I've tested different time values and came to the conclusion that disk only can sleep when time is no more than 5 minutes. If its greater than 5 minutes - the disk would never enter hibernation state.
You can also force it to hibernate immediately using command:
hdparm -y /dev/sd{X}