I just assembled a new Linux file server with several Samsung HD103UJ 1TB hard drives and I am currently optimizing it.
The question I can't find an answer to is: is it reasonable to set a spindown timeout (with hdparm -S) for the drives? Can the spindown/spinup be harmful to the disk in the long run?
My previous file server did not have this timeout and the hard drives have been operational for 3+ years with no problems (always on) so I am not sure if I need this optimization at all.
What are your thoughts on this?
Thanks!
I'm by no means expert on disk drive physics, but I see disproportionally many hard drives fail soon after the spinup. Probably the temperature change just does not serve them well. I would say: let them spin forever.
Is there any hard data on this phenomenon?
Frankly, this issue reminds me of my grandmother flipping out about using the phone in a lightning storm.
You always hear anecdotal accounts about how you need to keep drives spinning, but I've never seen anything based on verifiable data. I've run into a few instances where drives didn't come back after being powered down, but I've also run into many instances where everything came up just peachy.
** Attribute #4 of S.M.A.R.T. is Start/Stop Count, which seems to indicate that start/stop count DOES play a role in disk fitness and when to expect a failure.
It's going to depend on the workload. You probably only want to spin the drive down, if it's not likely to be used for quite a while...
I'm currently looking at the Power on hours, power cycles and Start/Stop counts for my HDDs. The drive in my desktop is set to power down whenever possible (since bought 5/6 years ago) and has had a default setting of after one minute for about 2 years. In that 2 years, start/stop counts approx 39,000 have overtaken the power on hours approx 12,000, and the the power cycles approx 11,000.
Currently I'm checking how many power cycles, start/stop counts and power on hours occur during an hour then a two hour period (in actual time). This will tell me how many times it powers on/off just browsing the net (not watching YT vids etc), and typing in MS Word etc - but as well as this, I wish to learn if a Power On hour means an hour for which power is supplied to the drive or an hour the drive is actually spinning. I will do another test with the computer in sleep/standby (but not hibernation/safesleep) in order to see if POH also increases when the computer is in sleep mode.
If you do something similar to me, you might be able to use this to decide whether to have your hdds power down. Download a SMART utility, one I really like in Windows is 'Crystal disk info' which is free, just bing it, and on Mac, SMART Utility, or SMARTReporter are the ones I have used. Crystal also allows you to get the smart status of external drives over USB (only disks not pen drives) - i found out that the old 6GB Quantum Fireball from and 1998 iMac had 8,900 hours and only a few hundred / 1000 power cycles. All my HDDS have been reported as healthy, apart from a 2007 Seagate laptop hdd i knew was dying.
I think its worthy of note that the I often hear the drive power down and up, sometimes the down is followed immediately by an up (but it always spins all the way down before spinning up).
There even is a new trend in high-end storage : MAID (Massive Array of Idle Drives). Basically it's only big RAID arrays with support for spin down to save power... So if the big guns find it good for them, it may be good enough to you :)