How to know what triggers HDD to wake up froom hibernation?

All questions regarding system hibernation may be placed here. Thanks!
Forum rules
We've moved! Head over to Synology Community (community.synology.com) to meet up with our team and other Synology enthusiasts!
olivex
Trainee
Trainee
Posts: 19
Joined: Sat Jul 20, 2013 6:15 am

How to know what triggers HDD to wake up froom hibernation?

Unread post by olivex » Sat Jan 04, 2014 12:30 am

I have configured my DS213 HDDs to hibernate after 10 miniutes inactivity and I also enabled advanced hibernation and hibernation logs. It has been work for months.
But recently I found in longs that they frequently wakes up from hibernation, without any known triggering. For example here is portion of system log:
Information System 2014/01/04 02:50:37 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/04 01:52:17 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/04 01:07:23 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/04 00:49:58 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/04 00:08:58 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/04 00:08:43 SYSTEM System successfully registered [xxx.xx.xx.xx] to [xxxxxxxxxxxxxxxxx] in DDNS server [Synology].
Error System 2014/01/03 23:45:42 SYSTEM System failed to get External IP.
Information System 2014/01/03 23:35:18 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 23:06:48 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 22:49:56 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 22:10:30 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 21:20:43 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 20:49:43 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 20:34:48 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 19:49:06 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 14:35:46 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 14:04:59 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 13:43:08 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 13:05:01 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 12:47:17 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 12:08:43 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 11:46:27 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 11:04:26 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 10:47:14 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/03 10:23:32 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/02 21:26:44 SYSTEM Internal disks woke up from hibernation.

So as everyone can see, it wakes up every less thhan an hour. During these periods there is no access to DS213 as far as I know.

My question is: Is there a way to know what triggers DS213 to wake up? It can be an internal package, or a network activity, but I want to know what it is?

olivex
Trainee
Trainee
Posts: 19
Joined: Sat Jul 20, 2013 6:15 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by olivex » Sat Jan 04, 2014 12:49 am

Is there a log, or can I enable a log or something to tell me what triggers the DS213 to wake up?

olivex
Trainee
Trainee
Posts: 19
Joined: Sat Jul 20, 2013 6:15 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by olivex » Sat Jan 04, 2014 5:06 pm

I asked Synology support but it is of no use...

Messerschmitt
Apprentice
Apprentice
Posts: 88
Joined: Sun Apr 15, 2012 12:38 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by Messerschmitt » Fri Jan 10, 2014 10:30 pm

Same problem here. It's been an ongoing issue ever since I bought mine 1 year ago. It randomly wakes up, even when no other hardware is turned on on the network, and no outside requests are made.

For now I kind of have it disabled, tho I keep my transmission running so with that going it will never enter hibernation.

When not in use, I usually tend to just turn it off. That way it will also preserve the diskstation life and fans, rather than only the HDD with the hibernation
DS413j
3x 3TB WD Red - SHR
UPS - CP1000AVRLCD

olivex
Trainee
Trainee
Posts: 19
Joined: Sat Jul 20, 2013 6:15 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by olivex » Sat Jan 11, 2014 1:02 am

In fact if it frequently wakes up and hibernates, I don't know if it is more harmful to disks.

ioio0io1
I'm New!
I'm New!
Posts: 1
Joined: Thu Jan 16, 2014 4:13 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by ioio0io1 » Thu Jan 16, 2014 4:20 am

Same problem here with a new DS414.

I unmounted the shared folders on my mac (or else it wouldnt hibernate at all...) and now I get this:

Information System 2014/01/16 03:07:18 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/16 01:57:12 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/16 01:45:43 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/16 00:44:52 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 23:44:01 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 22:43:10 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 21:42:18 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 20:41:26 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 19:40:30 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 18:39:27 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 18:09:25 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 15:33:48 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 15:15:31 SYSTEM Internal disks woke up from hibernation.

