{"id":12,"date":"2007-11-01T08:18:29","date_gmt":"2007-11-01T15:18:29","guid":{"rendered":"http:\/\/chriscarey.com\/wordpress\/?p=12"},"modified":"2008-01-31T22:39:40","modified_gmt":"2008-02-01T05:39:40","slug":"gutsy-issue-with-sata-drives","status":"publish","type":"post","link":"https:\/\/chriscarey.com\/blog\/2007\/11\/01\/gutsy-issue-with-sata-drives\/","title":{"rendered":"Gutsy Issue with SATA drives"},"content":{"rendered":"<p>Here is how I permanently fixed it:<\/p>\n<p>1) make a file named &#8220;99-hdd-spin-fix.sh&#8221;. The important thing is starting with &#8220;99&#8221;.<\/p>\n<p>2) make sure the file contains the following 2 lines (fix it if you have PATA HDD):<\/p>\n<p>#!\/bin\/sh<br \/>\nhdparm -B 255 \/dev\/sda<\/p>\n<p>3) copy this file to 3 locations:<br \/>\n\/etc\/acpi\/suspend.d\/<br \/>\n\/etc\/acpi\/resume.d\/<br \/>\n\/etc\/acpi\/start.d\/<\/p>\n<p>Voila! After that the HDD never spins down on power (looks like it actually spins down on battery at modest rate). Sorry if the instruction is too detailed, no offense.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is how I permanently fixed it: 1) make a file named &#8220;99-hdd-spin-fix.sh&#8221;. The important thing is starting with &#8220;99&#8221;. 2) make sure the file contains the following 2 lines (fix it if you have PATA HDD): #!\/bin\/sh hdparm -B 255 \/dev\/sda 3) copy this file to 3 locations: \/etc\/acpi\/suspend.d\/ \/etc\/acpi\/resume.d\/ \/etc\/acpi\/start.d\/ Voila! After that [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-Linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prpYG-c","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":0,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"wp:attachment":[{"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chriscarey.com\/blog\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}