TheBlueVoice Posted October 25, 2014 Share #1 Posted October 25, 2014 Hi! I'm battling to get my server to sleep the hdds. (uses half the power with sleeping 6 disks, lots more when I fill it with 24 disks!) It will hibernate the disks fine without plex - try as hard as I can, plex will still access some files once an hour waking the disks.. My next idea is to move plex outside the array (onto a cheap ssd), thereby any log writes etc will not wake the whole array and although the ssd will remain active it uses far less power... However this is failing at the first step - as soon as I have a disk inserted which is not assigned to a volume, the disks again keep waking as synology accesses /var/log/smart_quick_log every 10-15 minutes (according to messages.log) even though nothing is written.. Is there any way to have an internal disk mounted not in the array without triggering this? How about moving all synology logs somewhere outside the array to stop wake ups? Would using an ssd in synology as cache drive help at all? I suspect not from reading synology site... Cheers! Link to comment Share on other sites More sharing options...
Wideboy1969 Posted October 25, 2014 Share #2 Posted October 25, 2014 yes id be interested in knowing a solution to this too. Link to comment Share on other sites More sharing options...
Elpee Posted October 26, 2014 Share #3 Posted October 26, 2014 On the same boat to ask. Link to comment Share on other sites More sharing options...
spammy Posted October 27, 2014 Share #4 Posted October 27, 2014 Plex explicitly states that you will lose hibernation if you install the app, so your efforts may be futile. Perhaps you could disable the auto file watch library update stuff? Link to comment Share on other sites More sharing options...
TheBlueVoice Posted October 28, 2014 Author Share #5 Posted October 28, 2014 Hi spammy, I didn't think that plex actually state that it will stop hibernation on that platform 100%? Some people have achieved success (reading plex forums as well as synology forums). Unfortunately, after trying the steps that have worked for other people I personally can't stop it from waking once every hour due to some plex internal programming checking some files. (Everything in plex disabled that I can see maybe relevant and also editing of various plex system files) I can get plex on unraid to sleep disks perfectly and easily - no editing of plex system code. BUT this is only because I can install plex on a disk outside the main array. (That disk doesn't hibernate continuously but in that case its no prob as that disk also serves as torrenting/couch/sick/vm/etc drive). Using a cheap ssd (£45 quid for 120gb keeps power down for that too! This is why I would like to know if its possible to move plex to a disk outside the synology array and also indeed how to have a disk outside the array without synology waking the rest of the array up every few minutes polling it... Cheers! Link to comment Share on other sites More sharing options...
spammy Posted October 28, 2014 Share #6 Posted October 28, 2014 https://www.synology.com/en-us/knowledgebase/faq/568 "Packages" section. Again, that's not to say that it's not possible. Link to comment Share on other sites More sharing options...
kei78 Posted October 28, 2014 Share #7 Posted October 28, 2014 Have you tried removing plex from your box and then try hibernation to make sure your system can go to sleep properly with out it? Link to comment Share on other sites More sharing options...
TheBlueVoice Posted October 28, 2014 Author Share #8 Posted October 28, 2014 Ah yes, aware of that page, but like you say it's not impossible and indeed it has been achieved by some so that page is out of date/incorrect as far as some users are concerned. BTW yes, I have no problem getting the disks to hibernate otherwise.... I know it's plex and the files in question etc by using the debug tools and logs etc... I read somewhere of people amending synology parameters to do logging to a ram disk to assist in hibernation where apps insist of logging things Sooo, anyways to move things on then and not getting fixated on plex... How can we: 1) Add disks outside the main array without the main array being repeatedly woken up. 2) Install apps to that drive... Link to comment Share on other sites More sharing options...
underw3b Posted October 28, 2014 Share #9 Posted October 28, 2014 Hello, I do not have any solution to your problem but can someone tell me the list of packages which stop the hibernation ? Because i do not have plex... and my hdd don't want to hibernate. My apps : - audio station - download station - photo station - mail server - mail station - perl - multimedia server - video station - VPN server (stopped) Thx you ! Link to comment Share on other sites More sharing options...
ad911 Posted October 29, 2014 Share #10 Posted October 29, 2014 I do not have hibernation problem, disk hibernate always works (hibernation timer set to 10 mins), USB boot drive always mounted power consumption dropped from ~42W to ~26W (The only situation I spotted it doesn't work if I leave the DSM Webmin Page opened in the web browser) I am using gnoboot 10.5, DSM 5.0 4458-Update 2 (Atom + Tohsiba 3TB HDD x4, configured in two 3TB RAID 1 volumes) Apps installed 1. phpBB 2. mediaWiki 3. phpMyAdmin 4. Python3 5. MariaDB Link to comment Share on other sites More sharing options...
TheBlueVoice Posted October 29, 2014 Author Share #11 Posted October 29, 2014 Hi underw3b, Download station, multimedia server and audio/video stations have all caused hibernation problems. I've not read of anyone getting it to work with those? Link to comment Share on other sites More sharing options...
underw3b Posted October 29, 2014 Share #12 Posted October 29, 2014 Ok thx ! That's a lot of possibilities ^^ too bad. Thx Link to comment Share on other sites More sharing options...
TheBlueVoice Posted October 30, 2014 Author Share #13 Posted October 30, 2014 Ok, so I've tried a symlink from volume1/Plex to the outside array drive and successfully installed and ran plex install there on the external drive. Unfortunately I get the same results with plex waking the disks up even though the file its opening [/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/System.bundle/Contents/VERSION] opened by pid 29243 [u:(/var/packages/Plex Media Server), comm:(Plex Media Serv)] is not physically in the array. It appears that the array is accessed and span up, and only then it finds it needs to follow the symlink to the external disk. Anyone know a way around this? How would I go about modding the plex installation files to install plex directly to the external drive? Cheers! Link to comment Share on other sites More sharing options...
TheBlueVoice Posted October 31, 2014 Author Share #14 Posted October 31, 2014 Hit a brick wall I think. Have managed to get plex running from a drive outside the array and can see in the hibernation debug logs that the files plex is opening are outside the array but it still wakes the array. Sounds like game-over? Link to comment Share on other sites More sharing options...
stanza Posted December 6, 2014 Share #15 Posted December 6, 2014 Unless you have pretty much nothing running or installed on the system HDD spindown is a waste of time trying to chase. There are way way way to many things that wake the drives back up or prevent them from sleeping eg, just enabling SMB sharing, and setting the box to become the master browser..... then enables the guest account..... which in turn either keeps the drives awake, or wakes them backup from sleep every 20mins. . Link to comment Share on other sites More sharing options...
Recommended Posts