This isn't acceptable. When you spend a s"**t ton of money on something, you expect it to work. My NAS is hooked up directly to my mac - it's not even connected to the internet. Why the f does it need to wake up every hour?? My mac isn't waking up every hour....

This is my first experience with Synology and i'm unimpressed, and wouldn't recommend them to anyone. If anyone could offer any advice, i'd be grateful

olivex
Trainee
Trainee
Posts: 19
Joined: Sat Jul 20, 2013 6:15 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by olivex » Thu Jan 16, 2014 9:35 pm

What packages have you installed?

cawith
I'm New!
I'm New!
Posts: 2
Joined: Sun Feb 09, 2014 10:36 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by cawith » Sun Feb 09, 2014 10:40 am

I have the exact same problem with my DS213j. It's f*cking annoying!
I have tried disabling most things, but can't find the root of the problem. I'm afraid that this is burning of my drives as it has been doing this since I bought the Diskstation in October.
SYNOLOGY, DO SOMETHING, or at least let us know that you are aware of the problem...

ogilviea
I'm New!
I'm New!
Posts: 7
Joined: Wed Apr 25, 2012 10:56 pm

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by ogilviea » Wed Feb 19, 2014 10:00 pm

Chalk me up as another frustrated DS212j owner experiencing this problem :(

I have the latest version of DSM installed (just in case anyone at Synology is watching)

tuliolazarini
Beginner
Beginner
Posts: 22
Joined: Wed Jul 25, 2012 11:51 pm

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by tuliolazarini » Fri Feb 21, 2014 11:39 pm

ioio0io1 wrote:Same problem here with a new DS414.

I unmounted the shared folders on my mac (or else it wouldnt hibernate at all...) and now I get this:

Information System 2014/01/16 03:07:18 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/16 01:57:12 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/16 01:45:43 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/16 00:44:52 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 23:44:01 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 22:43:10 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 21:42:18 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 20:41:26 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 19:40:30 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 18:39:27 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 18:09:25 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 15:33:48 SYSTEM Internal disks woke up from hibernation.
Information System 2014/01/15 15:15:31 SYSTEM Internal disks woke up from hibernation.

This isn't acceptable. When you spend a s"**t ton of money on something, you expect it to work. My NAS is hooked up directly to my mac - it's not even connected to the internet. Why the f does it need to wake up every hour?? My mac isn't waking up every hour....

This is my first experience with Synology and i'm unimpressed, and wouldn't recommend them to anyone. If anyone could offer any advice, i'd be grateful
Hi,

Hibernation requires patience. I have a DS-1813+ and played cat-and-mouse a little to get hibernation working properly. You can get some hints about what's waking your DS-414 up using syno_hibernate_debug_tool. Logon into your NAS using ssh and activate hibernation debug logs with the "syno_hibernate_debug_tool --enable 1" command, and after one day check /var/log/messages.

What I discovered using this technique:
  • QuickConnect and Dynamic DNS support DO AFFECT hibernation, as DSM needs to write down external IP addresses on disk periodically. So, you have to disable it;
  • Tasks scheduled via CRON also DO AFFECT hibernation. If you have cron scheduled jobs, sometimes you'll see some access to crontab on disk, that wake your DS up;
  • NTP auto-sync DO AFFECT hibernation. If you enable your DSM to synchronize its internal clock clock with external NTP servers, you can eventually see events on log that wakes up the disks;
  • Third-party packages that offer services, as Plex does, DO AFFECT hibernation. Some background processes fired up by third-party packages wakes up the disks periodically.
After disabling all these services, now my DS-1813 sleeps like a baby. However, it wakes up every time I turn on my Windows notebook, due to NETBIOS traffic issue. Well, my suggestion to you is to follow the tips on this fixed topic and try to determine the awake root cause. My experience about this subject is: there are no ready-to-do recipe, you have to diagnose it on your working environment. Synology can help on most difficult scenarios, too.

Hope it helps.

tuliolazarini
Beginner
Beginner
Posts: 22
Joined: Wed Jul 25, 2012 11:51 pm

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by tuliolazarini » Fri Feb 21, 2014 11:50 pm

cawith wrote:I have the exact same problem with my DS213j. It's f*cking annoying!
I have tried disabling most things, but can't find the root of the problem. I'm afraid that this is burning of my drives as it has been doing this since I bought the Diskstation in October.
SYNOLOGY, DO SOMETHING, or at least let us know that you are aware of the problem...
Hi cawith,

I think Synology are adding great features to its DSM, that requires some frequent access to the disks. Unfortunately for those willing to get hibernation working out of the box, DSM has many of these "no-hibernation" services enabled by default. Getting the exact services that prevent sleeping, or cause undesired wake-up, are a little tricky, not by Synology's fault IMHO, but because customer's working environments are very heterogeneous and can heavily influence hibernation.

So, if you want to enjoy all DSM features and don't want to troubleshoot, I'd suggest you to disable hibernation, to avoid frequent spin-down and spin-up, which reduces the disk's lifetime. However, if hibernation is more relevant to you, try to follow the steps on the troubleshooting fixed topic, we can help determine the root cause.

ogilviea
I'm New!
I'm New!
Posts: 7
Joined: Wed Apr 25, 2012 10:56 pm

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by ogilviea » Mon Feb 24, 2014 7:40 pm

ogilviea wrote:Chalk me up as another frustrated DS212j owner experiencing this problem :(

I have the latest version of DSM installed (just in case anyone at Synology is watching)
Having realised I did not, after all, have the latest DSM version installed, I upgraded to 4.3-3827. Big mistake! Now the disks in my DS212j never hibernate! :x

I tried disconnecting the ethernet cable, to eliminate the network as the cause of the problem, and discovered that the disks will not hibernate, even with no network attached. :(

What a mess! I can tell you right now, my next NAS will not be from Synology.

UPDATE:
From /var/log/messages, I discovered that my DS212j appears to be kept from hibernating by:
Feb 24 18:01:05 DiskStation kernel: [93317.990000] [/var/log] opened by pid 11153 [u:(/usr/syno/sbin/synologrotated), comm:(synologrotated)]
every 2 minutes!

Another forum post provides some hope, but this applies to the DSM 5.0 beta (DSM 4.x doesn't have a /usr/syno/etc/synoservice.d/synologrotate.cfg file)

vsdagama
Beginner
Beginner
Posts: 26
Joined: Tue Jul 23, 2013 12:21 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by vsdagama » Thu Mar 20, 2014 5:11 am

Hey guys, I'm also trying to fix my hybernation problem.

I managed to run "syno_hibernate_debug_tool --enable 1" via ssh,

But how do you consult those logs? (what command line?)

Thanks so much in advance!

DaLiu
Trainee
Trainee
Posts: 18
Joined: Wed Mar 19, 2014 5:18 pm

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by DaLiu » Thu Mar 20, 2014 5:33 am

vsdagama wrote:Hey guys, I'm also trying to fix my hybernation problem.

I managed to run "syno_hibernate_debug_tool --enable 1" via ssh,

But how do you consult those logs? (what command line?)

Thanks so much in advance!

cat /var/log/messages

vsdagama
Beginner
Beginner
Posts: 26
Joined: Tue Jul 23, 2013 12:21 am

Re: How to know what triggers HDD to wake up froom hibernati

Unread post by vsdagama » Thu Mar 20, 2014 2:58 pm

Thanks! ;)

I see a lot of the following messages:

Mar 20 13:30:02 NASco kernel: [73161.080000] [/volume1/"insert filename"] opened by pid 10630 [u:(/usr/syno/synoreport/synoreport), comm:(synoreport)]

This while I was home alone at that time and I didn't access the files!
How can I know who/what is accessing random files on my nas?

Locked

Return to “Hibernation Room”