Jump to content

Unraid spin down disks to save them and power or are we destroying them?

My old Synology 8 Bay system with Raid 5 constantly had to read and write all disks if i did anything on the volume. That's the nature or raid volumes data is always being read and written to everything.

 

After installing Unraid around 2 months ago which is the best NAS for my specific needs being Media Storage, The Data Disk with the Media is only spinning if a file is requested and if a Write happens on the Data Disk then it will write to both Parity Drives as well. For this reason my Parity Drives are always spinning.

However i have 1-2 Data Drives ever spinning at the same time under this new system which is pretty neat in itself. It may be 18 hours between any of the Data Drives spinning up.

This provides a very interesting view of Unraid vs something like Synology/FreeNas where all drives will be read and written to for Raid setups.

 

However... 3 days of reading around on forums posts about the question will spinning down my hard drive to keep it cool, not spinning so in theory cause less wear and tear to the system be better.

I am less clear now on this subject than ever before, i would have thought with electronics if you turn something off and moving surfaces it isn't spinning to be damaged these would be good things.

Some places say yes its good, then some sources say it will kill the drive in a few months with only limited power downs but it seems drives are built for 100,000 power downs these days.

 

Mythbusters did a great video on this subject with fluro lighting was it better to turn them off or just leave them on which one made them last longer and use less power.

I was hoping Linus Tech Tips did a video on this Hard Drive subject it seems to be very much a 50% in either direction with no actual data to support it.

When you spin down 20 Hard Drives its much quieter and chewing less power plus heat so there is that but no drive exceeds 29c so i am not in any danger there leaving them all spinning.

Most of my drives are WD Red's and Seagate DM drives before i knew to buy Reds.

 

Any help will be appreciated :)

 

CPU | AMD Ryzen 7 7700X | GPU | ASUS TUF RTX3080 | PSU | Corsair RM850i | RAM 2x16GB X5 6000Mhz CL32 MOTHERBOARD | Asus TUF Gaming X670E-PLUS WIFI | 
STORAGE 
| 2x Samsung Evo 970 256GB NVME  | COOLING 
| Hard Line Custom Loop O11XL Dynamic + EK Distro + EK Velocity  | MONITOR | Samsung G9 Neo

Link to comment
Share on other sites

Link to post
Share on other sites

spin down to save power and less power on hours.

 

less spinning = less failure rate from motors wearnig out

Ryzen 5 3600 stock | 2x16GB C13 3200MHz (AFR) | GTX 760 (Sold the VII)| ASUS Prime X570-P | 6TB WD Gold (128MB Cache, 2017)

Samsung 850 EVO 240 GB 

138 is a good number.

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, themctipers said:

spin down to save power and less power on hours.

 

less spinning = less failure rate from motors wearnig out

Yes indeed but then a few sites have stated that the first 1-3 seconds starting the disk from the stop damage the motor more than if it was just keeping the drive spinning 24x7.

Less Spinning less failure yes i do agree with you there but i am not 100% sure which is why i've posted here. :)

CPU | AMD Ryzen 7 7700X | GPU | ASUS TUF RTX3080 | PSU | Corsair RM850i | RAM 2x16GB X5 6000Mhz CL32 MOTHERBOARD | Asus TUF Gaming X670E-PLUS WIFI | 
STORAGE 
| 2x Samsung Evo 970 256GB NVME  | COOLING 
| Hard Line Custom Loop O11XL Dynamic + EK Distro + EK Velocity  | MONITOR | Samsung G9 Neo

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Maticks said:

Yes indeed but then a few sites have stated that the first 1-3 seconds starting the disk from the stop damage the motor more than if it was just keeping the drive spinning 24x7.

Less Spinning less failure yes i do agree with you there but i am not 100% sure which is why i've posted here. :)

almost every OS spins down the hard drives are designed to do it a lot. 

Good luck, Have fun, Build PC, and have a last gen console for use once a year. I should answer most of the time between 9 to 3 PST

NightHawk 3.0: R7 5700x @, B550A vision D, H105, 2x32gb Oloy 3600, Sapphire RX 6700XT  Nitro+, Corsair RM750X, 500 gb 850 evo, 2tb rocket and 5tb Toshiba x300, 2x 6TB WD Black W10 all in a 750D airflow.
GF PC: (nighthawk 2.0): R7 2700x, B450m vision D, 4x8gb Geli 2933, Strix GTX970, CX650M RGB, Obsidian 350D

