Linux Mint

top 13 comments

sorted by: hot top controversial new old
[–] 21 points 8 months 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

  • source
  • [–] 10 points 8 months ago

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

  • source
  • [–] 7 points 8 months ago (5 children)
  • [–] 3 points 8 months ago (4 children)
  • [–] 8 points 8 months ago (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 6 points 8 months 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.

  • source
  • parent
  • [–] 4 points 8 months ago (1 child)

    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...

  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 8 months 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

  • source
  • [–] 4 points 8 months ago (1 child)
  • [–] 2 points 8 months 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...

  • source
  • parent
  • [–] 5 points 8 months ago

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

  • source
  • [–] 1 point 8 months 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

  • source