Jump to content
XPEnology Community

Hibernation doesn’t work


Musyanon

Recommended Posts

  • 4 weeks later...

Hello Musyanon.

 

Great to hear you recovered hibernation in DSM 6.2.2.

 

I consider downgrading form 6.2.3 to 6.2.2 too.

 

Can you describe the steps you followed to successfully downgrade ?

I fear to loose my data and parameters and I didn't found an actual how-to.

Edited by Mai_Mai
typo
Link to comment
Share on other sites

4 hours ago, Mai_Mai said:

I can't loose all my data so I will not do as you did.

without a backup a are closer to that as you might think, there are some people here that had btrfs trouble after disks failing in a raid, you might see problems better with btrfs but the data are not safer then with ext4

when you can't make a backup of all data then structure them in a way that you can do a backup of the most important data like photos, documents, that's usually only a fraction like 1-4 TB instead of 20TB

 

for testing if 6.2.2 solves your problems you can just unplug your usb and all the disk, take a new usb and hdd (any size is ok) and install 6.2.2 using these two items

you can switch at any time between these two independent sets of usb and disk(s)

 

one of the problems with 6.2.3 is that we don't have kernel source (and until 3 days ago not even the kernel config used for compiling the kernel of 6.2.3) and we don't know how synology compensated for the problems it had before 6.2.2, fact is they reverted these changes (kernel config for pcie power management) from 6.2.2 when going to 6.2.3 and maybe they did some changes in the kernel source we don't have and that's causing problems - but thats just guessing

 

in this thread there is no mention of loader and dsm type used, i guess its 1.03b with 3615/17 but at least be precise when trying to document a problem

also what kind of hibernation is it, the one i know is just disk hibernation, when disks spin down after a defined period

  • Like 1
Link to comment
Share on other sites

5 hours ago, IG-88 said:

also what kind of hibernation is it, the one i know is just disk hibernation, when disks spin down after a defined period

 

Disk hibernation/spindown is what folks are concerned about with 6.2.3. There are a lot of reasons it may not be working, but mostly log messages written recurrently to /var/log due to hardware status failures resulting from non-Synology hardware.  That's one of the reasons I've posted on some filtering of smart and scemd errors, but there are many errors and they differ depending on the platform you have installed. Unfortunately not a simple or single solution works for all.

Link to comment
Share on other sites

Il y a 13 heures, IG-88 a dit :

in this thread there is no mention of loader and dsm type used, i guess its 1.03b with 3615/17 but at least be precise when trying to document a problem

also what kind of hibernation is it, the one i know is just disk hibernation, when disks spin down after a defined period

 

I'm on june's loader 1.03b with Ds315xs. My NAS is an HP  microserver gen8 using DSM 6.2.3-25426-2 and an additional Intel NIC.

 

I'm using a script to start the nas with WOL function and I appreciate it shuts off automatically after some time of HDD inactivity.

 

I' didn't try yet the workaround suggested by flyride. 

 

Link to comment
Share on other sites

  • 1 month later...

Just a quick feedback to tell I managed to restore hibernation with the workaround found on an another post :

 

 

 

I accessed to my NAS with Putty ;  edit scemd.conf in  /etc.defaults/syslog-ng/patterndb.d/ using vi and replace  :

 

destination d_scemd { file("/var/log/scemd.log"); };

 

with :

 

destination d_scemd { file("/dev/null"); };

 

Reboot and that's all !

  • Thanks 1
Link to comment
Share on other sites

  • 4 months later...
Le 12/11/2020 à 21:08, Mai_Mai a dit :

Just a quick feedback to tell I managed to restore hibernation with the workaround found on an another post :

 

 

 

I accessed to my NAS with Putty ;  edit scemd.conf in  /etc.defaults/syslog-ng/patterndb.d/ using vi and replace  :

 


destination d_scemd { file("/var/log/scemd.log"); };

 

with :

 