Skunkworks: R5 3500U, 16gb, 500gb Adata XPG 6000 lite, Vega 8. HP probook G455R G6 Ubuntu 20. LTS

Condor (MC server): 6600K, z170m plus, 16gb corsair vengeance LPX, samsung 750 evo, EVGA BR 450.

Spirt  (NAS) ASUS Z9PR-D12, 2x E5 2620V2, 8x4gb, 24 3tb HDD. F80 800gb cache, trueNAS, 2x12disk raid Z3 stripped

PSU Tier List      Motherboard Tier List     SSD Tier List     How to get PC parts cheap    HP probook 445R G6 review

 

"Stupidity is like trying to find a limit of a constant. You are never truly smart in something, just less stupid."

Camera Gear: X-S10, 16-80 F4, 60D, 24-105 F4, 50mm F1.4, Helios44-m, 2 Cos-11D lavs

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Maticks said:

Yes indeed but then a few sites have stated that the first 1-3 seconds starting the disk from the stop damage the motor more than if it was just keeping the drive spinning 24x7.

Less Spinning less failure yes i do agree with you there but i am not 100% sure which is why i've posted here. :)

you're not constantly hitting the NAS wiht reads/writes, so during the time when you're not (which is usually most of the time, like 90% of the time nobody is using the nas with my experience) it'll spin down the disks

 

spinning it down = no energy used,less chance of failure, less power on cycles, and it doesnt heat up, and its safe to move around and get bumped around if that happens.

Ryzen 5 3600 stock | 2x16GB C13 3200MHz (AFR) | GTX 760 (Sold the VII)| ASUS Prime X570-P | 6TB WD Gold (128MB Cache, 2017)

Samsung 850 EVO 240 GB 

138 is a good number.

 

Link to comment
Share on other sites

Link to post
Share on other sites

I have set mine back to Spin Down after 1 Hour Idle then. :)

CPU | AMD Ryzen 7 7700X | GPU | ASUS TUF RTX3080 | PSU | Corsair RM850i | RAM 2x16GB X5 6000Mhz CL32 MOTHERBOARD | Asus TUF Gaming X670E-PLUS WIFI | 
STORAGE 
| 2x Samsung Evo 970 256GB NVME  | COOLING 
| Hard Line Custom Loop O11XL Dynamic + EK Distro + EK Velocity  | MONITOR | Samsung G9 Neo

Link to comment
Share on other sites

Link to post
Share on other sites

hard drives these days are rated in load/unload cycles - heads

plus, a motor that spins constantly will last longer than one that has to spin up

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, zMeul said:

hard drives these days are rated in load/unload cycles - heads

plus, a motor that spins constantly will last longer than one that has to spin up

Well, let's do some math here.

 

The Seagate 8TB drive is rated for 300 000 Load/Unload cycles.  So, let's assume an aggressive number of one cycle every hour, which would mean your drive is spinning up not long after is spins down assuming it waits around 30mins or so of idle before it spins down, all day, every day.  It would take you 12 500 days or more than 34 years to reach 300 000 cycles.

 

Yeah, I think that's fine.  You'd basically have to build a torture script to constantly spin down and spin up the disc to use up it's rated cycle count.

 

And this is why my FlexRAID systems spins down it's drives individually when not needed by the pool.  Not to mention it saves a lot of power and heat.

Link to comment
Share on other sites

Link to post
Share on other sites

there is more power and wear on a drive spinning up. I only use drive spin down on my laptop to save battery. On my desktop I keep all drives spinning, except my backup drive which i only write to once a day; I keep it unmounted and powered off.

             ☼

ψ ︿_____︿_ψ_   

Link to comment
Share on other sites

Link to post
Share on other sites

On 6/30/2017 at 11:42 PM, AshleyAshes said:

Well, let's do some math here.

 

The Seagate 8TB drive is rated for 300 000 Load/Unload cycles.  So, let's assume an aggressive number of one cycle every hour, which would mean your drive is spinning up not long after is spins down assuming it waits around 30mins or so of idle before it spins down, all day, every day.  It would take you 12 500 days or more than 34 years to reach 300 000 cycles.

 

Yeah, I think that's fine.  You'd basically have to build a torture script to constantly spin down and spin up the disc to use up it's rated cycle count.

 

