Solution:
hd-idle is the way to go (if you read their README, they explain that most drives don’t support idle timers)

I’ve been looking into spinning down the drives of my NAS, as I use it infrequently and that brings power drain down from ~30W to ~17W.

Problem is, hdparm -S doesn’t seem to do anything for these particular drives: if I set it and wait for the appropriate amount of time (eg. 5 seconds if set to 1) the drives are still reported as “active/idle” and power drain doesn’t go down.

Both hdparm -y and hdparm -Y work fine, but I don’t seem to be able to find settings for them in tlp (probably because they are commands rather than settings?).

Besides the caveats about disks living longer if they are kept spinning, are there reasons why I shouldn’t setup a cron job (well, a systemd timer) that runs hdparm -Y every 10 minutes? (for example, could hdparm -y cause errors if run while the drive is being backed up?)

PS: According to hdparm’s manpage, -y puts the drive standby mode while -Y puts it into sleep mode. Considering that in my case power drain seems the same either way, should I prefer one or the other?

You are viewing a single thread.
View all comments View context
1 point

The motors are brushless, so no wear happens during spin-up from the extra current other than a little more heat for a few seconds.

permalink
report
parent
reply
1 point

@MangoPenguin Same thing that happens to your car motor when you slam the accelerator from a dead stop rather than gradually accelerating and maintaining a steady speed. Everyone knows stop-and-go traffic is hard on cars, disk drives too.

permalink
report
parent
reply
3 points

Car engines have connecting rods and all kinds of extreme side forces on bearings that get stressed under high load. Brushless motors do not have any of those things, just a rotational bearing that doesn’t experience any more load on startup vs constant speed.

permalink
report
parent
reply
1 point

The startup is absolutely more stressful for the motor. It’s a period of high current that also creates hotspots in the windings and such. It’s certainly not great for the motor.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8K

    Monthly active users

  • 3.7K

    Posts

  • 47K

    Comments