<?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>Uncouth Perspectives &#187; OS X</title>
	<atom:link href="http://www.uncouth.net/tag/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uncouth.net</link>
	<description>Not on the rug, man.</description>
	<lastBuildDate>Tue, 04 May 2010 16:37:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OS X:  Invalid Record Count</title>
		<link>http://www.uncouth.net/2008/07/19/os-x-invalid-record-count/</link>
		<comments>http://www.uncouth.net/2008/07/19/os-x-invalid-record-count/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 22:17:00 +0000</pubDate>
		<dc:creator>Isaac</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[disk failure]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.uncouth.net/?p=422</guid>
		<description><![CDATA[Warning:  Geek Ahead
I recenty had a problem with my Apple HD and I didn&#8217;t find anything good online, so I am going to post what I did here so anyone else trolling the search engines might get some help.
Scenario:
I don&#8217;t reboot my laptop often, but I noticed that it&#8217;s running a little sluggish, so I [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Warning:  Geek Ahead</strong></p>
<p>I recenty had a problem with my Apple HD and I didn&#8217;t find anything good online, so I am going to post what I did here so anyone else trolling the search engines might get some help.</p>
<p>Scenario:</p>
<p>I don&#8217;t reboot my laptop often, but I noticed that it&#8217;s running a little sluggish, so I decided maybe it&#8217;s time to give it a good restart.  I am, of course, looking over some of my notes for the two presentations I am giving in a couple of days as it does this.  As the computer starts back up, I turn away.  When I look back, it is turned off.  Odd, but my laptop has some quirks, so I give it a go again.  This time I watch.  Yup, it starts to boot and then just turns off.  Weeeeeird.</p>
<p>I get my handy boot/install disk and check the system log, where I see messsages like this..<br />
<code><br />
kernel[0]: HFS: Runtime corruption detected on HD, fsck will be forced on next mount.<br />
kernel[0]: hfs_swap_BTNode: invalid forward link (0xb6baad6e &gt;= 0x0000a280)<br />
kernel[0]: node=33456 fileID=4 volume=HD device=/dev/disk0s2</code></p>
<p>Bad juju, but hopefully not a big deal.  I pull up Disk Utility and I get this lovely message.</p>
<p><code>Invalid record count<br />
Volume check failed<br />
Error: The underlying task reported failure on exit</code></p>
<p><code>1 HFS volume checked<br />
1 volume could not be validated or repaired because of an error.</code></p>
<p>Blah.</p>
<p>So I play the &#8220;I&#8217;ll look away and then it will do it&#8221; game for a while, but I can&#8217;t make it work.  I go back to the command line and use the checking tool myself.</p>
<p><code>fsck_hfs -d /dev/disk0s2</code></p>
<p>Same result.  Thanks.  I, of course, run this a couple more times, &#8217;cause, yeah, you never know.  Hah.</p>
<p>I do some research online and find very little.  I&#8217;m looking at some of the fancier tools and then realize I haven&#8217;t tried all of the options with fsck_hsf.  I notice it always fails at the catalog check</p>
<p><code>fsck_hfs -dr /dev/disk0s2</code></p>
<p>Ahha!  <strong>-r</strong> rebuilds the catalog.  It runs through about four checks over about 10-15 minutes, but comes out saying it&#8217;s clean.  I run one more check just to be safe, but it doesn&#8217;t detect any problems.  Cross my fingers and reboot and, viola, it works.</p>
<p>This probably means my disk is toast or going to be toast soon, but I&#8217;ve been monitoring the log and so far no errors, so we&#8217;ll just have to see.  I have my system backed up, so it wouldn&#8217;t/won&#8217;t be tragic to replace the drive, but it&#8217;s work I don&#8217;t really want to do if I don&#8217;t need to.</p>
<p>I hope this helps someone&#8211;fun with disk problems!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uncouth.net/2008/07/19/os-x-invalid-record-count/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