And this is why my FlexRAID systems spins down it's drives individually when not needed by the pool.  Not to mention it saves a lot of power and heat.

Math to the rescue!

 

I've heard both sides of the argument a million times and the real problem is that neither is wrong, it's like politics. If it's just at home, my data RAID array spend 99% of it's time idle. so i have it set to spin down after 15 minutes. some days it has to spin up 3 or 4 times, but sometimes it spins up only once a day to check the drives. For my case I like saving power, they're 3TB SAS disks so they are quite power hungry. I do also understand that spinning up is (quite obviously) the most damaging time for the motor, bearings etc. This is just common sense, it's why you let your car warm up before thrashing on it, things need to heat up and fill in the tolerances for the smoothest operation. On top of that you are fighting inertia which mean the motor is working hard. The windings in the motor will work-harden faster and the motor will die sooner. In the enterprise where data is always being accessed this probably isn't even a concern, no drive will ever have the chance to spin down, even if it were set to. It's a real pickle! Id love to run some tests on this with new drives.

I WANT TO LOOK LIKE AN IDIOT!

 

If I'm wrong, please make me look like an idiot so everyone can learn from my wrongness. 

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, GW2 said:

Math to the rescue!

 

I've heard both sides of the argument a million times and the real problem is that neither is wrong, it's like politics. If it's just at home, my data RAID array spend 99% of it's time idle. so i have it set to spin down after 15 minutes. some days it has to spin up 3 or 4 times, but sometimes it spins up only once a day to check the drives. For my case I like saving power, they're 3TB SAS disks so they are quite power hungry. I do also understand that spinning up is (quite obviously) the most damaging time for the motor, bearings etc. This is just common sense, it's why you let your car warm up before thrashing on it, things need to heat up and fill in the tolerances for the smoothest operation. On top of that you are fighting inertia which mean the motor is working hard. The windings in the motor will work-harden faster and the motor will die sooner. In the enterprise where data is always being accessed this probably isn't even a concern, no drive will ever have the chance to spin down, even if it were set to. It's a real pickle! Id love to run some tests on this with new drives.

That's really it.  There's next to no testing since you would need a massively prolonged torture test and you'd need to execute it on a huge number of drives just to rule out random chance.  With how a drive really can 'Just up and die for no reason' without using huge number of drives in testing, you couldn't rule out one pool of drives being tested as having failed due to pure random chance.

 

The only real information available is how many desktop PCs naturally spin their discs down as the default OS configuration and these are the prime example of 'light usage' PCs.  Some will sit idle all night while the user is asleep or at work/school or see on and off usage when the user is around as they move between other tasks in the home.  There appears to be no meaningful information to suggest that the function, which is the default in Windows OS's for a very long time, causes harm to consumer users.  We're only certain of one thing: Every hard drive, no matter which hard drive, will eventually die, even if it takes years and years and years for it to happen.

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, AshleyAshes said:

That's really it.  There's next to no testing since you would need a massively prolonged torture test and you'd need to execute it on a huge number of drives just to rule out random chance.  With how a drive really can 'Just up and die for no reason' without using huge number of drives in testing, you couldn't rule out one pool of drives being tested as having failed due to pure random chance.

And even if we managed to get this magical test of a million identical hard drives put together, we know that the HDD manufacturers work in batches, and change their designs slightly on a frequent basis, who's to say this test is representative of anything more than that model of HDD?

I WANT TO LOOK LIKE AN IDIOT!

 

If I'm wrong, please make me look like an idiot so everyone can learn from my wrongness. 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 years later...

This is a very interesting subject.  I've been using Unraid now for over 10 years, and have 2 servers with about 60TB of disk in each.  They have about 12 HDDs combined in them, so I have a decent statistical case here regarding drive longevity and performance.

 

Additionally, we have 2 FreeNAS servers in our data center that have about 40TB of disk in them, about 16 drives in total, and so I can A-B compare the results of my home Unraid servers and our hosted FreeNAS servers.  Clearly our data center has better power conditioning, enterprise class servers, etc. but still hard drives fail.  That said, over 4 years we've had only 1 x 4TB drive fail in the data center in the FreeNAS servers, whereas I've had about 10 drives fail in the Unraid servers.

 

