<?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>Lynx Blog &#187; FUD</title>
	<atom:link href="http://blog.lynxworks.eu/tag/fud/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.lynxworks.eu</link>
	<description>I don't think there are any dragons here...</description>
	<lastBuildDate>Thu, 17 Jun 2010 15:21:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Reducing hard drive lifespan, follow up</title>
		<link>http://blog.lynxworks.eu/20071031/reducing-hard-drive-lifespan-follow-up</link>
		<comments>http://blog.lynxworks.eu/20071031/reducing-hard-drive-lifespan-follow-up#comments</comments>
		<pubDate>Wed, 31 Oct 2007 14:42:24 +0000</pubDate>
		<dc:creator>Dougie</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FUD]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.lynxworks.eu/?p=36</guid>
		<description><![CDATA[Following up on what I wrote yesterday concerning suggested damage to hard disks caused by Ubuntu not altering the number of load unload cycles set by the manufacturers, I noted that a number of people have been suggesting that Ubuntu should take control away from BIOS and carry out these modifications by default, as Windows [...]

<h3>Related Posts</h3>

No related posts.
]]></description>
			<content:encoded><![CDATA[<p>Following up on what I <a href="http://blog.lynxworks.eu/?p=34">wrote yesterday</a> concerning suggested damage to hard disks caused by Ubuntu not altering the number of load unload cycles set by the manufacturers, I noted that a number of people have been suggesting that Ubuntu should take control away from BIOS and carry out these modifications by default, as Windows does.</p>
<p>Well being the kind of person I am I thought I&#8217;d do a little investigation. Now after disabling the cycles from Ubuntu, I let the system run for fifteen minutes and noted that there was no increase where previously there had been.</p>
<p>Now I rebooted in Windows Vista Home Premium, let the system run for fifteen minutes and rebooted into Ubuntu. After taking measurements again, surprisingly there was a ten cycle increase.</p>
<p>So the only conclusion I can draw here is that Windows Vista does not alter settings provided from BIOS/microcode either.</p>
<p>Now as to whether or not increased time in the landing zone is detremental to hard disk lifespan is still very much open to interpretation, one thing is true though &#8211; the argument that Ubuntu is not doing something that Windows is doing is incorrect.</p>
<img src="http://blog.lynxworks.eu/7a88d522/266bbf50/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />

<h3>Related Posts</h3>
<p>No related posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lynxworks.eu/20071031/reducing-hard-drive-lifespan-follow-up/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reports of Ubuntu reducing hard drive lifespan</title>
		<link>http://blog.lynxworks.eu/20071030/reports-of-ubuntu-reducing-hard-drive-lifespan</link>
		<comments>http://blog.lynxworks.eu/20071030/reports-of-ubuntu-reducing-hard-drive-lifespan#comments</comments>
		<pubDate>Tue, 30 Oct 2007 20:31:43 +0000</pubDate>
		<dc:creator>Dougie</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[FUD]]></category>

		<guid isPermaLink="false">http://blog.lynxworks.eu/?p=34</guid>
		<description><![CDATA[There was a story posted on Slashdot today with regard to Bug #59695 (No link, intentionally). Apart from the fact that it was extremely poor form to post a link to Launchpad thus slashdotting a major bug tracking tool, this issue should be addressed quickly. Here is the bug report: When switching to battery power, [...]

<h3>Related Posts</h3>

No related posts.
]]></description>
			<content:encoded><![CDATA[<p>There was a story posted on Slashdot today with regard to Bug #59695 (No link, intentionally). Apart from the fact that it was extremely poor form to post a link to Launchpad thus <a href="http://en.wikipedia.org/wiki/Slashdotting">slashdotting</a> a major bug tracking tool, this issue should be addressed quickly. Here is the bug report:</p>
<blockquote><p>When switching to battery power, /etc/acpi/power.sh issues the command hdparm -B 1 to all block devices. This leads to extremely frequent load cycles. For example, my new thinkpad has already done well over 7000 load cycles &#8212; in only 100 hours. That&#8217;s at least one unloading per minute. Googling for &#8220;load unload cycles notebook OR laptop&#8221; shows that most laptop drives handle up to 600,000 such cycles. As these values clearly show, this issue is of high importance and should be fixed sooner rather than later.</p>
<p>Please see for yourself how often your drive is load cycling:<br />
smartctl -d ata -a /dev/sda<br />
(This command is for an SATA drive; you&#8217;ll need to install the smartmontools package first.)</p>
<p>See also http://paul.luon.net/journal/hacking/BrokenHDDs.html for a rather dramatic account of the effects the current default values may have.</p>
<p>Just in case the load/unload timeout depends on the specific laptop or disk model, here are my system specifications:<br />
ThinkPad Z60m &amp; Hitachi HTS541080G9SA00 disk (80GB)</p></blockquote>
<p><span id="more-34"></span>First off, Ubuntu does not alter power management options by default, they are left as the manufacturer set them. Aggressive power management can reduce the lifespan of hard drives so is not enabled by default in Ubuntu, of the people who are reporting this as a bug &#8211; the fact that it appears when resuming from suspend confirms this as Ubuntu doesn&#8217;t alter hard drive settings on resume, only on boot.  <a href="http://mjg59.livejournal.com/77672.html">Here</a> is a comment from Matthew Garrett, head of the Laptop Team.</p>
<p>The number of load unload cycles that a hard drive is designed to withstand vary, with mine (Western Digital WD1600BEVS) the manufacturer quotes 600,000.</p>
<p>So how do you check and should you do anything about it? Well checking is easy, install smartmontools &#8211; open a terminal:</p>
<pre>sudo apt-get install smartmontools</pre>
<p>Next issue the command:</p>
<pre>sudo smartctl -a /dev/sda | grep Load_Cycle_Count
sudo smartctl -d ata -a /dev/sda|grep Hours</pre>
<p>In my example I get 29,751 cycles and 731 hours. This equates of course to approximately 41 cycles per hour. Now as the drive is quoted as 600,000 cycles this is equivalent to a lifespan (assuming an average of 5 hours use per day) of 204 cycles per day or 8 years. So I would say there is nothing to worry about.</p>
<p>Others argue that this depends greatly on the level of usage but we are talking about a laptop hard disk. Laptops are not typically used 24/7 &#8211; if it was then there would be an issue, as the lifespan would drop to 1.7 years.</p>
<p>So what to do if you think it is an issue for your hardware?</p>
<p>Edit /etc/hdparm.conf and add:</p>
<pre>/dev/sda {
  apm = 255
  spindown_time = 0
}</pre>
<p>As suggested by Kirrus, some machines will require 244 rather than 255.</p>
<p>Install hdparm init script:</p>
<pre>sudo update-rc.d hdparm defaults</pre>
<img src="http://blog.lynxworks.eu/7a88d522/266bbf50/CCBot/1.0 (+http://www.commoncrawl.org/bot.html).gif" />

<h3>Related Posts</h3>
<p>No related posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lynxworks.eu/20071030/reports-of-ubuntu-reducing-hard-drive-lifespan/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