destination d_scemd { file("/dev/null"); };

 

Reboot and that's all !

 

Thanks, also works !

Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...

this is one frustrating feature i could never fix. There's no hibernation on my Ds918 image, drives spin up as soon as i spin them down manually (hdparm). Meanwhile electricity costs explode, my electricity provider bankrupted, and the drives which are needed for 1hour a day, make noise reminding me of this every day, just like the main fan makes horrid noise (unfixable issue on HP Gen10 thanks to weird fan setup, i've burnt one server playing with cables/adapters/regulators).

surprising to see someone can spin down disks, i'd believe a complete hibernation is possible (not in my case), but how you can spin down disks on live system with / mapped to the RAID1 (md0)?

the good ole' trick with installing on one drive, then add raid drives doesn't work as DSM will expand on all drives as soon as it detects them.

i have 2 standalone drives and 4 RAID drives, so i could still have a "system RAID" active if i shrinked the system RAID(+swap) from 6 to 2 hdds. but i worry DSM would complain. i'd have to also create a dummy allocation there to make sure no RAID fits.

the fix above didn't work. i remember very well drives couldn't spin down on an empty installation either.

all i am reduced to now is read the bad advices how running drives 24/7 is 'healthy' (a hoax that spreads on internet like "BTRFS is not good for RAID").

Link to comment
Share on other sites

  • 1 year later...
  • 3 weeks later...
On 12/13/2022 at 8:17 PM, Sak1s said:

hello everyone,

 

try the following :

Connect with ssh as root and force a symlink 

 

i use DSM 7.1.1-42962 Update 2 and disk hibernation  works

Hello @Sak1s :)

 

Is this trick "universal"?

I need to enable hibernation on the following rig:

 - DS3622xs+, TCRP 0.9.3 with friend, DSM7.1.0-42661 (I'd like to upgrade DSM7.1.1-42962 if that's possible, still looking into it)

 - bare metal

 - Asus MB with Z77 chipset

 - i7-3770 (Ivy Bridge)

 

Does hibernation only spin down the disks or can it also stop the fans? (case fans, CPU fan, ...)

 

Thanks :)

-a-

Link to comment
Share on other sites

20 minutes ago, asheenlevrai said:

Hello @Sak1s :)

 

Is this trick "universal"?

I need to enable hibernation on the following rig:

 - DS3622xs+, TCRP 0.9.3 with friend, DSM7.1.0-42661 (I'd like to upgrade DSM7.1.1-42962 if that's possible, still looking into it)

 - bare metal

 - Asus MB with Z77 chipset

 - i7-3770 (Ivy Bridge)

 

Does hibernation only spin down the disks or can it also stop the fans? (case fans, CPU fan, ...)

 

Thanks :)

-a-

 

Hello @asheenlevrai

 

I am quite sure that hibernation just only spins down the disks . 

I think the original synology hardware use special sensors for controlling the fan speed via pwm, so in that way you have to build additional kernel modules according you motherboard and modify the DSM scripts that controls the fan speed (better check your motherboard bios for quiet mode or similar powersave modes)

 

I checked this symlink with DS3617xs  and DS3622xs+ and it worked fine.

 

As for the update from DSM7.1.0-42661 to DSM7.1.1-42962 , you can manually update to DSM7.1.1-42962 , boot to TCRP loader and run ./rploader postupdate in order to recreate initrd and patch the kernel image but i lack of such an experience .

 

  • Thanks 1
  • Angry 1
Link to comment
Share on other sites

  • 1 year later...

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 can only sleep when a time is no more than 5 minutes. If its greater than that  - the disk would never enter the hibernation state.
You also can force it to hibernate immediately using command:

hdparm -y /dev/sd{X}

apart from that I've only set "Hibernation" option in "Control Panel" -> "Hardware & Power" -> "HDD Hibernation" to 10 minutes and also ran script from https://github.com/AlexFromChaos/synology_hibernation_fixer

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...