The most fickle of the drives are Seagate drives.  I've been using the 12TB Seagate Archive drives and they don't seem to last more than a couple of years.  I've had much better results with HGST data center drives for longevity, but even with that drives seem to die on me routinely.  To the point where I have to budget about $300 a month for drive replacements.  Sometimes I'm lucky to be able to claim under warranty, but most of the time I'm out of pocket and this is like sacrificing a car payment per month just to keep these drives going.

 

What could be causing this?  Well one thing that comes to mind, and what drove me to this thread, is the spinning up/down that Unraid is doing.  Not all HDDs are created equal here - you have drives specifically designed for NAS storage, drives for CCTV footage, drives for databases, etc.  I am no expert on drive design & manufacture but it seems that you do get what you pay for here.  That said, it does seem to be counter intuitive to want to try and save money on power by spinning down the drives if they are going to cost me $300 a month to replace them due to this not being the intended use-case for the drive design. 

 

Now I realize I'm probably an outlier here with my usage, but if anyone has something similar in size to this, I'd like to A-B compare how you have done it with my setup, because I'm getting really tired of retiring dead drives all the time and I can't seem to understand why I'm not doing this with FreeNAS in our data center considering those drives get more of a hammering than my home servers are subjected to.

 

K

Link to comment
Share on other sites

Link to post
Share on other sites

Spinning down drives doesnt negatively impact the longevity of the drive for any reasonable period of time (5 years+). HDD spindown is part of the drives firmware itself, all the OS does is send a signal to it to sleep or wake so it isnt inherintly a specific thing to UnRAID. You can look at the manufacturers specifications on what your drives are rated for (called Start-Stop, Load/Unload, Power Cycle, etc..) in SMART its called like Load Cycle or something...a typical value for this is around 300,000-400,000. As an example of how much that is, my 2 year old UnRAID drives are up to 19,000 in 2 years.....so you're looking at around 15-20 years to reach half the rated value. 

 

I have Folder Caching enabled for if im browsing high level folders, and the drives on spin down. The folder caching helps to reduce spin up frequency. So they will only spin up when I need an actual file listing or to access a file on that drive. In the last 2 years I havent had a single failure. 

 

I'd say using Seagate Archives for active storage are probably a big part of that being a value SMR 'archive' drive.

The biggest killer to hard drives is typically heat and humidity though. It's Summer here in the middle of the day and mine are at 30-35C. Evening or Winter theyre in the 20's so I keep them relatively cool. 

 

I've been running RAID's since around 2001 in my home. In the last 20 years, ive maybe lost 5 drives (2 of them DOA in 2 weeks indicating defective drive), and ive been spinning down my media RAIDs for over a decade.  One of the biggest things is to regularly replace drives as they reach EOL. Don't wait for 1 to fail and drop completely, because to rebuild that drive you put a lot of strain on the other disks running them flat out for hours (days) at a time which increases the chance of another failure.  

 

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Jarsky said:

Spinning down drives doesnt negatively impact the longevity of the drive for any reasonable period of time (5 years+).

Assuming you're replacing your drives at a regular cadence, this is exactly correct for home use.  Spin them down and save the power if your drives support it, or don't, it won't make much difference.

 

For old systems and 24/7 active systems, of the sort that many datacenters have, spindown does impact drive life in a negative manner, as does literally any power down event.  When a big datacenter loses power, there's a lot of equipment that just doesn't turn back on afterwards - mostly PSUs, HDDs, and router/switch blades.  There's some study on this effect - basically things that have been powered on and heated up for an extended period of time contract and connections break.  This is probably the source of the misinformation that consumers shouldn't spin down their drives - but consumers are not enterprise datacenters. 🙂

Link to comment
Share on other sites

Link to post
Share on other sites

I've heard both sides of the argument so many times and it's diffrent in every use case. It depends on the kind of disk and how they are rated. Disk do normaly break when spinning up because that's the most heavly load they will get. Does not mean they do not wear from spinning all day. There are a few things you should consider:

 

- SAS drives don't like to spin up and are also not made for that.

- How faster the drive, how harder the beating when they have to spin up.

- If the disks have to spin up more times an hour they should probably never stop spinning, for better performance and for les wear.

- Then the last point, does it matter what you do? The power cost of some disks are high enough that you should probably just let them spin down even if they get more wear from it. And if they break just buy a new one from the money you saved.

 

https://www.koreascience.or.kr/article/JAKO199911920051131.page

 

https://www.sciencedirect.com/science/article/pii/S0301679X03000720

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×