To see if your disks support the setting of power management, you can run the following (substituting your device mount point):
$ sudo hdparm -i /dev/mapper/lawrence-root
If your hard drive supports AdvancedPM, you can use hdparm to tell the disk to go into power savings mode after an elapsed period of idle time. The relevant options for hdparm are:
- - — Sets the Advanced Power Management setting (1-255)
- - — Sets standby (spindown) timeout -y — Puts the IDE drive in standby mode -- — Puts the IDE drive to sleep
For example, to put the disk into the most aggressive power savings mode after 60 seconds of idle time, you could use the following:
$ hdparm -B 1 -S 12 /dev/mapper/lawrence-root
Was this article helpful?