this post was submitted on 11 Mar 2026
32 points (97.1% liked)

Linux

64455 readers
437 users here now

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

Related Communities

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

founded 6 years ago
MODERATORS
 

Linux Mint

all 15 comments
sorted by: hot top controversial new old
[–] infeeeee@lemmy.zip 21 points 4 weeks ago* (last edited 4 weeks ago)

Hdparm: https://wiki.archlinux.org/title/Hdparm

E.g:

hdparm -B 127 /dev/sda

I know it's archwiki, but it's the same on every distro

[–] atzanteol@sh.itjust.works 10 points 4 weeks ago

Wow, this question takes me back to like the 00's when laptops had battery life measured in minutes.

[–] gravitas@lem.ugh.im 8 points 4 weeks ago

Spin down when not in use is normally default behaviour for most systems already, you don't need to do anything.

[–] black_flag@lemmy.dbzer0.com 7 points 4 weeks ago (1 children)
[–] thingsiplay@lemmy.ml 3 points 4 weeks ago (1 children)
[–] black_flag@lemmy.dbzer0.com 8 points 4 weeks ago (2 children)

Creates a bunch of extra wear on the drives. They'll die very fast. Keep them spinning.

[–] AndrewZabar@lemmy.world 5 points 4 weeks ago

Seriously, I don’t know if this is precisely accurate but definitely don’t spin down. Data errors, software problems if it has to wait for spin up and then something experiences a timeout.

I’ve had some drives spinning for like twenty years without any problems.

[–] thingsiplay@lemmy.ml 4 points 4 weeks ago (1 children)

This is what I would think instinctively too, but still asked as I did not know if my instincts are correct. It's like starting and stopping the car engine on every traffic light...

[–] Cort@lemmy.world 1 points 4 weeks ago

Nah engines are fine since they don't have enough time to cool down at a stop light. The oil mostly stays put over that short amount of time.

[–] mlfh@lemmy.sdf.org 6 points 4 weeks ago

You can use hdparm with the -S parameter to set the standby/spindown time for a hard drive.

https://wiki.archlinux.org/title/Hdparm#Power_management_configuration

[–] middlemanSI@lemmy.world 4 points 4 weeks ago (1 children)
[–] ulterno@programming.dev 1 points 4 weeks ago

Correct answer.
After setting the spin down timer using hdparm, unmount the drive and it will spin down accordingly.
This also makes sure you are not spinning down drives just for a few minutes of rest.

Now just if my SSD were not heating itself to 40℃ when at its lowest power mode when unmounted...

[–] lost_faith@lemmy.ca 1 points 4 weeks ago

My external HDD automatically does this regardless of OS, it is an Orico. I have 2 of them with a 2tb HDD in one and a 8tb in another. These are only used for playback and I believe the spin down after 30 sec of no activity

[–] Andrzej3K@hexbear.net 1 points 4 weeks ago* (last edited 4 weeks ago)

https://github.com/adelolmo/hd-idle

I use hd-idle for my home server. As mentioned elsewhere, you do have to be careful spinning up/down disks frequently. If you're using a Linux Mint, that tells me this is a desktop, so you probably shouldn't do it at all. My server is idle for hours at a time though, so it makes sense in this case. I believe hd-idle defaults to spinning down after ten minutes of idle time.