TS-251/TS-451 HDD Spindown on 4.2.2

Discussion about hard drive spin down (standby) feature of NAS.
Post Reply
Undergrid
New here
Posts: 8
Joined: Mon Jul 13, 2015 2:54 am

TS-251/TS-451 HDD Spindown on 4.2.2

Post by Undergrid »

Since an upgrade to 4.2.2 from an earlier version of QTS (I'm not sure the version) I've had a problem with the HDDs on both of my NAS's not spinning down properly. Using blkdevMonitor.sh I tracked this down to setcfg dirtying log file inodes.

This was odd, because nothing was using the UI and it seemed to be happening every ten mins or so. Then I found this in crontab:

Code: Select all

0-59/10 * * * * /etc/init.d/storage_usage.sh
Looking at the code, it repeatedly calls setcfg to (as far as I can tell) update storage usage (volumes, pools and iscsi). Isn't this a pretty fatal flaw in the OS design? From what I can tell, hard drives are never going to spin down unless you set a time of less than 10 mins and then they'll just spin up again in a few mins...
User avatar
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by oyvindo »

Interesting.
I have 3 QNAPs all updated to 4.2.2
My 119 has always spun down and still does.
My 453 has never spun down and still don't.
My 251 I do not know, because it does not have any HDD LED's .....

Then, I'm uncertain as to the actual benefit of HDD spindown (?). Some people say that the tear and wear on HDD's are far greater during start than for continuous run. So, I guess if a NAS actually serve some purpose (doing jobs), it will spin up frequently anyway, right? In large datasenters, drives spin 24/7/365 everywhere.
Perhaps letting them spin all the time is best?
(P.S. my 119 spin down is OK, because it is not doing anything for the time being.)
ImageImageImage
freccia331
New here
Posts: 4
Joined: Mon Feb 21, 2011 4:06 am

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by freccia331 »

Hi Undergrid,

it's my third Qnap Nas.
Every time i made a firmware update on them, the spin down function will move from effective to not effective or reverse.
Since moving my 239 pro 2+ from 4.2.1 to 4.2.2 the HDD spin down function will not work anymore.

Welcome to qnap.

NB/ i don't use any function of the nas despite raid, microsoft network and upnp discovery
User avatar
sentinelvdx
Know my way around
Posts: 115
Joined: Sat Dec 19, 2015 5:28 am
Location: Buenos Aires - Argentina

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by sentinelvdx »

I'm having the same issue... spin down was working but after firm upgrade from 4.2.1 to 4.2.2 spin down is not working anymore
NAS: TS-251+ 16GB DDR3L 1600mhz CAS11
Firm: QTS 5.0.0.xxxx
HDD's: 2x 4TB HGST Deskstar NAS - RAID0
Port Trunk: 802.3ad w/ Systimax CAT6a
alkanbw
New here
Posts: 2
Joined: Tue Jul 07, 2009 5:27 pm

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by alkanbw »

I have the same issue...
In QTS 4.2.2 my TS-212P wake up by process cryptsetup every 8-10 minutes.
Went back to QTS 4.2.1 (20160601) all is working fine. Now my Qnap goes to sleep.
acee3
New here
Posts: 5
Joined: Tue Nov 23, 2010 9:40 am

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by acee3 »

Same issue here....TS-451, updating to QTS 4.2.2 killed spindown & sleep for me.

Back down to 4.2.1 and working fine again.
klarsen
New here
Posts: 8
Joined: Thu Oct 27, 2016 11:52 am

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by klarsen »

I have the same on the 21/10 4.4.2 firmware on my TS-251.

Update: I have just downgraded to previously, 20160901-4.2.2, version, and now the drives spins down as expected.
rmmeli
Starting out
Posts: 12
Joined: Fri Sep 25, 2015 7:39 pm

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by rmmeli »

I have the same problem, created a ticket with QNAP and nothing has happened. How do I downgrade the firmware?
proxemics
Starting out
Posts: 15
Joined: Mon Aug 15, 2016 5:40 am

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by proxemics »

Thanks for this! Was having the same issues on my TS-251+, rolling back to 20160901-4.2.2 has allowed it to hibernate again.
kochlik
Starting out
Posts: 14
Joined: Thu Apr 20, 2017 3:12 pm

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by kochlik »

Hello all, I came across the same problem on my TVS-473 with the latest 4.3.3.0154 Build 20170413. Currently having the unit connected to TV in the living room. I use the NAS occasionally either running VMs or streaming various multimedia. Besides these activities I would expect the unit to sleep :) although QNAP did good job in keeping low noise of this unit, it is still low noise that is annoying when there is complete silence. For now I do not want to move the NAS to other room as HDMI connectivity to TV is preferred to me.

As I googled through many forum topics I found out using blkdevMonitor.sh that setcfg executes every 10 minutes and prevents the unit from sleep. This topic led me to explore crontab where
0-59/10 * * * * /etc/init.d/storage_usage.sh
executes every ten minutes. As pointed out by Undergrid this seems to me as design flaw too. What is the purpose of running storage_usage.sh every 10 mins? what happens if I remove storage_usage.sh from crontab? can this interval be change lets say from 10mins to 12hrs? :S

thx
Ron1963
Been there, done that
Posts: 530
Joined: Wed Apr 28, 2010 9:22 pm

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by Ron1963 »

kochlik wrote: what happens if I remove storage_usage.sh from crontab?
I took the line out and experienced no negative side effects. As of 4.3.3.0154 at least my HDD2 in my 253 is sleeping again.
1x TS251, 1x TS251D, 1x TS253
kochlik
Starting out
Posts: 14
Joined: Thu Apr 20, 2017 3:12 pm

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by kochlik »

Thx for insight. I'll give it a shot as well. Anyone from QNAP team can comment on this idea?
Ron1963
Been there, done that
Posts: 530
Joined: Wed Apr 28, 2010 9:22 pm

Re: TS-251/TS-451 HDD Spindown on 4.2.2

Post by Ron1963 »

kochlik wrote:Anyone from QNAP team can comment on this idea?
Nobody from QNAP team is active on this user forum, except sometimes in the Presales board. If you want to reach out to a QNAP tech, you need to create a ticket https://helpdesk.qnap.com/index.php?/Tickets/Submit
1x TS251, 1x TS251D, 1x TS253
Post Reply

Return to “HDD Spin Down (HDD Standby)”