Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to spin down some hard-disks when they are idle. So I used hdparm package. In the /etc/hdparm.conf I added following lines:

command_line {
hdparm -Ss 241 /dev/sda }

My intention was to spin down hard disk after 30 minutes of idle time. However, my problem is, how I know for sure whether hard disk has spun down (assuming that it had exceed idle time of 30 minutes)??

Any ideas? Tips?? :) :)

share|improve this question

You can use hdparm -C /dev/sda. From man hdparm:

   -C     Check the current IDE power mode status, which will always be  one
          of  unknown  (drive  does  not  support this command), active/idle
          (normal operation), standby (low power mode, drive has spun down),
          or  sleeping  (lowest  power mode, drive is completely shut down).
          The -S, -y, -Y, and -Z options can be used to manipulate  the  IDE
          power modes.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.