{"id":181,"date":"2011-04-16T14:05:09","date_gmt":"2011-04-16T14:05:09","guid":{"rendered":"http:\/\/songoku.homelinux.com\/wordpress\/?p=181"},"modified":"2011-04-16T14:05:09","modified_gmt":"2011-04-16T14:05:09","slug":"spin-down-hdd-after-a-time-period-linux","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=181","title":{"rendered":"Spindown\/Standby HDD (Linux)"},"content":{"rendered":"<p>Hi, this is for everyone who already wanted to know how to spin down the disks on linux and save some energy. It&#39;s quite easy, just enter following command in your terminal:<\/p>\n<p># hdparm -S 241 \/dev\/sda<\/p>\n<p>This will spin down the specified disk (sda) after 30 minutes of inactivity. Here is a small explanation of the time paramter:<\/p>\n<p>&nbsp;-S:<br \/>\n\tSet the standby (spindown) timeout for the drive. This value is used by the drive to determine how long to wait&nbsp; (with no disk activity)&nbsp; before turning off the spindle motor to save power. Under such circumstances, the drive may take as long as 30 seconds to respond to a subsequent disk access, though most drives are much quicker. The encoding of the timeout value is somewhat peculiar.&nbsp; A value of zero means &quot;timeouts are disabled&quot;: the device will not automatically enter standby mode.&nbsp; 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.&nbsp; 255 is interpreted as 21 minutes plus 15 seconds. Note that some older drives may have very different interpretations of these values.<\/p>\n<p>Don&#39;t forget to reboot after you entered the command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, this is for everyone who already wanted to know how to spin down the disks on linux and save some energy. It&#39;s quite easy, just enter following command in your terminal: # hdparm -S 241 \/dev\/sda This will spin down the specified disk (sda) after 30 minutes of inactivity. Here is a small explanation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-servers"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}