<?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>The Adventures of Systems Boy! &#187; Systems</title>
	<atom:link href="http://systemsboy.com/category/systems/feed" rel="self" type="application/rss+xml" />
	<link>http://systemsboy.com</link>
	<description>Big, Honkin' Systems Stuff</description>
	<lastBuildDate>Fri, 30 Dec 2011 23:09:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The End Of IT?</title>
		<link>http://systemsboy.com/2011/02/the-end-of-it.html</link>
		<comments>http://systemsboy.com/2011/02/the-end-of-it.html#comments</comments>
		<pubDate>Thu, 24 Feb 2011 11:50:06 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Lab]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=3719</guid>
		<description><![CDATA[It&#8217;s rare that I see a blog post with comments that are consistently smarter and more well-informed than the post itself. But, folks, we have a winner. This article by 37Signals&#8217; &#8220;David&#8221; is just such a mythical beast. It&#8217;s so infuriatingly bad, so completely misinformed, and so utterly borne of ignorance and frustration, that I [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s rare that I see a blog post with <a href="http://37signals.com/svn/posts/2785-the-end-of-the-it-department?112#comments" target="_blank">comments</a> that are consistently smarter and more well-informed than the <a href="http://37signals.com/svn/posts/2785-the-end-of-the-it-department" target="_blank">post</a> itself. But, folks, we have a winner. This article by 37Signals&#8217; &#8220;David&#8221; is just such a mythical beast. It&#8217;s so infuriatingly bad, so completely misinformed, and so utterly borne of ignorance and frustration, that I think I&#8217;ll just go through bit by bit and explain why people should just stop posting this utter nonsense. (And, <a href="http://daringfireball.net/linked/2011/02/23/dhh-it-dept" target="_blank">Gruber</a>, shame on you for thinking there was anything even resembling a well-reasoned argument here.)</p>
<p>David begins his rousing critique of the IT industry thusly:</p>
<blockquote><p><em>&#8220;When people talk about their IT departments, they always talk about the  things they’re not allowed to do, the applications they can’t run, and  the long time it takes to get anything done. Rigid and inflexible  policies that fill the air with animosity. Not to mention the  frustrations of speaking different languages. None of this is a good  foundation for a sustainable relationship.&#8221;</em></p></blockquote>
<p>True enough. This is often what people talk about when they talk about IT. They rarely talk about how awesome it is that they have a usable network or rooms full of computers without viruses. But let&#8217;s continue.</p>
<blockquote><p><em>&#8220;If businesses had as many gripes with an external vendor, that vendor  would’ve been dropped long ago. But IT departments have endured as a  necessary evil. I think those days are coming to an end.&#8221;</em></p></blockquote>
<p>Typically, businesses don&#8217;t have gripes with IT, end-users do. But, okay, I&#8217;m curious to hear your reasoning.</p>
<blockquote><p><em>&#8220;The problem with IT departments seems to be that they’re set up as a  forced internal vendor. From the start, they have a monopoly on the &#8216;computer problem&#8217; – such monopolies have a tendency to produce the  customer service you’d expect from the US Postal Service. The IT  department has all the power, they’re not going anywhere (at least not  in the short term), and their customers are seen as mindless peons.  There’s no feedback loop for improvement.&#8221;</em></p></blockquote>
<p>I don&#8217;t think that that&#8217;s really the problem with IT departments at all. The problem is that many IT departments make crappy policy decisions that are user-hostile. But that&#8217;s not because they have &#8220;all the power.&#8221; In fact those decisions are often, I&#8217;d suspect, borne out of a need to satisfy certain technical goals using limited resources. The characterization that IT departments see their customers &#8220;as mindless peons&#8221; is offensive to anyone who works in this business, and generalizations such as these do as much to &#8220;fill the air with animosity&#8221; as any IT policy does. Clearly, the flip-side of &#8220;the problem&#8221; is an almost willful ignorance on the part of certain members of the tech biz — David, I&#8217;m looking at you — to make even the slightest effort to understand what IT departments do before making grand proclamations on the internet about the &#8220;end of IT.&#8221; While I do agree that there should be better avenues for feedback, that doesn&#8217;t mean I can always get what I want. And crying about it is a five-year-old&#8217;s tactic.</p>
<blockquote><p><em>&#8220;Obviously, I can see the other side of the fence as well. IT departments  are usually treated as a cost center, just above mail delivery and food  service in the corporate pecking order, and never win anything when  shit just works, but face the wrath of everyone when THE EXCHANGE SERVER IS DOWN!!!!!&#8221;</em></p></blockquote>
<p>You&#8217;re goddamned right about that. I suspect that a well-respected, well-treated IT department would have warmer, fuzzier feelings for its &#8220;customers.&#8221; But the fact is that, because people like David continue to see IT departments simply as &#8220;cost centers&#8221; and not as members of a single team with a shared goal, IT departments continue to be reviled, often by members of the very corporate structures upon which they depend. Unfortunately, this relationship <em>has</em> been sustainable for over twenty years. Probably because, in many institutions, it is a relationship that, though pathalogical in many ways, is necessary.</p>
<blockquote><p><em>&#8220;At the same time, IT job security is often dependent on making things  hard, slow, and complex. If the Exchange Server didn’t require two  people to babysit it at all times, that would mean two friends out of  work. Of course using hosted Gmail is a bad idea! It’s the same forces  and mechanics that slowly turned unions from a force of progress (proper  working conditions for all!) to a force of stagnation (only Jack can  move the conference chairs, Joe is the only guy who can fix the  microphone).&#8221;</em></p></blockquote>
<p>No, IT job security is not &#8220;dependent on making things  hard, slow, and complex.&#8221; I&#8217;m so tired of hearing that. It&#8217;s simply not true, and I&#8217;d love to hear a concrete, real-world example of some place where that was the case. The fact of the matter is, IT job security is dependent on making things work. Period. If you really think that the IT department uses Exchange Server so that their buddies can get a job, you simply don&#8217;t have a clue what IT does.</p>
<blockquote><p><em>&#8220;But change is coming. Dealing with technology has gone from something  only for the techy geeks to something more mainstream. Younger  generations get it. Computer savvyness is no longer just for the geek  squad.&#8221;</em></p></blockquote>
<p>Change may be coming. Indeed, I hope it is, because I would love to see the relationship between IT and the end-user improved upon, and, where possible, lessened or even ended. And certainly &#8220;dealing with technology&#8221; is something everyone has to do these days, but after working in tech education for eleven years, I see no evidence that people have gotten any tech-saavier at all. In fact, from one year to the next, people seem to be pretty much the same: they&#8217;re either tech-saavy or they&#8217;re not. It has less to do with exposure, more to do with personality. Some people can sing, some people can&#8217;t. Making the bad singers listen to music all day doesn&#8217;t make them good singers.</p>
<blockquote><p><em>&#8220;You no longer need a tech person at the office to man &#8216;the server room.&#8217;  Responsibility for keeping the servers running has shifted away from  the centralized IT department. Today you can get just about all the  services that previously required local expertise from a web site  somewhere.&#8221;</em></p></blockquote>
<p>Apparently, David, you seem to think that all IT does is run servers, which you seem to think requires them to stand next to them inside a server closet somewhere. Hate to break it to you, buddy, but IT does way more than run your shitty-ass fucking servers. IT configures your switches; they deploy your workstations to your labs; they build and maintain your render clusters, your RAIDs your SANs; they provide all your network infrastructure and keep your workstations virus- and botnet-free. And they usually do it from some sunless underground cavern because idiots like you fail to see their importance. You <em>cannot</em> get any of those things from a website.</p>
<blockquote><p><em>&#8220;The transition won’t happen over night, but it’s long since begun. The  companies who feel they can do without an official IT department are  growing in number and size. It’s entirely possible to run a 20-man  office without ever even considering the need for a computer called  “server” somewhere.&#8221;</em></p></blockquote>
<p>Again, your obsession with servers. And again, I&#8217;d love to see some numbers on this. But okay, let&#8217;s assume for a minute that you&#8217;re right. What you&#8217;re basically saying is that there are a lot more smaller companies forming on a regular basis out there. And, sure, smaller companies don&#8217;t need an IT department. But smaller companies <em>never</em> needed an IT department. Smaller companies could <em>always</em> outsource their technology needs. That&#8217;s not new. That&#8217;s not change. That&#8217;s just more proof that you don&#8217;t know the first thing about what IT departments are or what they do.</p>
<blockquote><p><em>&#8220;The good news for IT department operators is that they’re not exactly  saddled with skills that can’t be used elsewhere. Most auto workers and  textile makers would surely envy their impending doom and ask for a  swap.&#8221;</em></p></blockquote>
<p>And that&#8217;s proof that you&#8217;re a condescending asshole.</p>
<p>Finally, for the straight shit on <a href="http://www.bynkii.com/archives/2010/09/shut_the_fuck_up_part_mcmxxxxx.html" target="_blank">what IT <em>actually</em></a> does, John C. Welch says far more than I ever could (as he actually works in IT) and with far fouler language.</p>
<p><strong>UPDATE:</strong><br />
Here&#8217;s the inimitable <a href="http://www.bynkii.com/archives/2011/02/here_we_go_again.html" target="_blank">Mr. Welch&#8217;s response</a> to the very same article. See? I told ya so. (Thanks, <a href="http://yearofthegeek.net/" target="_blank">John Mahlman</a>, for the tip.)</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2011/02/the-end-of-it.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Archives: Redux</title>
		<link>http://systemsboy.com/2009/11/archives-redux.html</link>
		<comments>http://systemsboy.com/2009/11/archives-redux.html#comments</comments>
		<pubDate>Sun, 15 Nov 2009 17:09:20 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=3027</guid>
		<description><![CDATA[My recent Archives article was met with some controversy and debate, which is great. I love controversy and debate, and a terrific discussion ensued. That discussion has led me to think a bit harder on my archive plan, and I&#8217;d like to follow up on the matter with some of the specifics of said plan, [...]]]></description>
			<content:encoded><![CDATA[<p>My recent <a href="/2009/09/archives.html">Archives</a> article was met with some controversy and debate, which is great. I love controversy and debate, and a <a href="/2009/09/archives.html#comments">terrific discussion</a> ensued. That discussion has led me to think a bit harder on my archive plan, and I&#8217;d like to follow up on the matter with some of the specifics of said plan, and expand on some of the ideas touched on therein.</p>
<p><strong>It&#8217;s Personal</strong><br />
In the Archives post I basically said I&#8217;d be archiving all my &#8220;non-essential data&#8221; to hard drives and reserving optical media archives for only the most essential archives. I should first point out that what I am talking about here is my personal data. This is not necessarily a method I&#8217;d use at work or for a client. Archive methods should be specific to the needs of the situation.</p>
<p><strong>The Future</strong><br />
One of my rationales for using hard drives was that hard drives are more likely than optical to be accessible in 10 years with the equipment of the day. It&#8217;s this particular idea that received a great deal of criticism, and I&#8217;m starting to see why.</p>
<p>Just a few weeks ago I had occasion to archive some museum kiosks that ran from some very old PowerMacs. Luckily, these PowerMacs were just barely of the era when ATA drives were starting to be used as internal drives on Macs. Getting the data off these systems was fairly straightforward. I simply hooked PowerMacs&#8217; the ATA drives up to a firewire case and archived the data to DMG. Shortly thereafter, however, I wanted to perform a similar process with a slightly earlier vintage PowerMac. This machine, however, contained a SCSI drive. And finding a way to access and archive this drive proved almost impossible without going to extreme lengths and making obscure hardware purchases. Had there been some kind of optical archive of these systems, I would have almost certainly been able to pull a backup using today&#8217;s equipment.</p>
<p>I&#8217;m not sure what the future of optical media is. Until recently, I was pretty convinced it was not long for this world and would surely be displaced as a distribution medium by the web. But after thinking on the comments to that article, and talking to people way smarter than me on such matters, I realize I may be wrong. And if that&#8217;s the case, optical will be more likely to be readable than hard drives ten years in the future. But whatever the case, this is certainly true for media from ten years ago. You&#8217;re more likely to be able to read ten year old optical media than you are hard drives of that era.</p>
<p><strong>Non-Essential Data</strong><br />
That said, I&#8217;d like to clarify the &#8220;non-essential data&#8221; qualifier I tossed in in the article. To be clear, I&#8217;m not completely eschewing optical media for my archives. What the article represented was my shift from optical as my only form of backup to hard drives as a significant if not primary form of data backup and archive.</p>
<p>To get even more specific, in the past I archived everything to optical media. But with the huge amounts of data I now collect, that&#8217;s not really so practical anymore, nor is it necessary. So these days the bulk of my data — large, non-essential data, things like ripped DVDs, video captures from tape, software installers, and data with a shelf life (i.e. that is only useful for a period of time or that relies on old versions of software or hardware) etc. — will be archived to hard drive. This will allow easy storage and retrieval. And it should last long enough. The idea is that this data isn&#8217;t forever data. It&#8217;s stuff I want to keep around for a while, but if I haven&#8217;t needed it in ten years, I probably won&#8217;t ever need it again.</p>
<p>More important data — of which there&#8217;s really not that much, but stuff like big video projects (sans captured media), photos, my websites, contacts, stuff that would really kill me to lose — I&#8217;ll be burning to optical. That way I have double backups of it (I&#8217;ll also keep it in the hard drive archive), and I&#8217;ll have it on a more robust medium that may have a better chance of being readable than hard drives in the future.</p>
<p>So what&#8217;s really going on here, for me, is a prioritization of my data backups that&#8217;s reflected in my archive procedures. With this prioritization, I can now rely much more heavily on hard drives as an archive medium. Using hard drives I can back up and access a lot more stuff with much greater ease and speed. Doing this allows me to use optical media only for the most important data. But make no mistake: optical will still be an important component in my backup strategy.</p>
<p><strong>Live Archive</strong><br />
I wanted to also take a minute to mention one way hard drives are somewhat future-proof and useful as a true archive, and this is the idea of a live, rolling archive.</p>
<p>In the lab where I used to work we kept — or tried  to keep — a long-term archive of all student work that was accessible to incoming students so that they could look at and benefit from the work of their predecessors. Our students made all sorts of work, from web projects to video and animation projects to installations. And their work was initially being archived to all manner of media, from tape media to optical. There was no standard. By the time I got involved there were projects going back ten or fifteen years, and it was becoming clear that, no matter what medium we used today, we&#8217;d need to re-archive everything every so often as data access techniques and hardware evolved. I believe that, in a case like this, where the archive is constantly growing and reaches back well over ten years, but to which access is always required, the concept of the hard-drive-as-archive-medium is a sound one. The implementation would be fairly simple in concept: everything — the entire archive — is kept on a hard drive to which the community has access. As the archive grows, say every few years, it is transferred to larger storage. As storage standards change, it is transferred to the latest greatest medium of the day. Of course, redundant backups are also kept of the entire archive. But since this data is constantly being re-archived, hard drives — or whatever replaces them in the future — make for a sensible way to have a rolling, live archive, and reduce the need for more permanent solutions like optical. Perhaps Chucky, in the comments to Archives, put it best:</p>
<blockquote><p><em>&#8220;In other words, hard drive archival demands cycling your backups over time to new hard drives with fresh magnetic media and evolving HD interfaces.&#8221;</em></p></blockquote>
<p>I guess the overarching lesson here, if there is one, is that your archive method should reflect the specifics of your situation; there is no one archive method for everyone. The corollary to that, for me, is that hard drives can (and will) now be a significant part of my archive method.</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/11/archives-redux.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The Real Cloud</title>
		<link>http://systemsboy.com/2009/11/the-real-cloud.html</link>
		<comments>http://systemsboy.com/2009/11/the-real-cloud.html#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:00:28 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=3019</guid>
		<description><![CDATA[When I first saw the title of this article over at Ars I rolled my eyes: Cloud Computing: a short introduction Then I read it. It turns out to be an incredibly thorough, yet brief, technical description of the term Cloud Computing. The article does a great job of defining Grid Computing and then uses [...]]]></description>
			<content:encoded><![CDATA[<p>When I first saw the title of this article over at Ars I rolled my eyes:<br />
<a href="http://arstechnica.com/business/news/2009/11/the-cloud-a-short-introduction.ars" target="_blank">Cloud Computing: a short introduction</a></p>
<p>Then I read it.</p>
<p>It turns out to be an incredibly thorough, yet brief, technical description of the term Cloud Computing. The article does a great job of defining <a href="http://en.wikipedia.org/wiki/Grid_computing" target="_blank">Grid Computing</a> and then uses that definition as point of comparison to arrive at a very real and very useful definition of The Cloud. I&#8217;ll be a little less embarrassed to use the term after reading it. Only a little. But still&#8230;</p>
<p>Well worth a read for anyone who needs some clarity on the whole Cloud thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/11/the-real-cloud.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why We Tell You To Reboot: Redux</title>
		<link>http://systemsboy.com/2009/11/why-we-tell-you-to-reboot-redux.html</link>
		<comments>http://systemsboy.com/2009/11/why-we-tell-you-to-reboot-redux.html#comments</comments>
		<pubDate>Mon, 09 Nov 2009 14:00:13 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=2994</guid>
		<description><![CDATA[I recently wrote an article, entitled Why We Tell You To Reboot, that described a Final Cut Pro bug which, after going to great troubleshooting lengths, I was ultimately only able to solve by a simple reboot. Shortly after posting I received a single comment from a fellow admin and blogger: &#8220;You really tell people [...]]]></description>
			<content:encoded><![CDATA[<p>I recently wrote an article, entitled <a href="http://systemsboy.com/2009/11/why-we-tell-you-to-reboot.html">Why We Tell You To Reboot</a>, that described a Final Cut Pro bug which, after going to great troubleshooting lengths, I was ultimately only able to solve by a simple reboot. Shortly after posting I received a <a href="/2009/11/why-we-tell-you-to-reboot.html#comments">single comment</a> from <a href="http://explanatorygap.net/" target="_blank">a fellow admin and blogger</a>:</p>
<blockquote><p><em>&#8220;You really tell people to reboot for no particular reason?</em></p>
<p><em>I don’t believe we should accept that standard from OS X, and what kind of an IT person are you if you’re blindly proposing solutions without any reasoning to back them up?&#8221;</em></p></blockquote>
<p>What kind, indeed.</p>
<p>I posted a response to the comment that basically explained my position in a nutshell, but I thought it was worth writing a follow-up on the question, both for thoroughness and for those who didn&#8217;t happen by the comments section of the previous article, or who may have had a similar reaction.</p>
<div id="attachment_3001" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/11/reboot-dialog.png"><img class="size-medium wp-image-3001" title="reboot-dialog" src="http://systemsboy.com/wp-content/uploads/2009/11/reboot-dialog-530x226.png" alt="Reboot!" width="530" height="226" /></a><p class="wp-caption-text">Reboot!</p></div>
<p>When a user comes to me with a problem, my primary goal is to fix the problem and get the user working again. Typically what happens is that we have a little discussion about what&#8217;s going on. Once I feel I have a good handle on the symptoms, often the next words out of my mouth are, &#8220;Did you reboot?&#8221; If the answer is no, and the situation permits, I will recommend that they do so. Rebooting is often my first step in troubleshooting.</p>
<p>I believe (though I can&#8217;t be completely sure) that my commenter took issue with the approach because blindly telling the user to reboot to solve problems gives the sysadmin no information about what those problems are and what caused them. But in fact, as I&#8217;ll demonstrate in a moment, it&#8217;s not blind, and it does tell us one important thing: rebooting either solves or doesn&#8217;t solve the problem. This in and of itself can be crucial troubleshooting information if there is a deeper problem at work.</p>
<p>But the fact of the matter is that, probably 80% of the time, there is no deeper issue. The fact is that rebooting routinely fixes problems with no other practical solution, such as the one I described in my article. Moreover, it provides the end-user with a method of troubleshooting that is likely to achieve the desired results — allowing them to get the system or an application back to a working condition — without the need for admin intervention. This is win-win: it saves both the user and me time and energy and, by determining whether or not a reboot is helpful, still provides valuable troubleshooting information.</p>
<p>I would even argue that rebooting <em>should</em> almost always be the first step in troubleshooting. When a user comes to me with a problem, I have no idea what they&#8217;ve been doing on that system. I have no idea how many nor which applications they have open. I have no idea what sorts of preferences they&#8217;ve set. There&#8217;s simply no way for me to reliably predict the state the user has put their machine in, and thus whether or not this is a system- or user-level problem. The only way for me to get things back to some semblance of a known, working state is to reboot the system. Rebooting has myriad benefits, not the least of which are: clearing stale caches; recreating network connections; and freeing up RAM and disk space. In fact, it seems almost crazy to proceed with most troubleshooting without first rebooting.</p>
<p>You may have noticed that I keep saying that rebooting should <em>almost</em> always be the first troubleshooting step. That <em>almost</em> is there because, obviously, there are times when rebooting is not a good first step. Primarily, when a user stands to lose work by rebooting. If an application is hung and the user hasn&#8217;t saved his document, for instance, I don&#8217;t tell them to reboot. Rebooting would be bad in this instance. Also, I usually try other troubleshooting methods first on my own systems, with which I am better acquainted (though this is often to my own detriment and rebooting would have been quicker and easier, as happened with the Final Cut bug).  Another instance in which I avoid a reboot is when there is a persistent problem that is not solved, or is only temporarily solved, by a reboot. Then I do need to get on that system and attempt to understand a problem. And that&#8217;s what I do.</p>
<p>But, because Mac OS X is very reliable on the whole, these instances are extremely rare in my experience. The majority of problems are minor and are easily and permanently rectified by a simple reboot. I stand behind that recommendation, and any search of Mac troubleshooting articles will reveal that the advice is almost <a href="http://www.macworld.com/article/44328/2005/04/tipstroubleshoot.html" target="_blank">universal</a>. That&#8217;s because it works.</p>
<p>So, hopefully it&#8217;s clear by now that I&#8217;m not &#8220;blindly proposing solutions without any reasoning to back them up.&#8221; Hopefully it&#8217;s clear now that there are a lot of good reasons to try rebooting as a first troubleshooting step.</p>
<p>And hopefully it&#8217;s clear that the kind of sysadmin I am is the kind that likes to get his users back up and running again with a minimum of friction.</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/11/why-we-tell-you-to-reboot-redux.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Satellite Home Directories</title>
		<link>http://systemsboy.com/2009/11/satellite-home-directories.html</link>
		<comments>http://systemsboy.com/2009/11/satellite-home-directories.html#comments</comments>
		<pubDate>Fri, 06 Nov 2009 14:00:22 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=2940</guid>
		<description><![CDATA[There are three basic methods in use today for hosting home accounts on networks in such a way that users have a single home account that follows them from computer to computer, giving them the same environment no matter where they log in. None of these three strategies works in a way that reflects how [...]]]></description>
			<content:encoded><![CDATA[<p>There are three basic methods in use today for hosting home accounts on networks in such a way that users have a single home account that follows them from computer to computer, giving them the same environment no matter where they log in. None of these three strategies works in a way that reflects how most people in the lab I currently work in — nor many of the labs I&#8217;ve freelanced for — use their computers and access their data. So I&#8217;d like to propose a third strategy that does.</p>
<p>Let&#8217;s start with a rundown of the existing approaches.</p>
<p><strong>Roaming Profiles</strong><br />
The approach Windows computers use is called Roaming Profiles. The way Roaming Profiles work is pretty simple. Users&#8217; home account data is stored on a centralizd server. When the user logs in to a client system her data is downloaded from the server to the client machine. She will access her data locally for the duration of the session. When she logs out the data will be synced back up to the server. The advantage of this approach is that the user has local access to her data and isn&#8217;t beholden to the network while actually working. This makes data access generally faster and more reliable. The big disadvantage here is that if the user makes any big changes or creates any big files, a large data transfer will happen at log out, and then again at login to subsequent machines that aren&#8217;t yet synced to the server. This both slows down the login/logout process and places an often undue burden on the network.</p>
<p>Because of the sorts of environments I tend to work in — data-intensive, video and image oriented facilities that create a lot of data — my experience with Roaming Profiles has been fairly poor. For my uses they&#8217;ve required a lot of management and have been somewhat unreliable. But, for the purpose of maintaining a user environment across multiple networked systems, they work well enough if you understand and plan for their inherent limitations.</p>
<p><strong>Network Home Accounts</strong><br />
The method used by *NIX systems, Mac OS X included, for time in memorial, is generally referred to these days as Network Home Accounts. In the Network Home Account model, as with Roaming Profiles, the user&#8217;s home account data is stored on a server. But when the user logs in using Network Home Accounts no data transfer occurs. Instead, the home account data is accessed directly from the server: new files are written directly to the server; settings files are read directly from the server; everything happens over the network and the network share that contains the user&#8217;s home account data is treated just like a local volume. The speed advantage over Roaming Profiles at login and logout is obvious; there&#8217;s simply no lag time as data gets transferred between the client and the server, because there simply is no data transfer. On the other hand, accessing your entire home account over the network can be slower than a local account even on the speediest of networks. And on slower networks, or networks with a great deal of traffic, you&#8217;ll definitely notice the slowdown. There are also potential problems due to the constant reliance on the network and server. If the network becomes congested or the share becomes unavailable even for a second you&#8217;re liable to feel the pain. If either goes down you&#8217;re dead in the water until they&#8217;ve returned to service.</p>
<p>As network home account models go, I like this one the best. I&#8217;ve used it a great deal in educational settings in which resources are almost completely shared and it&#8217;s fairly reliable and usable. But even this model can be frustrating and is less than ideal when compared to working from a local home account.</p>
<p><a href="/category/portablehomedirectories"><strong>Portable Home Directories</strong></a><br />
The final model is called Portable Home Directories. Devised by Apple for laptop computers with occasional — but not constant — access to the network hosting home account data, Portable Home Directories attempts to combine the best of the Roaming Profile and Network Home models by providing finer-grained control over the sync process in what is otherwise a Roaming Profile approach. So, Portable Homes sync to specific data at specified times when they&#8217;re on the network. Fine-grained control over what is synced and when is intended to mitigate performance issues at login and logout.</p>
<p>My main problem with this approach is that, in my admittedly limited tests, it <a href="/2009/06/portable-home-directories-part-2-oh-god-make-it-stop.html">doesn&#8217;t seem to work very well</a>. I also don&#8217;t like the level of management required. The other models, once set, require little if any tweaking whatsoever. But I could see spending a great deal of time and effort getting my Portable Home Directory settings just so.</p>
<p><strong>The Problem</strong><br />
But my overarching beef with all these models is that they don&#8217;t really jive with the way most people in most of the environments I&#8217;ve encountered actually use their computers. This makes them use system resources less efficiently and yields a poorer user experience than if they did.</p>
<p>So how do most people work? Well, what I&#8217;ve tended to see in the media-based environments in which I&#8217;ve worked is that users are generally assigned a single computer. It&#8217;s this computer from which they work almost all the time. Indeed, this is how I work in my current job. I&#8217;m almost always working from the computer in my cubicle. Almost.</p>
<p>Every now and then, however, I need to work from a different machine, and there are often times when I&#8217;m doing this that I realize that it would be extremely handy to have my entire home account — all my environment settings, files and folders — available to me on this other machine. But I don&#8217;t. They&#8217;re over there, on my cubicle machine. If only I could use the home account on my main computer directly, as thought it were a Network Home Account.</p>
<p>And this is the basic idea behind Satellite Home Accounts.</p>
<p><strong>Satellite Home Directories<br />
</strong>All the current models rely on the user&#8217;s data being stored on and accessed from a centralized server. But why? Why can&#8217;t the server be the user&#8217;s main computer? In the Satellite Home Account model, the user&#8217;s primary computer becomes the home account server for any user that sets her account as a Satellite Home Directory.</p>
<p>The way I envision it, it would actually be quite simple to set up. In the Accounts preference for the user would a be a tickbox to activate Satellite Home Directories. Once activated, the user&#8217;s system would begin broadcasting Satellite Home Directory information, just like Mac OS X broadcasts Network Home Account info. The user would then work locally as normal, but when logging into another system on the network — a system that&#8217;s listening for SHDs — the user would be presented with her home account over the network, shared directly from her primary system rather than from a centralized server. Simple.</p>
<p>Among the great benefits of this system are its simplicity and the fact that it requires no server. But the chief advantage comes from the fact that the Satellite Home Directory system works the way users tend to work. When you&#8217;re on your main computer, which you are 99% of the time, you get a fast, responsive, local home account. When you move temporarily to another system, your environment follows you. It&#8217;s a bit slower, sure. But hey, it&#8217;s only temporary. The network overhead is significantly reduced from the other methods, and the user experience is also enhanced. It&#8217;s win-win.</p>
<p>There&#8217;s certainly no technical reason an implementation like this would be impossible or even particularly difficult. Most of the technology already exists, either in Mac OS X client or Server. All we need is for someone to program it. And while I doubt there&#8217;s likely much interest on Apple&#8217;s part to build something like this, I really think it&#8217;d be damn sweet.</p>
<p>And a boy can dream, can&#8217;t he?</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/11/satellite-home-directories.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Why We Tell You To Reboot</title>
		<link>http://systemsboy.com/2009/11/why-we-tell-you-to-reboot.html</link>
		<comments>http://systemsboy.com/2009/11/why-we-tell-you-to-reboot.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:53:33 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=2958</guid>
		<description><![CDATA[This is how still images in Final Cut Pro 7 looked to me after installing and updating to the latest version (7.0.1): This is my dog: She is not normally purple and green and swirly colored. After an hour or so mucking about, reinstalling the application, trashing prefs and otherwise performing the usual maneuvers, I [...]]]></description>
			<content:encoded><![CDATA[<p>This is how still images in Final Cut Pro 7 looked to me after installing and updating to the latest version (7.0.1):</p>
<div id="attachment_2959" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/11/garbled-yard.png"><img class="size-medium wp-image-2959" title="garbled-yard" src="http://systemsboy.com/wp-content/uploads/2009/11/garbled-yard-530x500.png" alt="Final Cut 7 Garbled Image Display" width="530" height="500" /></a><p class="wp-caption-text">Final Cut 7 Garbled Image Display</p></div>
<p>This is my dog:</p>
<div id="attachment_2960" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/11/garbled-dog.png"><img class="size-medium wp-image-2960" title="garbled-dog" src="http://systemsboy.com/wp-content/uploads/2009/11/garbled-dog-530x500.png" alt="Garbled Dog" width="530" height="500" /></a><p class="wp-caption-text">Garbled Dog</p></div>
<p>She is not normally purple and green and swirly colored.</p>
<p>After an hour or so mucking about, reinstalling the application, trashing prefs and otherwise performing the usual maneuvers, I decided to take my own medicine and reboot. Why I don&#8217;t just always do this first — like I tell everyone else to do — is beyond me. But sure enough, it worked.</p>
<div id="attachment_2961" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/11/normal-dog.png"><img class="size-medium wp-image-2961" title="normal-dog" src="http://systemsboy.com/wp-content/uploads/2009/11/normal-dog-530x500.png" alt="Normal Dog" width="530" height="500" /></a><p class="wp-caption-text">Normal Dog</p></div>
<p>Ah! That&#8217;s better! Crazy mutt!</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/11/why-we-tell-you-to-reboot.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Create a Dual-Format Drive for Mac and Windows</title>
		<link>http://systemsboy.com/2009/10/create-a-dual-format-drive-for-mac-and-windows.html</link>
		<comments>http://systemsboy.com/2009/10/create-a-dual-format-drive-for-mac-and-windows.html#comments</comments>
		<pubDate>Thu, 08 Oct 2009 14:00:55 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=2777</guid>
		<description><![CDATA[It&#8217;s just come to my attention that it&#8217;s now fairly trivial to split a drive into two differently formatted partitions, one of which could be used for the Mac while the other could be used for Windows. This is not necessarily new, but there are a number of things that make it of particular interest [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s just come to my attention that it&#8217;s now fairly trivial to split a drive into two differently formatted partitions, one of which could be used for the Mac while the other could be used for Windows. This is not necessarily new, but there are a number of things that make it of particular interest to me. Before I detail the process of creating this dual-platform drive, I want to talk a bit about some of the reasons you might want to do this and some of the challenges I&#8217;ve faced over the years with regards to the issue of cross-platform drives.</p>
<p><strong>Some History</strong><br />
In the very cross-platform lab where I used to work we were continually on the hunt for the best filesystem solution for users of multiple platforms when they were using external firewire or USB drives. That is, some folks wanted their drives to be accessible from both the Mac OS and Windows. On the surface this can seem like an easy problem to solve — <a href="http://en.wikipedia.org/wiki/File_Allocation_Table" target="_blank">Fat32</a> (or &#8220;MS-DOS&#8221; as it&#8217;s called in Disk Utility) is readable and writable on both platforms. But it&#8217;s not so cut and dry.</p>
<div id="attachment_2820" class="wp-caption aligncenter" style="width: 154px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/firewire.png"><img class="size-full wp-image-2820" title="firewire" src="http://systemsboy.com/wp-content/uploads/2009/10/firewire.png" alt=" " width="144" height="164" /></a><p class="wp-caption-text"> </p></div>
<p>The biggest problem for me was video. See, I taught — and continue to teach — a video class in that very same department. We use Final Cut Pro as our editing software, for a variety of reasons, not the least of which is the fact that I prefer to work on the Mac. I require my students to have a firewire drive appropriate to showing in-progress video work in class. But Fat32 has a 4GB file size limit, and video captures can often exceed that limit. What happens when this limit is exceeded is interesting from a systems standpoint, but devastating from a user standpoint.</p>
<p><strong>Video and Fat32</strong><br />
When capturing video in Final Cut Pro to a Fat32 volume, what happens is that the video file gets segmented. That is, the capture file gets written in 4GB chunks. Initially, Final Cut will see these chunks and understand what they are. But after saving the project and quitting the app Final Cut will no longer be able to locate the captured media because it&#8217;s in multiple files with different names. The path to the media that FCP relies on is now, essentially, broken. This actually happened to a student of mine some time ago, and we were able to use the <code>cat</code> command to reconstruct the single movie file onto an HFS+ volume and then point FCP at the reconstructed file. Boy was that fun.</p>
<p><strong>NTFS</strong><br />
We&#8217;ve often looked to the ever-popular <a href="http://en.wikipedia.org/wiki/NTFS" target="_blank">NTFS</a> file system as a possible future solution. It does not have such small file size limits, and it&#8217;s readable on Mac and Windows. But the Mac has never been able to <em>write</em> to NTFS. So, in the past, our solution in the lab — our recommendation for users who really needed a dual-format drive with read/write capabilities on Mac and Windows — was to use the HFS+ filesystem on the drive and use MacDrive on Windows to read and write to that drive. Inelegant? Yes. But it mostly worked.</p>
<p><strong>Mac and Windows Partitions</strong><br />
Another potentially attractive alternative to a single, dual-platform volume was the idea of splitting the drive into two partitions and dedicating each partition to a platform/filesystem. This way, even if all your Mac and Windows data wasn&#8217;t all mushed together in one volume, you could at least keep it all on one device. This solution would likely work for the vast majority of users. Unfortunately, there was never a particularly straightforward way of doing this. Sure, it was doable. But it wasn&#8217;t easy, and it wasn&#8217;t something you could tell new students to do. In fact, it was likely to require admin access and command-line heroics, and so just wasn&#8217;t a viable solution to anyone but the most die-hard user. Until now.</p>
<p>Without too much mucking around, it&#8217;s now possible to create a dual-format external drive that contains a mac-formatted partition and a Windows-formatted one.</p>
<p><strong>MacFUSE and NTFS for Mac OS X</strong><br />
The first step is the only really tricky part, and it&#8217;s not even that tricky. If you have need for a dual-format drive, this should be pretty easy for you. You&#8217;re going to need to install the <a href="http://code.google.com/p/macfuse/" target="_blank">MacFUSE</a> and NTFS packages. In a nutshell, MacFUSE is an experimental set of tools for doing unsupported things with filesystems like SSH, FTP and, of course, NTFS on your Mac. And, experimental though it may be, I&#8217;ve been using it for quite a while and have not had any problems to speak of. Installing MacFUSE and the NTFS drivers will allow you to mount NTFS volumes with read-write access.</p>
<div id="attachment_2795" class="wp-caption aligncenter" style="width: 522px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/MacFUSE-Banner.png"><img class="size-full wp-image-2795" title="MacFUSE-Banner" src="http://systemsboy.com/wp-content/uploads/2009/10/MacFUSE-Banner.png" alt="MacFUSE" width="512" height="147" /></a><p class="wp-caption-text">MacFUSE</p></div>
<p>So, if NTFS can be mounted read-write on the Mac with MacFUSE, and it&#8217;s obviously read-write on Windows, and it doesn&#8217;t suffer from the file size limitations of Fat32, why not just use NTFS as your über-filesystem and format the whole drive with it? That&#8217;s a great question, and I&#8217;m glad I asked it!</p>
<p>The thing about getting NTFS read-write access on a Mac with MaFUSE is that it&#8217;s very much a hack. Yes, it works, but it has its problems. First and foremost among them is the fact that Final Cut Pro is really not a fan. In fact, FCP might just be the best barometer of a good cross-platform solution as it seems to be so picky about filesystems. So far, the only filesystem I&#8217;ve seen work consistently well with Final Cut is HFS+. No surprise there. And on NTFS it gets downright crazy. Files sometimes won&#8217;t open. Sometimes they won&#8217;t save. It&#8217;s a scary mess, and I wouldn&#8217;t trust my FCP data on NTFS for any amount of money.</p>
<p>But, what the MacFUSE NTFS package does get you is a relatively easy way to format your drive with separate Mac and Windows partitions, and this, at least in my tests seems to work just fine.</p>
<div id="attachment_2797" class="wp-caption aligncenter" style="width: 385px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/ntfs-mac-package.png"><img class="size-full wp-image-2797" title="ntfs-mac-package" src="http://systemsboy.com/wp-content/uploads/2009/10/ntfs-mac-package.png" alt="NTFS-3G for Mac OS X" width="375" height="215" /></a><p class="wp-caption-text">NTFS-3G for Mac OS X</p></div>
<p>The easiest way to get everything you need is to go to the <a href="http://macntfs-3g.blogspot.com/" target="_blank">NTFS-3G for Mac OS X</a> website and download the latest package. This package will install the most recent non-beta version of MacFUSE as well as the latest NTFS libraries, and contains everything you need. Once you&#8217;ve installed this bundle, you&#8217;ll need to reboot your system.</p>
<p><strong>Creating the Dual-Partition Drive</strong><br />
After the reboot you&#8217;ll see a new filesystem option when you go to format drives in Disk Utility.</p>
<div id="attachment_2798" class="wp-caption aligncenter" style="width: 325px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/ntfs-new-option.png"><img class="size-full wp-image-2798" title="ntfs-new-option" src="http://systemsboy.com/wp-content/uploads/2009/10/ntfs-new-option.png" alt="A New Option" width="315" height="140" /></a><p class="wp-caption-text">A New Option</p></div>
<p>Moreover, that option will be available to individual partitions of drives that are otherwise formatted. And that&#8217;s what&#8217;s new (to me) and what allows the magic to happen. Here&#8217;s how you do it.</p>
<ol>
<li>First, if you have any data on the drive that you need to preserve, back it up. This process WILL ERASE YOUR HARD DRIVE.</li>
<li>Next, select the drive you want to dual-format and choose the Partition tab.</li>
<li>Select a Volume Scheme. I&#8217;m just doing the simplest, two-partition scheme, with one Mac and one Windows partition, but you can certainly get more Byzantine with it if you&#8217;d like.
<p><div id="attachment_2811" class="wp-caption aligncenter" style="width: 227px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/volume-scheme.png"><img class="size-full wp-image-2811" title="volume-scheme" src="http://systemsboy.com/wp-content/uploads/2009/10/volume-scheme.png" alt="Volume Scheme" width="217" height="316" /></a><p class="wp-caption-text">Volume Scheme</p></div></li>
<li>Set the Format for the partition you want to use on the Mac to &#8220;Mac OS Extended (Journaled),&#8221; give it a name and a size.
<p><div id="attachment_2799" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/dual-mac-win-fw-partitions-1.1.png"><img class="size-medium wp-image-2799" title="dual-mac-win-fw-partitions-1.1" src="http://systemsboy.com/wp-content/uploads/2009/10/dual-mac-win-fw-partitions-1.1-530x466.png" alt="Mac Partition" width="530" height="466" /></a><p class="wp-caption-text">Mac Partition</p></div></li>
<li>Set the Format for the partition you want to use on Windows to &#8220;Windows NT Filesystem (NTFS-3G),&#8221; give it a name and size.
<p><div id="attachment_2801" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/dual-mac-win-fw-partitions-2.1.png"><img class="size-medium wp-image-2801" title="dual-mac-win-fw-partitions-2.1" src="http://systemsboy.com/wp-content/uploads/2009/10/dual-mac-win-fw-partitions-2.1-530x466.png" alt="Windows Partition" width="530" height="466" /></a><p class="wp-caption-text">Windows Partition</p></div></li>
<li>Under the Options&#8230; set the partition scheme to &#8220;Master Boot Record.&#8221; This is needed for Windows to see your drive.
<p><div id="attachment_2803" class="wp-caption aligncenter" style="width: 480px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/dual-mac-win-fw-partitions-3.png"><img class="size-full wp-image-2803" title="dual-mac-win-fw-partitions-3" src="http://systemsboy.com/wp-content/uploads/2009/10/dual-mac-win-fw-partitions-3.png" alt="Partition Scheme" width="470" height="362" /></a><p class="wp-caption-text">Partition Scheme</p></div></li>
<li>Finally, hit the Apply button. You&#8217;ll be warned that everything is about to be deleted. Click through, and after a few seconds you will have completed the formatting process and your dual-format drive will be ready for use on Mac and Windows.</li>
</ol>
<p><strong>Caveats</strong><br />
As I said, so far this has been working really well for my class. You may still want to file it under &#8220;experimental&#8221; for the time being, at least until you&#8217;re sure it&#8217;s working safely. But I&#8217;m confident enough in this method to recommend it to my video students who also need some external Windows drive love.</p>
<p>It&#8217;s also important to keep in mind here that I am not endorsing using the NTFS partition for Mac data of any kind. Doing so is surely unsupported by Apple, and by all reports is <a href="http://www.macosxhints.com/article.php?story=20090913140023382" target="_blank">fraught with problems</a>.</p>
<p>The other thing to keep in mind is that, unlike with a GUID partition table, you will not be able to <a href="http://systemsboy.com/2007/10/leopard.html">resize or split partitions</a> without completely erasing the drive.</p>
<div id="attachment_2823" class="wp-caption aligncenter" style="width: 444px"><a href="http://systemsboy.com/wp-content/uploads/2009/10/partition-warning.png"><img class="size-full wp-image-2823" title="partition-warning" src="http://systemsboy.com/wp-content/uploads/2009/10/partition-warning.png" alt="Erases Everything" width="434" height="330" /></a><p class="wp-caption-text">Erases Everything</p></div>
<p><strong>Conclusion</strong><br />
Lastly, I realize that this process is hardly new, nor am I the first to discover it. It was pointed out to me by one of my video students, and I have a feeling the new admins at my old job have been using it for some time. But it&#8217;s new to me. This is the first I&#8217;ve heard of this and it&#8217;s exciting to me from an academic standpoint, in the context of my old job, in the context of my class, as a new option I can offer to whomever might need it, and as a symbol of progress — however small or kludgy — towards cross-platform filesystem solutions. This is just another of the very cool advances made possible by the existence of the MacFUSE (and the original Linux FUSE) effort. It&#8217;s very cool to see this sort of thing coming to fruition at last!</p>
<p>Another intriguing extension of the MacFUSE project — and one that I&#8217;ve used a bit myself — is <a href="http://www.macfusionapp.org/" target="_blank">MacFusion</a>, which allows for mounting of data over network protocols such as FTP and SSH. I&#8217;m sure there are tons of others. I highly recommend folks — particularly SysAdmins — check out and familiarize themselves with MacFUSE in general, as well. As much as has been done since <a href="http://systemsboy.com/2008/02/macfuse-follow-up.html">the last time I looked at it</a>, there is still a ton of future potential in the project, and I see it increasingly becoming a part of the admin&#8217;s toolbox.</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/10/create-a-dual-format-drive-for-mac-and-windows.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Archives</title>
		<link>http://systemsboy.com/2009/09/archives.html</link>
		<comments>http://systemsboy.com/2009/09/archives.html#comments</comments>
		<pubDate>Sun, 20 Sep 2009 14:00:37 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=2507</guid>
		<description><![CDATA[Let&#8217;s face it, my data is everywhere. I have drives all over the place for various and sundry purposes. Some are full. Some aren&#8217;t. I also have a folder for things I plan on trashing eventually, when I need to reclaim some space, but want to keep around just in case, called TrashMe. And I [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s face it, my data is everywhere. I have drives all over the place for various and sundry purposes. Some are full. Some aren&#8217;t. I also have a folder for things I plan on trashing eventually, when I need to reclaim some space, but want to keep around just in case, called TrashMe. And I have a folder with items I plan on backing up some day called BurnMe. This name comes from the fact that traditionally I archived up my data to optical media: either DVDs, or, in the distant past, CDs, so I also have several containers full of optical media.</p>
<p>This isn&#8217;t working for me anymore.</p>
<p>Optical media is no fun to use for backups. It&#8217;s slow, requires keeping a stock of media on hand, and it&#8217;s often undersized for today&#8217;s hefty data needs. For instance, backing up my current BurnMe folder will require about fourteen DVD-R discs. Burning and verifying those DVDs will take as many if not more hours. And then it will all need to be cataloged somehow, which is also a lengthy process. Finally, retrieval is almost as slow and tedious: find the disc you need in the catalog, get it from storage, load the disc up and copy the data back to the computer, which can also take quite some time. And if, heaven help you, there&#8217;s one tiny scratch on that disc you could lose all that data.</p>
<p>So I&#8217;m switching to a better way: hard drives.</p>
<div id="attachment_2526" class="wp-caption aligncenter" style="width: 154px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/1-machd.png"><img class="size-full wp-image-2526" title="1-machd" src="http://systemsboy.com/wp-content/uploads/2009/09/1-machd.png" alt="1-machd" width="144" height="164" /></a><p class="wp-caption-text"> </p></div>
<p>One of the best bangs for your buck per-gigabyte of storage is, of course, the hard drive. In addition to being cost-effective, they&#8217;re fast, they hold a lot of data, they&#8217;re read-write and extremely versatile. You can use them internally, depending on the drive and computer in question, of course. Or you can use them externally in any number of ways, the most obvious being in a <a href="http://owcomputing.com" target="_blank">firewire or USB case</a>. Using such a case allows for the attachment of the drive to just about any computer you can get your hands on. Drives don&#8217;t require much physical space, and because they&#8217;re so fast, they&#8217;re quick and easy to catalog and restore from. In fact, using hard drives as an archive solution entails little difference from accessing local storage. The hardest part is getting the drive off the shelf and getting it attached to your machine. But there are <a href="http://www.thermaltakeusa.com/Product.aspx?C=1346&amp;ID=1642" target="_blank">hardware solutions</a> to <a href="http://www.wiebetech.com/products/ComboDock.php" target="_blank">simplify that process</a> as well. Hard drives, which have largely remained the same since I began working in this business ten years ago, are more future-proof than optical media, which is constantly the subject of format wars and which is often subject to a raft of compatibility issues. Put another way: getting data off a hard drive in the next ten years is more likely to be supported by my current hardware than getting it from a DVD.</p>
<p>So, my plan, going forward, is to use hard drives to archive all non-essential data. I will continue to archive certain critical files to DVD in addition to the hard drive archive. But most of my stuff will be on hard drives. Things like bittorrent backups and movie files, old audio, video and web projects, images and what have you will stay on hard drives earmarked for the archive. Once one of those drives is full and I&#8217;m no longer using the data, I&#8217;ll burn anything critical — finished projects and their assets, for instance — to optical media, catalog the drive with <a href="http://www.cdfinder.de/" target="_blank">CD Finder</a> or similar software, and then put the drive in a <a href="http://www.hudzee.com/" target="_blank">Hudzee</a> and up on the shelf. Done and done!</p>
<p>This greatly speeds and simplifies my archive procedure. And, because of the increased space and time efficiency, I can archive a lot of data I would have thrown out in the past. I still have yet to work out the details of this system, but I think it will be a vast improvement over the old burn-and-catalog weekends of my not-so-distant past.</p>
<p>If anyone has thoughts on how best to archive data I&#8217;d love to hear them in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/09/archives.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Installing Firefox On the Mac</title>
		<link>http://systemsboy.com/2009/09/installing-firefox-on-the-mac.html</link>
		<comments>http://systemsboy.com/2009/09/installing-firefox-on-the-mac.html#comments</comments>
		<pubDate>Sat, 19 Sep 2009 00:38:05 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=2642</guid>
		<description><![CDATA[Alexander Limi, one of the developers of the fine — and my favorite — browser, Firefox, recently issued a challenge that has been heard by many: how to make application installation more sensible for the less technically advanced. What followed — and, to some extent preceded — was an explosion of discussion on the matter. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://limi.net/" target="_blank">Alexander Limi</a>, one of the developers of the fine — and my favorite — browser, Firefox, recently <a href="http://limi.net/articles/improving-the-mac-installer-for-firefox/" target="_blank">issued a challenge</a> that has been heard by many: how to make application installation more sensible for the less technically advanced. What <a href="http://daringfireball.net/2009/09/how_should_mac_apps_be_distributed" target="_blank">followed</a> — and, <a href="http://dubroy.com/blog/why-is-installing-software-on-a-mac-so-complicated/" target="_blank">to</a> <a href="http://ignorethecode.net/blog/2009/07/24/installing-applications-on-the-mac-still-broken/" target="_blank">some</a> <a href="http://ignorethecode.net/blog/2009/07/25/more-on-installing-applications/" target="_blank">extent</a> <a href="http://ignorethecode.net/blog/2009/09/18/even_more_on_installing_applications/" target="_blank">preceded</a> — was an explosion of discussion on the matter.</p>
<p>It really is somewhat amazing that the <a href="http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Introduction/Introduction.html" target="_blank">preferred method</a> for installing a good deal of Mac software — the so-called &#8220;Manual Install&#8221; — is one that&#8217;s liable to be confounding to so many users, particularly given that Apple has gone to such great lengths to simplify software installation. And I agree with much of what I&#8217;ve read on at least one point: The problem is the DMG.</p>
<blockquote><dl>
<dt>&#8220;They drag the application to their dock directly.</dt>
<dd><em>This creates a link to the file</em> inside <em>the disk image, which means that every time they try starting Firefox, the disk image is unpacked and mounted, and starting of Firefox becomes very slow, which makes it a bad experience.</em>&#8220;</dd>
</dl>
</blockquote>
<p>It&#8217;s true; I&#8217;ve seen very computer-savvy users constantly launch Firefox directly from a Dock icon that&#8217;s linked to the item on the disk image. And there are certainly many users to whom you&#8217;ll never be able to explain exactly what a disk image is, how it works or why it exists. Frankly, as useful as it is to geeks like you and me, it&#8217;s kind of a crazy concept for anyone who doesn&#8217;t care about these sorts of things. And I&#8217;m of a mind that most users don&#8217;t and shouldn&#8217;t.</p>
<p>That said, our options are limited when it comes to installing software. As Limi points out, most apps these days are actually folders (another conceit most users aren&#8217;t and shouldn&#8217;t be aware of), and so they must be installed from some sort of <a href="http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Containers/Containers.html#//apple_ref/doc/uid/10000145i-CH4-SW4" target="_blank">container</a>, particularly if they&#8217;re coming from the Internet. This can be either a ZIP file or, as is generally the way on the Mac, a DMG. Typically, Apple uses a DMG that contains an Installer package for distributing their own software, probably because their stuff is usually not simple drag-and-drop stuff. They&#8217;ve also created a special &#8220;<a href="http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Containers/Containers.html#//apple_ref/doc/uid/10000145i-CH4-DontLinkElementID_7" target="_blank">internet-enabled</a>&#8221; flag for DMGs that, when applied, will be recognized by Safari, which will proceed to open such DMGs and run any installers contained therein. This, at least, gives us a way to accomplish some of Limi&#8217;s stated goals for the Firefox installer:</p>
<ol>
<li><em>Start the Firefox download.</em></li>
<li><em>When the download is complete, the disk image will mount automatically (if they were using Safari), and the Firefox installer runs.</em></li>
<li><em>The install procedure continues similar to how it happens on Windows. </em></li>
<li><em>As the last step of the process, the installer lets you set Firefox as the default browser, and start the application immediately. We have seen users forget that they just installed Firefox if you don’t let them start it at the end of the process, and make that the default choice.</em></li>
</ol>
<p>Having <a href="http://systemsboy.com/category/netboot">some experience</a> with Mac OS X package creation, I decided to see if I could quickly whip something up that met these goals. I believe I have been successful. Here&#8217;s the installation procedure I&#8217;ve designed:</p>
<ol>
<li>The user downloads the Firefox Installer from Safari.
<p><div id="attachment_2646" class="wp-caption aligncenter" style="width: 483px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/1-safari-download.png"><img class="size-full wp-image-2646" title="1-safari-download" src="http://systemsboy.com/wp-content/uploads/2009/09/1-safari-download.png" alt=" " width="473" height="353" /></a><p class="wp-caption-text"> </p></div></li>
<li>Safari Opens the DMG and runs the Installer.
<p><div id="attachment_2647" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/2-ff-install-01.png"><img class="size-medium wp-image-2647" title="2-ff-install-01" src="http://systemsboy.com/wp-content/uploads/2009/09/2-ff-install-01-530x394.png" alt=" " width="530" height="394" /></a><p class="wp-caption-text"> </p></div></li>
<li>The Installer uses a standard method by default, which requires a minimum of clicks, and installs Firefox in the default location, /Applications.
<p><div id="attachment_2675" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/3-ff-install-021.png"><img class="size-medium wp-image-2675" title="3-ff-install-02" src="http://systemsboy.com/wp-content/uploads/2009/09/3-ff-install-021-530x394.png" alt=" " width="530" height="394" /></a><p class="wp-caption-text"> </p></div></li>
<li>Upon pressing &#8220;Install,&#8221; the Installer requests authentication.
<p><div id="attachment_2649" class="wp-caption aligncenter" style="width: 526px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/4-ff-install-03.png"><img class="size-full wp-image-2649" title="4-ff-install-03" src="http://systemsboy.com/wp-content/uploads/2009/09/4-ff-install-03.png" alt=" " width="516" height="329" /></a><p class="wp-caption-text"> </p></div></li>
<li>Before proceeding, the Installer&#8217;s preflight routine quits Firefox if it is already running (this is not necessary, we do it as a precaution).
<p><div id="attachment_2651" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/5-ff-install-04.png"><img class="size-medium wp-image-2651" title="5-ff-install-04" src="http://systemsboy.com/wp-content/uploads/2009/09/5-ff-install-04-530x394.png" alt=" " width="530" height="394" /></a><p class="wp-caption-text"> </p></div></li>
<li>The Installer then proceeds with the installation of the app.
<p><div id="attachment_2652" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/6-ff-install-05.png"><img class="size-medium wp-image-2652" title="6-ff-install-05" src="http://systemsboy.com/wp-content/uploads/2009/09/6-ff-install-05-530x394.png" alt=" " width="530" height="394" /></a><p class="wp-caption-text"> </p></div></li>
<li>When it has finished it will open the containing folder and highlight Firefox.
<p><div id="attachment_2653" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/8-ff-install-07.png"><img class="size-medium wp-image-2653" title="8-ff-install-07" src="http://systemsboy.com/wp-content/uploads/2009/09/8-ff-install-07-530x381.png" alt=" " width="530" height="381" /></a><p class="wp-caption-text"> </p></div></li>
<li>And then it will launch the app. If this is the first launch, Firefox will ask the user if she wants to set Firefox as the default.
<p><div id="attachment_2655" class="wp-caption aligncenter" style="width: 500px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/8.6-ff-install-7.6.png"><img class="size-full wp-image-2655" title="8.6-ff-install-7.6" src="http://systemsboy.com/wp-content/uploads/2009/09/8.6-ff-install-7.6.png" alt=" " width="490" height="148" /></a><p class="wp-caption-text"> </p></div></li>
</ol>
<p>This is the basic install procedure, but some more advanced users will, of course, want to customize the install location of the app. To that end, the installer I&#8217;ve built also contains a &#8220;Customize&#8221; option.</p>
<div id="attachment_2656" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/9-ff-install-08.png"><img class="size-medium wp-image-2656" title="9-ff-install-08" src="http://systemsboy.com/wp-content/uploads/2009/09/9-ff-install-08-530x394.png" alt=" " width="530" height="394" /></a><p class="wp-caption-text"> </p></div>
<p>Clicking this will allow the user to customize the install location of the app by selecting &#8220;Other&#8221; from the Location pull-down.</p>
<div id="attachment_2657" class="wp-caption aligncenter" style="width: 172px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/10-ff-install-09.png"><img class="size-full wp-image-2657" title="10-ff-install-09" src="http://systemsboy.com/wp-content/uploads/2009/09/10-ff-install-09.png" alt=" " width="162" height="112" /></a><p class="wp-caption-text"> </p></div>
<p>And then choosing the location from the resulting menu.</p>
<div id="attachment_2658" class="wp-caption aligncenter" style="width: 540px"><a href="http://systemsboy.com/wp-content/uploads/2009/09/11-ff-install-10.png"><img class="size-medium wp-image-2658" title="11-ff-install-10" src="http://systemsboy.com/wp-content/uploads/2009/09/11-ff-install-10-530x389.png" alt=" " width="530" height="389" /></a><p class="wp-caption-text"> </p></div>
<p>I believe this method offers the best of all possible worlds given the current state of off-the-shelf installation options for Mac OS X. It offers some level of customization for advanced users, while still offering a guided experience for less Mac- or tech-savvy users. And I believe it fulfills most or all of Limi&#8217;s stated goals for a Firefox installer. There are even numerous things we can do to further customize this guided experience — things like adding graphics and explanatory text, or running additional pre- and post-flight scripts to perform certain behaviors.</p>
<p>And this will work great for most folks who use Safari as well. But for anything beyond this particular scenario — i.e., anyone trying to install apps from browsers other than Safari, which would be anyone who uses the above method, i.e. Firefox users as well as users of any other browsers — we still have a problem. That problem is DMG behavior. The DMG, despite being immensely useful and a perfectly good application and installer container, once downloaded, is easily forgotten. It&#8217;s behavior and purpose are arcane to most users. They don&#8217;t know what to do with it and are confused by its presence. And it has nothing to do with anything normal users think of as &#8220;Software Installation.&#8221;</p>
<p>Some developers have <a href="http://www.mcubedsw.com/dev" target="_blank">rolled their own solutions</a> to some of these problems. But I think the answer really needs to come from Apple in the form of a unified, internet-savvy Installer format. Something that knows where it comes from and what it&#8217;s supposed to do, and once downloaded, just does it. Something that developers can all use for any kind of installation, even so-called &#8220;simple drag-and-drop.&#8221; Something that just works, dare I say, at least as well as it does on Windows. Preferably better.</p>
<p>Given the level of abstraction of so many concepts in modern operating systems — <em>applications are folders, disk images are files that can represent volumes, Soylent Green is People</em> — I think drag-and-drop installers are bound to be confusing to many users. The guided experience, while a bit of a bummer for very advanced users, should be the preferred method. And I think the best candidate for improving upon that method is ultimately Apple.</p>
<p>One thing that would help the situation immensely, though, is if browser developers made their apps internet-enabled-DMG-aware, like Safari is. This goes a long way towards mitigating the confusion wrought by the ever-confusing, yet — at least at this point in the game — fairly necessary DMG.</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/09/installing-firefox-on-the-mac.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drives Die</title>
		<link>http://systemsboy.com/2009/06/drives-die.html</link>
		<comments>http://systemsboy.com/2009/06/drives-die.html#comments</comments>
		<pubDate>Mon, 29 Jun 2009 14:00:48 +0000</pubDate>
		<dc:creator>systemsboy</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[NIX]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://systemsboy.com/?p=1853</guid>
		<description><![CDATA[So we had yet another calamity in the Systems Boy household last week: A hard drive failure in a four year old, 15&#8243; PowerBook. Oddly, a workmate had the exact same thing happen to him within days of our catastrophe. In fact, there&#8217;s been all manner of hardware failure in recent days. I know that [...]]]></description>
			<content:encoded><![CDATA[<p>So we had yet another <a href="http://systemsboy.com/2009/05/finder-burn-folders-data-loss-and-recovery.html" target="_self">calamity</a> in the Systems Boy household last week: A <a href="http://en.wikipedia.org/wiki/Hard_disk_failure" target="_blank">hard drive failure</a> in a four year old, <a href="http://www.everymac.com/systems/apple/powerbook_g4/stats/powerbook_g4_1.67_15.html" target="_blank">15&#8243; PowerBook</a>. Oddly, a workmate had the exact same thing happen to him within days of our catastrophe. In fact, there&#8217;s been all manner of hardware failure in recent days. I know that drives are prone to dying after a number of years, but geez! It sure seems like lately there&#8217;s been a steady shit stream aimed squarely at the tech fan. Makes me ponder the more cosmic aspect of this biz.</p>
<p><em>[Gazes dreamily off into space for a moment. Then abruptly snaps to.]</em></p>
<p>The trigger for this failure, ironically, was our attempt to make a backup. (Oh, technology gods, thou art a riot!) See, our original goal was to update the OS to Leopard, but with all the <a href="http://systemsboy.com/2009/05/more-data-recovery.html" target="_self">craziness</a> going on these days we decided to <a href="http://systemsboy.com/2006/02/scripts-part-4-cloning-%E2%80%94-whats-the-big-deal.html" target="_self">clone</a> the drive before we proceeded with said update. But in the course of cloning, it would appear in retrospect, we hit a bad block and triggered the first of what would be many, many disk errors. Unable to pull a backup, we began our descent into drive repair hell in our latest heroic attempt to salvage that ever-important thing contained on and lost from drives: the data.</p>
<p><strong>File-Level Attempts</strong><br />
Our first try was with <a href="http://en.wikipedia.org/wiki/Disk_Utility" target="_blank">Disk Utility</a>, which consistently reported, in all red text, that it could neither verify nor repair the file system. Right. On to attempt number two.</p>
<p><a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.alsoft.com%2FDiskWarrior%2Findex.html&amp;ei=BKg2SqPELIa0sgP10uS2Bw&amp;usg=AFQjCNERX-bu4ennrC_psGf5yQ_gVBxQaA&amp;sig2=Xfgf2g9elzuPJ3zoST-CDw" target="_blank">Disk Warrior</a> is my go-to utility for any sort of file system damage that Disk Utility is unable to repair. I&#8217;ve rarely seen a disk that one of these two apps couldn&#8217;t fix. Today would be one of those rare days. After mounting the drive on a known good system using Target Disk Mode, we let Disk Warrior perform its initial scan of the drive. What we found was decidedly ugly. Disk Warrior told us that it was unable to replace the borked directory with its shiny new, replacement directory because of a &#8220;disk malfunction.&#8221;</p>
<p>That&#8217;s when we knew the drive was fried.</p>
<div id="attachment_1902" class="wp-caption aligncenter" style="width: 335px"><a href="http://systemsboy.com/wp-content/uploads/2009/06/disk-warrior-report.png"><img class="size-medium wp-image-1902" title="disk-warrior-report" src="http://systemsboy.com/wp-content/uploads/2009/06/disk-warrior-report-325x530.png" alt="Disk Warrior Report: Bad News" width="325" height="530" /></a><p class="wp-caption-text">Disk Warrior Report: Bad News</p></div>
<p>When a hard drive has problems, 99% of the time those problems are <a href="http://www.alsoft.com/DiskWarrior/details4.html" target="_blank">directory</a> related. That is, the hard drive contains data about the files on disk — where they belong, how many there are, how the disk is partitioned and so on. And usually, when there is a problem with a drive, it is because this information has been corrupted somehow. These days there are numerous utilities that can easily and accurately repair these sorts of problems, Apple&#8217;s included Disk Utility among them. Sometimes the damage is too extensive, though, so we turn to something a bit more drastic, like Disk Warrior. Disk Warrior forgoes the repair, and instead scans the disk and creates a brand-spankin&#8217; new directory, replacing the broken one with its new one once you&#8217;ve made sure everything is cool, and perhaps made a backup. Now, when Disk Warrior is unable to do this it&#8217;s indicative of a much more serious problem. When this happens it is very likely that the drive hardware is beginning to fail.</p>
<p>Time for a new drive.</p>
<p>What Disk Warrior does in these instances is it shows you the best picture it can muster of the drive&#8217;s contents in a read-only preview, and then advises you to backup as much as you can before total failure. So that&#8217;s what we did. You&#8217;re never sure how much time you have in these situations, so we went through folder by folder trying to locate and backup the most important files first. With each successive copy the drive became slower and slower. Luckily, we were able to pull the most recent, most important files. Most everything else was backed up or able to be easily reconstructed.</p>
<p><strong>Block-Level Attempts</strong><br />
Once we had gotten the most important stuff we decided to see what else we could get. I tried running some <code>rsync</code> commands and got some stuff that way, but not much, and it was taking forever. Once I&#8217;d given up trying things at the file level, I decided to make my last ditch effort with a well-worn but powerful little UNIX command called, simply, <code>dd</code>. (No, it does not stand for &#8220;Drives Die,&#8221; though maybe it should.)</p>
<p><a href="http://en.wikipedia.org/wiki/Dd_%28Unix%29" target="_blank">The <code>dd</code> command</a> reads data from a disk at the block level and copies it from standard input to standard output which can then be written to a file of your choosing. I use <code>dd</code> by running it on the <code>/dev</code> entry of the drive in question and writing the output to a disk image file (DMG):</p>
<div style="border: 1px solid #999999; overflow: auto; width: 100%; height: auto;">
<pre><code><span style="font-size:100%;">sudo dd bs=512 if=/dev/disk3s3 of=/Volumes/Work/LastDitch-DD-01.dmg conv=noerror,sync</span></code></pre>
</div>
<p>The good thing about dd is that you can instruct it to skip damaged sections of the disk. That&#8217;s what the &#8220;<code>noerror</code>&#8221; option is for. The downside to <code>dd</code> is that it wants to read the entire disk, and that makes it very slow. In this instance I was not able to rescue any data, mainly because, as I soon discovered from my <code>dd</code> runs, the disk was just too far gone. I did learn some <a href="http://www.crazytrain.com/dd.html" target="_blank">interesting strategies</a> for using <code>dd</code> to recover data though.</p>
<p>The first thing you can try if <code>dd</code> is running slowly is to increase the block size. This is how much data <code>dd</code> will consider before moving to the next read. The default is 512 bytes. I&#8217;ve read upping that to 51200 will sometimes yield speedier results:</p>
<div style="border: 1px solid #999999; overflow: auto; width: 100%; height: auto;">
<pre><code><span style="font-size:100%;">sudo dd bs=51200 if=/dev/disk3s3 of=/Volumes/Work/LastDitch-DD-02.dmg conv=noerror,sync</span></code></pre>
</div>
<p>In my case it did not, primarily, I believe, because there was a problem in the beginning of the drive, and <code>dd</code> was having trouble moving past that spot. So another thing you can tell <code>dd</code> to do is to skip a certain portion of the drive, say the first 2 GBs:</p>
<div style="border: 1px solid #999999; overflow: auto; width: 100%; height: auto;">
<pre><code><span style="font-size:100%;">sudo dd bs=51200 if=/dev/disk3s3 skip=2000000 of=/Volumes/Work/LastDitch-DD-03.dmg conv=noerror,sync</span></code></pre>
</div>
<p>Finally, you can also tell <code>dd</code> to only write in 1 GB chunks, using the <code>count</code> option:</p>
<div style="border: 1px solid #999999; overflow: auto; width: 100%; height: auto;">
<pre><code><span style="font-size:100%;">sudo dd bs=51200 if=/dev/disk3s3 count=1000000 skip=2000000 of=/Volumes/Work/LastDitch-DD-03.dmg conv=noerror,sync</span></code></pre>
</div>
<p>I was getting some good results after having skipped the first 2 GBs — apparently they were really damaged — so I decided to write a script that would skip the first 2 GBs and then begin writing out 1 GB chunks of data. It would&#8217;ve looked something like this:</p>
<div style="border: 1px solid #999999; overflow: auto; width: 100%; height: auto;">
<pre><code><span style="font-size:100%;">sudo dd bs=51200 if=/dev/disk3s3 count=1000000 skip=2000000 of=/Volumes/Work/LastDitch-DD-Chunck-01.dmg conv=noerror,sync
sudo dd bs=51200 if=/dev/disk3s3 count=1000000 skip=3000000 of=/Volumes/Work/LastDitch-DD-Chunck-02.dmg conv=noerror,sync
sudo dd bs=51200 if=/dev/disk3s3 count=1000000 skip=4000000 of=/Volumes/Work/LastDitch-DD-Chunck-03.dmg conv=noerror,sync
...</span></code></pre>
</div>
<p>Etc, etc, up to the 40 GBs needed to scour the drive. I never got to write the script, though, because the last <code>dd</code> command seized up and the drive began making the clicking, knocking and whirring sounds of its agonized and tortured death. It was quickly dying. We could do no more.</p>
<p>At this point, mainly for my own edification, I decided to see what could be done outside the confines of my home office. I decided to get a quote from Drive Savers.</p>
<p><strong>Hardware-Level Attempt</strong><br />
<a href="http://www.drivesaversdatarecovery.com/" target="_blank">Drive Savers</a>, perhaps wisely, does not list prices for their services on their website. To get an estimate you have to give them a call. When I called them I was greeted by a very friendly and helpful service person — yes, <em>person</em> — which was really nice. The last thing you want to deal with when you&#8217;re having a mechanical failure is a machine. The person on the other end of the line asked me a few basic questions to gauge what state the drive was currently in, things like what attempts I had made to rescue the data, would the drive mount, and the like. After entering this info into her systems she directed me the &#8220;<a href="http://www.drivesaversdatarecovery.com/company-info/recovery-tips/" target="_blank">Tips, Techniques and Solutions</a>&#8221; page on their website (very useful — love the drive sound audio samples), stressing above all that in order to have the best chance of recovery at this point the drive should not be powered on again. She also offered up some information about the company and what they do: For one, they started with Mac data recovery and are an all-Mac shop, which surprised me a little. She also pointed me to information on the Drive Savers <a href="http://www.drivesaversdatarecovery.com/certification/clean-recovery/" target="_blank">clean room</a>, a vital part of data recovery at the hardware level. She then took my email and contact info and gave me both a written and verbal estimate of how much I could expect to spend should I decide to go ahead and have Drive Savers attempt to save my data (I don&#8217;t think they&#8217;ll actually save the drive). All in all it was a very pleasant and informative experience. Normally I am loathe to use the phone for business, but Drive Savers really seems to know what they&#8217;re doing, at least when it comes to pre-sales customer service, and that counts for a lot in my book.</p>
<p>This is, of course, all prep for the fact that, if you do want to make the attempt at data recovery, you&#8217;ll be expected to drop a significant amount of money. This is hardly surprising. Those clean rooms don&#8217;t look particularly cheap to build or maintain. And if data recovery at the hardware level is anything like it is at the software level, it is a laborious and time consuming process. I was given a range of prices ($500-$2700 dollars) and told that the cheapest I could expect to get away with — the economy plan, which isn&#8217;t as fast as some of the other, more expensive plans — was $500 dollars. But it was likely I&#8217;d pay somewhere closer to the upper third of the range, more like $1500 to $2000 dollars. It all depended, of course, on how much data Drive Savers could recover.</p>
<p>I didn&#8217;t really find these prices particularly surprising. I&#8217;d long heard how much such a recovery could cost. That it would be pricey. I was glad that I was not in a situation that required me to fork out this amount of money. I&#8217;m glad such a service exists for the odd catastrophe, though I hope never to have to use it. Drive Savers&#8217; website offers advice on keeping backups:</p>
<blockquote><p><em>&#8220;<strong>Backup strategies:</strong><br />
* Invest in redundant backup systems<br />
* Establish a structured backup procedure to make copies of all critical data files, using software compatible with the operating system and applications<br />
* Periodically test the backups to verify that data, especially databases and other critical files, are being backed up properly<br />
* Keep at least one verified copy of critical data offsite&#8221;</em></p></blockquote>
<p>Sage advice, all. Take it from those who know all too well.</p>
<p><strong>The Belly of the Beast</strong><br />
Once we&#8217;d decided not to use a hardware data recovery service the only thing left to do was spec out, buy and install a new hard drive. This wasn&#8217;t terribly difficult, but as is so often the case, there was the odd snag or two.</p>
<p>Before we even bought a drive, I wanted to see how hard it would be to open the PowerBook for servicing. If it was going to be a bear — and some PowerBooks are certainly easier to crack than others — I&#8217;d let the fine technicians at Tekserve do the job. So I went in search of manuals and instructions for this particular model of PowerBook. Without too much trouble I was able to locate, at Apple&#8217;s site, the manual for our <a href="http://manuals.info.apple.com/en_US/PowerBookG4_15inch1.67-1.5GHzUserGuide.pdf" target="_blank">1.67 MHz, 15&#8243; Aluminum PowerBook</a>. It contained no instructions for hard drive replacement, which is generally a sign that Apple would rather you not attempt the repair yourself. That got me a little worried.</p>
<p>Finally, however, I found instructions — <a href="http://www.ifixit.com/Guide/Device/PowerBook_G4_Aluminum_15%22_1.67_GHz" target="_blank">great instructions</a>, no less — at the venerable — awesome, actually <a href="http://www.ifixit.com/" target="_blank">iFixit.com</a>. iFixit, for those of you who don&#8217;t know, provides step-by-step, illustrated guides on taking apart and performing repairs on Apple hardware. For free. They&#8217;re amazing. I feel guilty not buying anything from their site. Oh yeah, they also sell parts, tools and service as well. I love them. And from what I could see, the repair would be tedious — lots of screws — and would require a trip to the hardware store — blasted tiny hex screws! — but it would be doable. Still, taking things one step at a time, I thought I&#8217;d perform the teardown before buying the drive. Just in case.</p>
<p>And perform I did. Using iFixit&#8217;s excellent guide, I was able to crack the PowerBook in short order. I was ready to buy a drive.</p>
<p><strong>Buying a Drive</strong><br />
There are two things SysAdmins typically are, particularly when it comes to technology: cheap and lazy. Hunting for a replacement drive brought both of these qualities in my personality to bear. I was looking for the cheapest replacement I could find, at the location closest to my house, a SysAdmin&#8217;s dream hunt. The closest proper computer tech shop to me is <a href="http://tekserve.com" target="_blank">Tekserve</a>, with <a href="http://bestbuy.com" target="_blank">Best Buy</a> a close second. Tekserve doesn&#8217;t list what bare drives they carry, if any. But Best Buy seems to have the goods. But Best Buy is still a good half hour train ride, so I did some physical recon at my nearest Radio Shack, which happens to be right around the corner. They informed me that, though they did not have any bare drives in stock, they did have portable USB drive on sale. Drives from which I could pull and the internal component and install it in the now drive-less PowerBook. In fact, they had a 160 GB <a href="http://go.iomega.com/en-us/products/external-hard-drive-portable/prestige-portable-series/prestige/" target="_blank">Iomega Prestige</a> for less than a bare drive would have run me at Best Buy — a mere $75 clams post-sales-tax. Not bad. I took it.</p>
<p>I&#8217;d like to pause here and see if anyone can guess why this didn&#8217;t work out for me. You have pretty much all the data you need in this article to figure it out. But don&#8217;t feel bad if you can&#8217;t. The good lord knows I surely didn&#8217;t. I&#8217;ll wait a minute&#8230; Pretend there&#8217;s Jeopardy countdown music playing&#8230; Aaand&#8230;</p>
<p>Okay. Did you guess it?</p>
<p>I got the drive home, popped it out of its case and went to put it in the open PowerBook. But it didn&#8217;t fit. (Have you guessed it yet?) Here&#8217;s the thing: PowerBooks use 2.5&#8243; <em>ATA</em> drives (Parallel ATA, or PATA), but drives in today&#8217;s externals are all now <em>SATA</em> (Serial ATA) drives. Blast!</p>
<p>Oh well. At least it was cheap.</p>
<p>Another quick look at the web revealed that all the bare drives at Best Buy were SATA as well. Blast again!</p>
<p>The nearest <a href="http://www.jr.com/western-digital/pe/WD_WD1600BEVSRT/" target="_blank">ATA drive</a> I could find was at <a href="http://www.jr.com/">J&amp;R</a>, which is all the way downtown, almost at the very tippy-tip of Manhattan — far. So that&#8217;s where we went.</p>
<p>Once we got back, we installed the drive and — the very first thing to go right all day — it worked. Perfectly. Things were finally looking up.</p>
<p>Once we had installed the drive it was simply a matter of formatting it, installing the latest version of Leopard (which is all we ever wanted to do in the first place) and copying over the rescued and reconstructed data. Oh, did I mention that the reason the client wanted Leopard was for Time Machine? Yup. Backups. Great timing. So we set up Time Machine as well. All that went exceedingly smoothly and our repair is, at last, complete. Whew! What an ordeal!</p>
<p>But, man, did I ever learn a lot.</p>
<p><strong>The Life and Death of Hard Drives</strong><br />
So yes, drives die. How they die, though, is almost as important as how they lived, and certainly as interesting. It&#8217;s somewhat comforting to know that this drive, while quite dead indeed, did not die in vain. Rarely have I had the opportunity to learn so much about practical drive recovery. I have that PowerBook drive — specifically its death, in fact — to thank for my lesson.</p>
]]></content:encoded>
			<wfw:commentRss>http://systemsboy.com/2009/06/drives-die.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/47 queries in 0.056 seconds using disk: basic
Object Caching 568/658 objects using disk: basic

Served from: systemsboy.com @ 2012-02-04 16:29:14 -->
