<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>actionshrimp.com &#187; harddrive</title>
	<atom:link href="http://www.actionshrimp.com/tag/harddrive/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionshrimp.com</link>
	<description>fun and geekery</description>
	<lastBuildDate>Sun, 18 Apr 2010 12:42:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Laptop hard drive clicking in Hardy</title>
		<link>http://www.actionshrimp.com/2008/05/laptop-hard-drive-clicking-in-hardy/</link>
		<comments>http://www.actionshrimp.com/2008/05/laptop-hard-drive-clicking-in-hardy/#comments</comments>
		<pubDate>Sat, 03 May 2008 15:09:37 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[clicking]]></category>
		<category><![CDATA[harddrive]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[hdd]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.actionshrimp.com/wordpress/?p=4</guid>
		<description><![CDATA[Since I installed Hardy a week or so ago, I noticed the hard drive in my laptop was making a strange clicking noise every 5 seconds or so. At first I thought it must be slowly dying, and I was starting to get a bit worried, but then realised it seemed a bit suspicious that [...]]]></description>
			<content:encoded><![CDATA[<p>Since I installed Hardy a week or so ago, I noticed the hard drive in my laptop was making a strange clicking noise every 5 seconds or so. At first I thought it must be slowly dying, and I was starting to get a bit worried, but then realised it seemed a bit suspicious that it coincided with Hardy so closely, so I searched around.</p>
<p><span id="more-4"></span></p>
<p>Turns out I wasn&#8217;t the only one with the problem, and I found a solution <a href="http://ubuntuforums.org/showthread.php?t=531866">here</a>. (Thanks to wieman01 on the Ubuntu forums for this.)</p>
<p>What was happening was Ubuntu&#8217;s power management was a bit over zealous and was making the hard drive spin up and down far too often. By changing the power settings this can be fixed, using the command:</p>
<blockquote><p><code>hdparm -B 254 /dev/xxx</code></p></blockquote>
<p>replacing xxx with your drive name, in my case for my SATA drive it was /dev/sda.</p>
<p><code>254</code> here is the lowest level of power management, and <code>255</code> is off completely. You can try playing with higher values if you like some kind of power management.</p>
<p>To make this run every time the computer starts, add it to a startup script. For example, save a plain text file containing the above line to:</p>
<blockquote><p><code>/etc/init.d/local_settings</code></p></blockquote>
<p>Then:</p>
<blockquote><p><code><br />
cd /etc/init.d<br />
sudo chmod +x local_settings<br />
sudo ln -s local_settings /etc/rc2.d/S99local_settings<br />
</code></p></blockquote>
<p>This makes the file executable, and creates a symbolic link to it in the folder which contains the start-up scripts, giving it priority 99.</p>
<p>Hopefully your clicking noise will now be gone!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.actionshrimp.com/2008/05/laptop-hard-drive-clicking-in-hardy/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
