HDparm shut down HDD

if you want to spin down your HDDs you could use hdparm.

to check your state use :

then to spin down the disk use :

if you want to spin down the disk after a time you could use the -S Parameter. From the man Page :

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.

For save your settings must add it to the “/etc/hdparm.conf” config:

don’t forget if your raid is rebuilding you cant shut down the HDDs, check this with :

2 thoughts on “HDparm shut down HDD”

  1. Wonderful blog! I found it while browsing on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get
    there! Many thanks

    View Comment
  2. I have read some good stuff here. Definitely
    worth bookmarking for revisiting. I surprise how a
    lot effort you set to create this sort of fantastic informative website.

    View Comment

Leave a Reply

Your email address will not be published.

2 + eighteen =