Author Topic: How to prevent certain Seagte drives from starting/stopping continuously  (Read 1202 times)

Offline Capivara

  • Member
  • ***
  • Posts: 186
  • Karma: 62
  • Devoted To Daemons & Penguins
    • View Profile
  • Peppermint version(s): 6, 7
Some hard drives, especially a number of models made by Seagate,  take energy saving very seriously. Too seriously. They start and stop all the time. Annoying, and it might reduce the life span of the drive.

Start software manager and look if hdparm is installed (it probably is). If not, install it. A default hdparm.conf will be created. All options to control disks are there in the form of comments. Start Terminal and enter the following:

Code: [Select]
gedit /etc/hdparm.confThere is specific info to be found on Seagate drives: "# -Z Disable the power-saving function of certain Seagate drives"

You could use that option. You can also make your own config. Example:

Code: [Select]
/dev/sda {
spindown_time = 280 # 1 hour

Code: [Select]
/dev/sda {
spindown_time = 340 # 2 hours
Note that the encoding of the spin-down time is weird to say the least.

A value of zero means "timeouts are disabled": the device will not automatically enter standby mode. I presume the -Z option does just that.

Values from 1 to 240 specify multiples of 5 seconds, yielding timeouts from 5 seconds to 20 minutes. Values from 241 to 251 specify from 1 to 11 units of 30 minutes, yielding timeouts from 30 minutes to 5.5 hours. A value of 252 signifies a timeout of 21 minutes. A value of 253 sets a vendor-defined timeout period between 8 and 12 hours, and the value 254 is reserved. 255 is interpreted as 21 minutes plus 15 seconds. Note that some older drives may have very different interpretations of these values.

If you like Linux, raise your hand. If you don't, raise your standards.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26437
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Useful info :)

I see what you mean about the encoding being 'weird', wonder why they made it so cryptic  ???
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint