<?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>Jonathan Brown &#187; technology</title>
	<atom:link href="http://jonathanbrown.me/category/code/technology/feed" rel="self" type="application/rss+xml" />
	<link>http://jonathanbrown.me</link>
	<description>Code. Culture. Crap.</description>
	<lastBuildDate>Sun, 27 Jun 2010 03:25:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apple&#8217;s War on Tech Specs</title>
		<link>http://jonathanbrown.me/apples-war-on-tech-specs</link>
		<comments>http://jonathanbrown.me/apples-war-on-tech-specs#comments</comments>
		<pubDate>Tue, 08 Jun 2010 17:58:03 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[business]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=3358</guid>
		<description><![CDATA[I&#8217;ve been meaning to jot down my thoughts on Apple&#8217;s continued assault on technical specifications.  There was a time where people really cared about *HZ (Hz, MHz, GHz, whatever) and RAM and cache size and blah blah.  Because computers used to suck.  Now they don&#8217;t.  Apple knows that we&#8217;re reaching a point of computing where [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/apple-vs-adobe-or-thoughts-on-section-3-3-1' rel='bookmark' title='Permanent Link: Apple vs. Adobe (or Thoughts on Section 3.3.1)'>Apple vs. Adobe (or Thoughts on Section 3.3.1)</a></li>
<li><a href='http://jonathanbrown.me/apple-crams-widgets-down-our-throats-because-of-the-iphone' rel='bookmark' title='Permanent Link: Apple Crams Widgets Down Our Throats Because of the iPhone'>Apple Crams Widgets Down Our Throats Because of the iPhone</a></li>
<li><a href='http://jonathanbrown.me/big-3-us-automakers-must-contract1' rel='bookmark' title='Permanent Link: Big 3 U.S. Automakers Must Contract'>Big 3 U.S. Automakers Must Contract</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been meaning to jot down my thoughts on Apple&#8217;s continued assault on technical specifications.  There was a time where people really cared about *HZ (Hz, MHz, GHz, whatever) and RAM and cache size and blah blah.  Because computers used to suck.  Now they don&#8217;t.  Apple knows that we&#8217;re reaching a point of computing where we are seeing nominal differences as technical specifications go up (or down, depending on what&#8217;s better).  Until the next major commercial breakthrough in processing (maybe quantum computing?) there doesn&#8217;t appear to be a reason to continue publishing these statistics when trying to sell a computer, phone, etc.  Apple doesn&#8217;t bother.  They sell you the experience.  What you can expect to get in return for using an Apple computer or cell phone.</p>
<p>I could go on, but I think <a title="smarterware.org" href="http://smarterware.org">Gina Trapani</a> eloquently summed up my thoughts <a title="Smarterware.org" href="http://smarterware.org/6190/lessons-from-apple-on-advertising-and-aesthetics">in just a few sentences</a>.</p>
<blockquote><p>That&#8217;s the thing about Apple marketing. They don&#8217;t talk about how many gigabytes of memory or how many CPU cycles or how many apps (much). They aim for your heart, and show you how technology can make your life better during its most important moments.</p></blockquote>
<p>There you have it.  Apple versus the rest of the computer, mobile handset, software world in a couple of sentences.  Selling the why not the how or what.</p>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/apple-vs-adobe-or-thoughts-on-section-3-3-1' rel='bookmark' title='Permanent Link: Apple vs. Adobe (or Thoughts on Section 3.3.1)'>Apple vs. Adobe (or Thoughts on Section 3.3.1)</a></li>
<li><a href='http://jonathanbrown.me/apple-crams-widgets-down-our-throats-because-of-the-iphone' rel='bookmark' title='Permanent Link: Apple Crams Widgets Down Our Throats Because of the iPhone'>Apple Crams Widgets Down Our Throats Because of the iPhone</a></li>
<li><a href='http://jonathanbrown.me/big-3-us-automakers-must-contract1' rel='bookmark' title='Permanent Link: Big 3 U.S. Automakers Must Contract'>Big 3 U.S. Automakers Must Contract</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/apples-war-on-tech-specs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple vs. Adobe (or Thoughts on Section 3.3.1)</title>
		<link>http://jonathanbrown.me/apple-vs-adobe-or-thoughts-on-section-3-3-1</link>
		<comments>http://jonathanbrown.me/apple-vs-adobe-or-thoughts-on-section-3-3-1#comments</comments>
		<pubDate>Fri, 30 Apr 2010 16:07:51 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=3247</guid>
		<description><![CDATA[This post started life as a voice memo on April 13th, a few days after Apple announced the iPhone 4 OS and unleashed the much bandied about section 3.3.1 (&#8220;no 3rd party development platforms&#8221;) rule in the new iPhone SDK Agreement.  Since Steve Jobs himself decided to weigh in on this point, I figured it [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/apple-crams-widgets-down-our-throats-because-of-the-iphone' rel='bookmark' title='Permanent Link: Apple Crams Widgets Down Our Throats Because of the iPhone'>Apple Crams Widgets Down Our Throats Because of the iPhone</a></li>
<li><a href='http://jonathanbrown.me/more-iphone-thoughts' rel='bookmark' title='Permanent Link: More iPhone Thoughts'>More iPhone Thoughts</a></li>
<li><a href='http://jonathanbrown.me/thank-you-billy-hollis' rel='bookmark' title='Permanent Link: Thank You, Billy Hollis'>Thank You, Billy Hollis</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This post started life as a voice memo on April 13th, a few days after Apple announced the iPhone 4 OS and unleashed the much bandied about section 3.3.1 (&#8220;no 3rd party development platforms&#8221;) rule in the new iPhone SDK Agreement.  Since <a title="Steve Jobs' Thoughts on Flash" href="http://www.apple.com/hotnews/thoughts-on-flash/">Steve Jobs himself decided to weigh in on this point</a>, I figured it was time to revisit my original voice memo to see if I was somewhat correct in what Apple was thinking.  So here it is cleaned up and sensible for screen.</p>
<blockquote><p>I don&#8217;t believe Apple&#8217;s decision to ban 3rd party developer platforms on the iPhone OS is about a <a title="Daring Fireball -- Why Apple Changed Section 3.3.1" href="http://daringfireball.net/2010/04/why_apple_changed_section_331">lock-in advantage to the device or the App Store as many have written</a>.  It&#8217;s about where Apple wants to take the iPhone OS as a platform.  Apple wants to avoid a middle-tier between the OS and the developer that may stifle the platform.  If Apple allowed 3rd party development platforms, there&#8217;s every indication that the 3rd party platform will hold the developers hostage when Apple decides to introduce new APIs or deprecate older APIs.</p>
<p>Imagine getting an iPhone OS update and suddenly half of your applications no longer work.  We experience this every so often on the desktop.  And it sucks, doesn&#8217;t it?  Now imagine it on your phone.  How annoying would it be to hunt down fixes for every little application on your phone because the makers of 3rd party developer tools didn&#8217;t react fast enough to the latest OS upgrade and the developers themselves became trapped by their development environment, unable to respond to user complaints?</p>
<p>It would be a horrendous experience for users.  Apple uses that excuse a lot, but I happen to believe it in most cases.  However, it would actually hurt developers more than users.  People would think twice about buying an application that may be susceptible to suddenly not working because of an OS upgrade.  I don&#8217;t want to have to look to see what language or platform an application was developed in prior to purchasing.</p>
<p>Microsoft fell into that trap and because of it, the burden is on MS to be backwards compatible; down to the level of replicating old bugs so older software doesn&#8217;t break.  Microsoft innovation is stifled because of decisions made in the 80&#8217;s about their application development.  I&#8217;m not arguing it wasn&#8217;t a good business decision.  The developers made MS who they are today.  But with all that cash, MS hasn&#8217;t innovated anything that&#8217;s captured the mainstream mindshare.  Sure, they do neat things with some of their enterprise offerings or side gigs like <a title="PhotoSynth.net" href="http://photosynth.net/">PhotoSynth</a>, but let&#8217;s be real; these days the best the mainstream receives from Microsoft is another version of Windows or Office.  Bing? Eh.  Apple wants to avoid being Microsoft.</p>
<p>The bottom line is Apple wants to innovate.  They want to continue to move the stick forward. They want to continue to change the game.  They want to continue to roll out new computing paradigms.  They can&#8217;t be hindered or tied down by legacy.</p></blockquote>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/apple-crams-widgets-down-our-throats-because-of-the-iphone' rel='bookmark' title='Permanent Link: Apple Crams Widgets Down Our Throats Because of the iPhone'>Apple Crams Widgets Down Our Throats Because of the iPhone</a></li>
<li><a href='http://jonathanbrown.me/more-iphone-thoughts' rel='bookmark' title='Permanent Link: More iPhone Thoughts'>More iPhone Thoughts</a></li>
<li><a href='http://jonathanbrown.me/thank-you-billy-hollis' rel='bookmark' title='Permanent Link: Thank You, Billy Hollis'>Thank You, Billy Hollis</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/apple-vs-adobe-or-thoughts-on-section-3-3-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad Thoughts</title>
		<link>http://jonathanbrown.me/ipad-thoughts</link>
		<comments>http://jonathanbrown.me/ipad-thoughts#comments</comments>
		<pubDate>Wed, 07 Apr 2010 15:55:46 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[outliers]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/ipad-thoughts</guid>
		<description><![CDATA[Yes, I got an iPad.  No, I didn&#8217;t sleep out in front of an Apple store.  No, I didn&#8217;t wait in line for hours.  No, I didn&#8217;t plan on buying the wi-fi version on release weekend, but the videos and early reviews were too hard to ignore for someone like me.
Everyone has [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/apple-vs-adobe-or-thoughts-on-section-3-3-1' rel='bookmark' title='Permanent Link: Apple vs. Adobe (or Thoughts on Section 3.3.1)'>Apple vs. Adobe (or Thoughts on Section 3.3.1)</a></li>
<li><a href='http://jonathanbrown.me/apples-war-on-tech-specs' rel='bookmark' title='Permanent Link: Apple&#8217;s War on Tech Specs'>Apple&#8217;s War on Tech Specs</a></li>
<li><a href='http://jonathanbrown.me/thoughts-on-obama1' rel='bookmark' title='Permanent Link: Thoughts on Obama'>Thoughts on Obama</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yes, I got an iPad.  No, I didn&#8217;t sleep out in front of an Apple store.  No, I didn&#8217;t wait in line for hours.  No, I didn&#8217;t plan on buying the wi-fi version on release weekend, but the videos and early reviews were too hard to ignore for someone like me.</p>
<p>Everyone has chimed in on iPad; everyone has glorified or bashed it.  I&#8217;ve only read a few reviews where people seem to really get what&#8217;s going on here.  Last night I was reading Outliers by Malcolm Gladwell (a book I&#8217;ve been intending to read since it came out&#8211;and yes I was reading it on my iPad) and I came across this passage that I felt was exactly the computing paradigm shift that&#8217;s happening and how the iPad bashers sound:</p>
<blockquote><p>&#8220;If you&#8217;re too old in nineteen seventy-five, then you&#8217;d already have a job at IBM out of college, and once people started at IBM, they had a real hard time making the transition to the new world,&#8221; says Nathan Myhrvold, who was a top executive at Microsoft for many years.  &#8220;You had this multibillion-dollar company making mainframes, and if you were part of that, you&#8217;d think, Why screw around with these pathetic little computers?  That was the computer industry to those people, and it had nothing to do with this new revolution.  They were blinded by that being the only vision of computing.  They made a nice living.  It&#8217;s just that there was no opportunity to become a zillionaire and make an impact on the world.&#8221;</p></blockquote>
<p>I&#8217;ll post more thoughts on this new device when I find time (and that time thing is another post as well, I&#8217;ve been busy to say the least).</p>
<p>And yes, I wrote this post on WordPress for iPad.  And it was a lovely experience.</p>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/apple-vs-adobe-or-thoughts-on-section-3-3-1' rel='bookmark' title='Permanent Link: Apple vs. Adobe (or Thoughts on Section 3.3.1)'>Apple vs. Adobe (or Thoughts on Section 3.3.1)</a></li>
<li><a href='http://jonathanbrown.me/apples-war-on-tech-specs' rel='bookmark' title='Permanent Link: Apple&#8217;s War on Tech Specs'>Apple&#8217;s War on Tech Specs</a></li>
<li><a href='http://jonathanbrown.me/thoughts-on-obama1' rel='bookmark' title='Permanent Link: Thoughts on Obama'>Thoughts on Obama</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/ipad-thoughts/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backup and Archive SDHC Cards</title>
		<link>http://jonathanbrown.me/backup-and-archive-sdhc-cards</link>
		<comments>http://jonathanbrown.me/backup-and-archive-sdhc-cards#comments</comments>
		<pubDate>Sat, 12 Sep 2009 21:18:58 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[imovie]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[sdhc]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=3120</guid>
		<description><![CDATA[
Continuing with my backup and archiving strategy, one of my goals was to get a grip on the growing number of SDHC cards I use with my video cameras; mainly my Canon HF10.  I&#8217;ve been ordering about five 4GB cards every couple months.  Besides being small and easy to lose, they are difficult to label and [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/its-time-for-a-backup-strategy' rel='bookmark' title='Permanent Link: It&#8217;s Time for a Backup Strategy'>It&#8217;s Time for a Backup Strategy</a></li>
<li><a href='http://jonathanbrown.me/setup-time-machine-on-freenas' rel='bookmark' title='Permanent Link: Setup Time Machine on FreeNAS'>Setup Time Machine on FreeNAS</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-one' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 1: Introduction'>My FreeNAS Project Part 1: Introduction</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Backup and Archive SDHC" rel="lightbox[sdhc]" href="/wp-content/uploads/2009/09/Backup-and-Archive-SDHC.gif"><img class="aligncenter size-full wp-image-3123" title="Backup and Archive SDHC" src="/wp-content/uploads/2009/09/Backup-and-Archive-SDHC.gif" alt="Backup and Archive SDHC" width="618" height="243" /></a></p>
<p>Continuing with my backup and archiving strategy, one of my goals was to get a grip on the growing number of SDHC cards I use with my video cameras; mainly my Canon HF10.  I&#8217;ve been ordering about five 4GB cards every couple months.  Besides being small and easy to lose, they are difficult to label and therefore difficult to manage from an archiving perspective.</p>
<p>There are a few options to deal with this.  I could import the video from the cards into iMovie or Final Cut Express and reuse the cards, but there are a few disadvantages to doing this.  First, the imported AVCHD video files are huge compared to their natural compressed state on the SDHC card.  Second, you never know when you need to get the video back on the camera in its original form.  Another option is to use iMovie&#8217;s archive feature, which copies the contents of the card to a folder on your hard drive, but I found a better solution that provides many advantages.</p>
<p><span id="more-3120"></span></p>
<p>I theorized that I could create an image of the SDHC card so I did a quick Google search to see if someone was doing this already.  I found <a title="blog.scoopz.com" href="http://blog.scoopz.com/2008/10/13/backing-up-raw-avchd-video-from-sdhc-cards-to-disk-image/">this post on Scoopz Blog</a> which is exactly what I was looking to do.  The short story is, using Apple&#8217;s Disk Utility, I can make a disk image (DMG) of the SDHC card.  Here are a few advantages to this technique as opposed to iMovies archive feature:</p>
<ul>
<li>Manage single DMG file versus directory structure—I&#8217;m copying the resulting DMG file over to my NAS (running FreeNAS), then letting FreeNAS copy to an additional external FireWire drive using RSYNC.  With the intricacies and caveats of multiple file systems, fewer directory structures and increased control over file naming becomes really important in backup/archive strategies.</li>
<li>Mounting image acts like SDHC card or camera—When I choose to remount the DMG file, iMovie and Final Cut Express recognize the mounted drive as if I just plugged the camera into my Mac or inserted the SDHC card into a reader.</li>
<li>Copy DMG back to SDHC card—Scoopz gives a very good reason why this is important.  In his case, his camera records 5.1 sound; however, iMovie can&#8217;t handle all of those audio tracks and reduces to stereo.  Getting the raw data back on the camera improves options for future usage.  There&#8217;s no messing with formatting the SDHC card the way the camera expects as the DMG handles that by its nature.</li>
</ul>
<p>For a tutorial on how to make an image of your SDHC cards using Disk Utility, read <a title="blog.scoopz.com" href="http://blog.scoopz.com/2008/10/13/backing-up-raw-avchd-video-from-sdhc-cards-to-disk-image/">Scoopz post</a>.  As for naming the DMG files, I used a combination of camera, video format and a sequence number.  For example, canon_avchd_0001.dmg.</p>
<p>Now that I&#8217;m confident my raw video footage is being archived, I need to focus on labeling/logging the video in the event I need to find that one clip I want to use without resorting to mounting every DMG for browsing.  After researching a few tools to do this sort of thing, I decided that in the event I needed to recover this data, one less tool to install and configure the better.  And while I&#8217;m not 100% sold on the solution I came up with, I chose to do something now so I could proceed in archiving all of the SDHC cards on my desk rather than waiting for the perfect solution to present itself.</p>
<p>I decided to use a spreadsheet (something searchable) with a few columns:  REEL (the dmg file name), CAMERA, FORMAT, DATE, SUBJECT, KEYWORDS and CLIP THUMBNAILS.  I used iMovie&#8217;s import feature to grab screen shots of the clips for a visual reference.  I doubt this process will scale, but I&#8217;ll see how it goes.  Here&#8217;s an example of the spreadsheet I created using Numbers:</p>
<p style="text-align: center;"><a title="Video Log" rel="lightbox[sdhc]" href="/wp-content/uploads/2009/09/Screen-shot-2009-09-12-at-4.52.11-PM.png"><img class="aligncenter size-large wp-image-3122" title="Video Log" src="/wp-content/uploads/2009/09/Screen-shot-2009-09-12-at-4.52.11-PM-1024x86.png" alt="Video Log" width="655" height="55" /></a></p>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/its-time-for-a-backup-strategy' rel='bookmark' title='Permanent Link: It&#8217;s Time for a Backup Strategy'>It&#8217;s Time for a Backup Strategy</a></li>
<li><a href='http://jonathanbrown.me/setup-time-machine-on-freenas' rel='bookmark' title='Permanent Link: Setup Time Machine on FreeNAS'>Setup Time Machine on FreeNAS</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-one' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 1: Introduction'>My FreeNAS Project Part 1: Introduction</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/backup-and-archive-sdhc-cards/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Setup Time Machine on FreeNAS</title>
		<link>http://jonathanbrown.me/setup-time-machine-on-freenas</link>
		<comments>http://jonathanbrown.me/setup-time-machine-on-freenas#comments</comments>
		<pubDate>Sat, 05 Sep 2009 18:35:49 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[timemachine]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=3106</guid>
		<description><![CDATA[
Update 11/27/2009 — As HarryD notes in the comments, FreeNAS 0.7 (which was still in RC at time of this writing and did not contain this feature) allows a much easier way to setup Time Machine using AFP.  See his post here.  I&#8217;ve not tested this feature in 0.7 and currently using the approach as follows.
In [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-5-the-config' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 5: The Config'>My FreeNAS Project Part 5: The Config</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-4-the-install' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 4: The Install'>My FreeNAS Project Part 4: The Install</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 6: Final Build and Overview'>My FreeNAS Project Part 6: Final Build and Overview</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-3107 alignright" title="NAS - Time Machine on NAS" src="/wp-content/uploads/2009/09/Overview_TM.gif" alt="NAS - Time Machine on NAS" width="349" height="296" /></p>
<p><strong>Update 11/27/2009</strong> — As HarryD notes in the comments, FreeNAS 0.7 (which was still in RC at time of this writing and did not contain this feature) allows a much easier way to setup Time Machine using AFP.  See his post <a title="MacOSX Time Machine and FreeNas 0.7" href="http://harryd71.blogspot.com/2009/11/mac-osx-time-machine-and-freenas-07.html">here</a>.  I&#8217;ve not tested this feature in 0.7 and currently using the approach as follows.</p>
<p>In my overall strategy, Time Machine serves as a point-in-time backup and restore.  The use case here is I&#8217;m working on a project and realize I accidentally deleted an important file a few days ago.  Using Time Machine, I can go back and recover that file.  I&#8217;ve never attempted to do a full restore from Time Machine, and while I hear it works well, that&#8217;s not how I would do it.  If I have a catastrophic incident, I will treat it as a refresh point and rebuild my system from a new OS install and then reinstall all of my applications.  I find it to be a great way to do a spring cleaning of sorts—re-identifying the important tools in your workflow.</p>
<p>The first step is to carve out some space on the NAS.  After a lot of experimentation I determined the best file protocol to handle this was AFP (Apple File Protocol).  In FreeNAS, you can enable AFP from the Services-&gt;AFP menu.  Check the &#8220;Enable&#8221; box in the upper right of the screen.  I entered a server name (thenas-afp, to differentiate from the samba server), checked &#8220;Enable local user authentication&#8221; and checked &#8220;Disable AFP-over-Appletalk to prevent DDP connections&#8221;.</p>
<p><span id="more-3106"></span></p>
<p>I created a directory structure on the NAS to store Time Machine backups (/mnt/NAS01/Backup/Time Machine) and then a directory for my primary MacBook Pro, which is named jb15uni.  You can create directories via the File Manager (Advanced-&gt;File Manager).  Next I created an AFP share so my MacBook could access the NAS.  On the Services-&gt;AFP Shares tab, I added a new share with a name (TM for jb15uni), a comment and set the path to my jb15uni backup directory.  I left the other options as default.  I verified the share was working and I was able to write to the share.  If you use the File Manager to create directories, you may need to set proper permissions so your local user can write to the NAS.  To do this you can SSH into your FreeNAS and run some chown and chmod commands.</p>
<p>By default, Time Machine is not configured to use network shares as a destination for backups.  To enable it, you have to turn on a preference to tell Time Machine to show network volumes.  To do this, run Terminal and enter the following command:</p>
<blockquote><p>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</p></blockquote>
<p>I researched quite a few ways to accomplish this next step, which is to create the sparsebundle image that Time Machine usually creates on its own.  The problem with the way Time Machine creates sparsebundles is that it will use the maximum available drive space because it&#8217;s supposed to be used with an attached drive dedicated to backups.  I certainly didn&#8217;t want 2.6TB of Time Machine backups on my NAS.  Because of how I&#8217;m using Time Machine in my backup strategy, I want just enough space to keep a few weeks worth of history.  I have a 320GB drive on my MacBook Pro of which about 220GB are used.  I wanted Time Machine to only take up a maximum of 500GB for backups.</p>
<p>The best tutorial I found that worked was <a title="junasoftware.com -- Time Machine OSX Leopard to FreeNAS" href="http://www.junasoftware.com/blog/time-machine-osx-leopard-to-freenas.aspx">this one</a> which you should follow to create the sparesebundle.  One thing I learned—painfully—is that the way OSX names your computer by default will not work for the sparsebundle name on the NAS.  The problem seems to be the apostrophe in the default name (e.g. Jonathan Brown&#8217;s MacBook Pro).  To change the name of your computer, open Sharing in the System Preferences.  Be sure to change the &#8220;Computer Name&#8221; field as well as click the &#8220;Edit&#8221; button and change the local hostname.  I decided to keep my computer name short and descriptive—less than eight alpha-numeric characters.</p>
<p>Time Machine expects the sparsebundle to be named a particular way—&lt;COMPUTER NAME&gt;_&lt;MAC ADDRESS&gt;.sparsebundle.  You can find your MAC address by opening up Terminal and running an ifconfig command.  Your MAC address will be listed under the en0 device and will look like this:</p>
<blockquote><p>ether 00:26:4a:00:25:c8</p></blockquote>
<p>In my case, the sparsebundle name is:</p>
<blockquote><p>jb15uni_00264a0025c8.sparsebundle</p></blockquote>
<p>The command in Terminal I used to create my sparsebundle was (this is a one line command):</p>
<blockquote><p>hdiutil create -size 500g -fs HFS+J -volname &#8220;Backup of jb15uni&#8221; jb15uni_00264a0025c8.sparsebundle</p></blockquote>
<p>That command creates a sparsebundle file on the Mac computer that will grow to a maximum of 500GB, formated with HFS+Journaling file system.  Once Time Machine maxes out that space, it will begin getting rid of the oldest backups to make room for new.</p>
<p>Next, I copied the sparsebundle file to the share I created earlier on the NAS.  Initially the file is a few hundred MBs in size.  If you are connected to your network wirelessly, I recommend plugging into your network before configuring Time Machine as it will kickoff backup shortly after selecting the disk.</p>
<p>Open the Time Machine preferences in System Preferences, click the &#8220;Select Disk&#8221; button and choose the new backup share.  Time Machine will ask for credentials to the NAS share.  Be sure to enter your credentials to FreeNAS, not your Macintosh.  Time Machine will start the first backup shortly after selecting the disk.  The initial backup will take some time even if on a gigabit network.  I let it work while I slept.  After the initial backup, Time Machine will kick off hourly.</p>
<p>It&#8217;s a good idea to take a look at your files and exclude some directories that are not necessary to backup.  In my case I have a few virtual machines that total about 50GB.  I exclude those as well as iTunes music as my MacBook Pro contains a subset of music that&#8217;s already on my NAS.  iMovie events are huge and I&#8217;ve got backups of those which I&#8217;ll talk about in another post.</p>
<p>That&#8217;s pretty much all there is to it.  It may sound daunting, but it&#8217;s a pretty simple thing to do.</p>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-5-the-config' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 5: The Config'>My FreeNAS Project Part 5: The Config</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-4-the-install' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 4: The Install'>My FreeNAS Project Part 4: The Install</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 6: Final Build and Overview'>My FreeNAS Project Part 6: Final Build and Overview</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/setup-time-machine-on-freenas/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>My FreeNAS Project Part 6: Final Build and Overview</title>
		<link>http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview</link>
		<comments>http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview#comments</comments>
		<pubDate>Sat, 29 Aug 2009 20:05:17 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[diagram]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[ups]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=2894</guid>
		<description><![CDATA[I&#8217;ve completed the NAS build, installed and configured FreeNAS and have a nice 2.6TB storage device connected to my network.
Before I start writing about how this NAS fits into my overall strategy, here&#8217;s the final cost sheet for the project thus far.  Note that some of the components (APC UPS, Linksys gigabit router) aren&#8217;t technically [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-3-the-build' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 3: The Build'>My FreeNAS Project Part 3: The Build</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-2-the-parts' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 2: The Parts'>My FreeNAS Project Part 2: The Parts</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-5-the-config' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 5: The Config'>My FreeNAS Project Part 5: The Config</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve completed the NAS build, installed and configured FreeNAS and have a nice 2.6TB storage device connected to my network.</p>
<p>Before I start writing about how this NAS fits into my overall strategy, here&#8217;s the final cost sheet for the project thus far.  Note that some of the components (APC UPS, Linksys gigabit router) aren&#8217;t technically part of the NAS device, but complementary devices to support my total strategy.  I&#8217;m happy to report that the total for NAS-related costs are $629.47, which compared to say  a comparable Drobo setup which would include a <a title="Drobo w/ 4TB" href="http://www.drobostore.com/DRHM/servlet/ControllerServlet?Action=DisplayProductDetailsPage&amp;SiteID=drobo&amp;Locale=en_US&amp;Env=BASE&amp;productID=111550100">Drobo</a> w/ 4TB ($799.99 + shipping) and <a title="DroboShare" href="http://www.drobostore.com:80/store/drobo/en_US/pd/CategoryID.14395100/productID.111378000">DroboShare</a> ($199.99 + shipping) to share it over a network, I&#8217;ve saved $370.  Not bad considering I didn&#8217;t intend to do this cheaper than buying off-the-shelf.</p>
<p><span id="more-2894"></span></p>
<table border="0">
<thead>
<tr>
<th>Component</th>
<th style="text-align: right;">Quantity</th>
<th style="text-align: right;">Price</th>
<th style="text-align: right;">Total</th>
</tr>
</thead>
<tbody>
<tr>
<td>Donor Machine: Intel chipset w/ Core 2 Duo 1.8GHz, 1.5GB RAM, 460W Power Supply, DVD optical drive, GigE, 4x SATA RAID</td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">0.00</td>
<td style="text-align: right;">0.00</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B0007RQODI?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0007RQODI">SilverStone LC10S Aluminum Front Panel ATX/Micro ATX Computer Case (Silver)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B0007RQODI" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">85.49</td>
<td style="text-align: right;">85.49</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000YTPRKU?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000YTPRKU">Syba Ultra Adapter Dual IDE 40/44PIN To Compact Flash</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000YTPRKU" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">13.98</td>
<td style="text-align: right;">13.98</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000XQIOWM?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000XQIOWM">Allegro 3PORT Firewire 400/800 Pci Card</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000XQIOWM" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">64.78</td>
<td style="text-align: right;">64.78</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000VY2BC0?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000VY2BC0">TRANSCEND 2GB Compact Flash Card</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000VY2BC0" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">17.29</td>
<td style="text-align: right;">17.29</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B001IEZX3G?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B001IEZX3G">Western Digital Caviar Green 1 TB Hard Drive 3.5&#8243;</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B001IEZX3G" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">5</td>
<td style="text-align: right;">79.99</td>
<td style="text-align: right;">399.95</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000083JZH?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000083JZH">Tripp Lite P940-19I Serial ATA (SATA) Signal Cable (19 Inches)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000083JZH" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">3</td>
<td style="text-align: right;">9.00</td>
<td style="text-align: right;">27.00</td>
</tr>
<tr>
<td><a href="http://www.bestbuy.com/site/olspage.jsp?skuId=9175714&amp;st=bfg+550W&amp;lp=1&amp;type=product&amp;cp=1&amp;id=1218045945842"> BFG 550W GX Modular Power Supply </a></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">89.99</td>
<td style="text-align: right;">89.99</td>
</tr>
<tr>
<td>Case/Power Supply Fan, 80mm, 3-pin, ball bearing</td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">6.99</td>
<td style="text-align: right;">6.99</td>
</tr>
<tr>
<td>3-Pin to 4-Pin Fan Adapter</td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">3.99</td>
<td style="text-align: right;">3.99</td>
</tr>
<tr>
<td><a title="APC BACK-UPS XS 900" href="http://www.bestbuy.com/site/olspage.jsp?skuId=7842588&amp;st=apc+900&amp;lp=1&amp;type=product&amp;cp=1&amp;id=1142298456537">APC BACK-UPS XS 900</a></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">129.99</td>
<td style="text-align: right;">129.99</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000Z3XXR4?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000Z3XXR4">Linksys WRT310N Wireless-N Gigabit Router</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000Z3XXR4" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">129.99</td>
<td style="text-align: right;">129.99</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B001KFH6K6?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B001KFH6K6">LaCie d2 Quadra 1TB eSata/FW800/FW400/USB2 External Drive</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B001KFH6K6" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">151.98</td>
<td style="text-align: right;">151.98</td>
</tr>
</tbody>
<tfoot>
<tr>
<td style="text-align: right;"></td>
<td style="text-align: right;">Shipping</td>
<td></td>
<td style="text-align: right;">0.00</td>
</tr>
<tr>
<td style="text-align: right;"><strong><br />
</strong></td>
<td style="text-align: right;"><strong>Total</strong></td>
<td></td>
<td style="text-align: right;"><strong>1121.42 </strong></td>
</tr>
</tfoot>
</table>
<p>Now it&#8217;s time to revisit a few of my main goals for this project and see how this NAS fits into the overall strategy.  From my <a title="It's Time for a Backup Strategy" href="/its-time-for-a-backup-strategy">original post</a>&#8230;</p>
<ul>
<li>Incorporate Time Machine backups</li>
<li>Identify super important things that need multiple backups (e.g. backup to disk and DVD or online backup)</li>
<li>Network sharing – this is rather low on the list. As I said before, I only do real computing on one machine (to avoid syncing multiple machines), but with Apple TV and the rumored Apple Tablet… hmmm</li>
</ul>
<p>Based on those three objectives, I&#8217;ve put together a high-level strategy and you can see the NAS is right in the middle of it:</p>
<p style="text-align: center;"><a title="Backup/Archive Strategy Overview" rel="lightbox[strategy]" href="/wp-content/uploads/2009/08/backup_overview.gif"><img class="aligncenter size-full wp-image-3085" title="Backup/Archive Overview" src="/wp-content/uploads/2009/08/backup_overview.gif" alt="Backup/Archive Overview" width="605" height="442" /></a></p>
<p>In the next few posts I&#8217;ll talk about specific parts of the strategy and how I technically implement them.</p>
<p>Shameless plug—The diagram above was created using <a title="OmniGraffle" href="http://www.omnigroup.com/applications/OmniGraffle/" target="_self">OmniGraffle</a> and my <a title="Architecture by Hand" href="/architecture-by-hand">Architecture by Hand</a> stencil.</p>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-3-the-build' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 3: The Build'>My FreeNAS Project Part 3: The Build</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-2-the-parts' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 2: The Parts'>My FreeNAS Project Part 2: The Parts</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-5-the-config' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 5: The Config'>My FreeNAS Project Part 5: The Config</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>My FreeNAS Project Part 5: The Config</title>
		<link>http://jonathanbrown.me/my-freenas-project-part-5-the-config</link>
		<comments>http://jonathanbrown.me/my-freenas-project-part-5-the-config#comments</comments>
		<pubDate>Sat, 22 Aug 2009 19:07:00 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[ups]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=2997</guid>
		<description><![CDATA[So we have our FreeNAS box up and running, connected to the network and accessible via the web-based interface.  One of the first configurations I made was setting a static IP address for my NAS box.  I did this from the console (via option 2), but you can also do this via the web interface [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-one' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 1: Introduction'>My FreeNAS Project Part 1: Introduction</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-3-the-build' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 3: The Build'>My FreeNAS Project Part 3: The Build</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 6: Final Build and Overview'>My FreeNAS Project Part 6: Final Build and Overview</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So we have our FreeNAS box up and running, connected to the network and accessible via the web-based interface.  One of the first configurations I made was setting a static IP address for my NAS box.  I did this from the console (via option 2), but you can also do this via the web interface under Network-&gt;LAN. Have your network&#8217;s gateway IP address handy.  If you use a router you bought at a retail store (LinkSys, NetGear, etc.), it most likely will be 192.168.1.1.</p>
<p>At this point, I went headless with my NAS.  I won&#8217;t need a monitor connected anymore because I won&#8217;t need console access for the remainder of configuration and operation.  I tucked my NAS box in my entertainment center in my bedroom.</p>
<p><span id="more-2997"></span></p>
<h2>Configure the Array</h2>
<p>Next I added the disks and built the RAID array.  Like I mentioned in an earlier post, I decided to use FreeNAS&#8217; software RAID rather than the RAID controller on my motherboard.  The first step is to add your disks.  You do this from the Disks-&gt;Management menu in the FreeNAS web interface.  Again, the <a title="FreeNAS Setup and User Guide" href="http://www.freenas.org/index.php?option=com_openwiki&amp;Itemid=30&amp;id=sug:en#software_raid_configuration_with_geom_modules">documentation on FreeNAS.org</a> is sufficient to step through this process.</p>
<p>When adding my disks, I chose to set the &#8220;Hard disk standby time&#8221; to 60 minutes.  I&#8217;m using my NAS as a raw storage device  (backup and archive) rather than an active working device, so allowing the disks to spin down after 60 minutes of inactivity will save power and keep the drives cool.  I also set the &#8220;Advanced Power Management&#8221; option to &#8220;Level 1 &#8211; Minimum power usage with Standby (spindown).&#8221;  Again, to keep power consumption low and the drives cool.  I activated the S.M.A.R.T. monitoring on all of my drives so I could use the reporting features and monitor the temperature of the drives.</p>
<p>Because of the case I chose to stuff my NAS into, as you can tell, I&#8217;m most worried about heat.  Typically NAS cases are small towers with stacked drives with efficient airflow from front to back.  There are also minimal components inside, so there&#8217;s not a lot of additional heat created.  My case—as you saw from prior posts—is a media center case with the guts of a full computer.  Keeping a hard drive cool can extend the life of the drive, so to help me monitor this, I setup the S.M.A.R.T. reporting features under Disks-&gt;Management S.M.A.R.T. tab.  I set the &#8220;Difference&#8221; value to 5°C and the &#8220;Critical&#8221; value to 36°C.  This means if a single drive&#8217;s temperature rises 5° or more since the last polling (which I set to 5 minutes) or if any of the drives reach 36°C, I will receive an email notification.  Be sure to click the checkbox to activate the email report and set the destination email address at the bottom of the page.</p>
<p>After adding each disk in your array, you&#8217;ll format the disks, create the RAID5 using the disks you added and format the new RAID array (I used UFS file system).  The FreeNAS.org documents explain how to do each step.</p>
<p><img class="alignright size-full wp-image-3000" title="NAS - Space" src="/wp-content/uploads/2009/08/Picture-7.png" alt="NAS - Space" width="199" height="48" />With four 1TB drives added to my RAID5 configuration, it took FreeNAS approximately six hours to build the volume.  This created a volume of 2.6TB of usable storage space.  If you&#8217;re building your own NAS and wondering how much usable storage you&#8217;ll get from different RAID configurations, check out <a title="RAIDCalc" href="http://www.ibeast.com/content/tools/RaidCalc/RaidCalc.asp">RAIDCalc</a>.</p>
<p>After the RAID was initialized I created a mount point (Disks-&gt;Mount Point).  The mount point presents the volume to the operating system and makes the disk available for use.  Don&#8217;t confuse this with a share (CIFS or SMB), which makes a disk or directory available to other computers on your network.</p>
<h2>Sharing the NAS</h2>
<p>The last few steps to a functioning NAS is making it available to other computers on your network.  On my network I have a couple Macs, a couple Windows machines and an Ubuntu virtual machine.  The easiest way to share disks in this environment is to enable the CIFS/SMB service (Services-&gt;CIFS/SMB).  For authentication, I&#8217;m using Local Users since I do not have a LDAP server running on my network.  I gave the box a NetBIOS name, set the Workgroup and description, but left the rest of the settings as defaults.</p>
<p>I created one share (Services-&gt;CIFS/SMB, Share tab) to the root mount point just to verify everything was working.  However, before I could test and since I&#8217;m using Local Users for authentication, I added myself as a user (Access-&gt;Users and Groups).  I then went over to my MacBook Pro and sure enough, my NAS box was listed under the Shared section in the Finder window.  I clicked the server and could see my NAS01 share.</p>
<h2>Benchmarking the NAS</h2>
<p>I plugged my MacBook Pro into my new gigabit router (I bought a new router specifically to get more I/O out of the NAS) and performed a couple of benchmark tests (images below).  And so we have a functioning FreeNAS installation with 2.6TB of usable storage space.</p>
<p><a title="NAS - In Traffic" rel="lightbox[nasperf]" href="/wp-content/uploads/2009/08/Picture-2.png"><img class="size-thumbnail wp-image-3003 alignleft" title="NAS - In Traffic" src="/wp-content/uploads/2009/08/Picture-2-150x150.png" alt="NAS - In Traffic" width="145" height="145" /></a> <a title="NAS - I/O Traffic" rel="lightbox[nasperf]" href="/wp-content/uploads/2009/08/Picture-41.png"><img class="size-thumbnail wp-image-3005 alignleft" title="NAS - I/O Traffic" src="/wp-content/uploads/2009/08/Picture-41-150x150.png" alt="NAS - I/O Traffic" width="145" height="145" /></a> <a title="NAS - CPU Usage" rel="lightbox[nasperf]" href="/wp-content/uploads/2009/08/Picture-3.png"><img class="size-thumbnail wp-image-3004 alignleft" title="NAS - CPU Usage" src="/wp-content/uploads/2009/08/Picture-3-150x150.png" alt="NAS - CPU Usage" width="145" height="145" /></a> <a title="NAS - Disk Temperatures" rel="lightbox[nasperf]" href="/wp-content/uploads/2009/08/Picture-51.png"><img class="size-thumbnail wp-image-3006 alignleft" title="NAS - Disk Temperatures" src="/wp-content/uploads/2009/08/Picture-51-150x150.png" alt="NAS - Disk Temperatures" width="145" height="145" /></a></p>
<h2>Protecting the NAS</h2>
<p>The last thing I needed to do before starting to use the NAS for production is protect it from power events.</p>
<p>Power outages, surges, and brown outs are deadly for storage devices.  If the unit loses power in the middle of a write to disk, you can potentially lose your RAID.  Enterprise-level storage devices have built-in protections against these events, but lower-level storage devices do not.</p>
<p>I purchased an <a title="APC Back-UPS XS 900" href="http://www.bestbuy.com/site/olspage.jsp?skuId=7842588&amp;st=apc+900&amp;lp=1&amp;type=product&amp;cp=1&amp;id=1142298456537">APC Back-UPS XS 900</a> from Best Buy for $129.99.  This unit is sufficient to run the NAS and another workstation for about an hour on battery.  If I&#8217;m around during a power event, that&#8217;s plenty of time to gracefully shutdown the NAS to prevent trouble from a sudden power loss.  But I&#8217;m not around all of the time.  Fortunately, FreeNAS has a built-in UPS service.  Once connected to your UPS device (via a USB cable that comes with the UPS), it can react to power events.  Under Services-&gt;UPS, you can enable this UPS service.  I couldn&#8217;t find the driver for my exact model of APC, so I used the generic &#8220;usbhid-ups&#8221; driver.  I also couldn&#8217;t find any specific help for the port setting, but I ran across a post on an Ubuntu forum that used &#8220;auto&#8221; as the port, so I tried that.  I set the &#8220;Shutdown mode&#8221; to &#8220;UPS goes on battery&#8221; and the &#8220;Shutdown timer&#8221; to 30 seconds.  In a power outage and after 30 seconds on battery the NAS will initiate a graceful shutdown.  I tested this by yanking the power cord on the UPS, and to my delight, FreeNAS shut itself down.</p>
<p>In the next post I&#8217;ll review the entire parts list and then talk about where this FreeNAS project fits into my over all backup/archive strategy.</p>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-one' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 1: Introduction'>My FreeNAS Project Part 1: Introduction</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-3-the-build' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 3: The Build'>My FreeNAS Project Part 3: The Build</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 6: Final Build and Overview'>My FreeNAS Project Part 6: Final Build and Overview</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/my-freenas-project-part-5-the-config/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>My FreeNAS Project Part 4: The Install</title>
		<link>http://jonathanbrown.me/my-freenas-project-part-4-the-install</link>
		<comments>http://jonathanbrown.me/my-freenas-project-part-4-the-install#comments</comments>
		<pubDate>Fri, 21 Aug 2009 03:06:47 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=2983</guid>
		<description><![CDATA[As I mentioned in Part 3, I fried my Compact Flash card as I was making final modifications on the machine build.  That meant I had to reinstall FreeNAS on a new card.  This was an interesting problem to have this early in the project because I learned how to recover from a lost FreeNAS [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-3-the-build' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 3: The Build'>My FreeNAS Project Part 3: The Build</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-5-the-config' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 5: The Config'>My FreeNAS Project Part 5: The Config</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-2-the-parts' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 2: The Parts'>My FreeNAS Project Part 2: The Parts</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in Part 3, I fried my Compact Flash card as I was making final modifications on the machine build.  That meant I had to reinstall FreeNAS on a new card.  This was an interesting problem to have this early in the project because I learned how to recover from a lost FreeNAS install, which was one of the questions I had that I&#8217;d need to answer before I go full-bore production with this NAS.  But before I get to that and other configuration topics, let&#8217;s talk a little about the install.</p>
<p>There are <a title="Google Search" href="http://www.google.com/search?client=safari&amp;rls=en&amp;q=freenas+install+guide&amp;ie=UTF-8&amp;oe=UTF-8">really good tutorials on how to install FreeNAS</a>, including the <a title="FreeNAS Setup and User Guide" href="http://www.freenas.org/index.php?option=com_openwiki&amp;Itemid=30&amp;id=sug:en">documentation on FreeNAS.org</a>.  I don&#8217;t think it&#8217;s necessary for me to recreate the wheel here, but I would like to walk through a couple points that I feel need additional commentary.</p>
<p><span id="more-2983"></span></p>
<h2>You probably won&#8217;t, but read the docs</h2>
<p>I encourage you to read through the <a title="FreeNAS Setup and User guide" href="http://www.freenas.org/index.php?option=com_openwiki&amp;Itemid=30&amp;id=sug:en">documentation on FreeNAS.org</a>.  If you&#8217;re like me, you&#8217;ll zoom past the requirements and introductions and go straight to the meat of the matter.  Well, by doing so you&#8217;ll also bypass some very important information that may save you time, such as the use of the term &#8220;LiveCD.&#8221;</p>
<p><em>Aside:  I think the semantics used on the <a title="FreeNAS.org/downloads" href="http://www.freenas.org/index.php?option=com_versions&amp;Itemid=51">FreeNAS.org download page</a></em><em> are a bit misleading.  To me, LiveCD has a different connotation altogether and &#8220;install disk&#8221; is not one of them. But this LiveCD does indeed contain the installation needed if you are going to install to a hard drive, USB or Compact Flash card.  The documentation explains this.</em></p>
<p>There are two options to install FreeNAS—LiveCD and IMG.  Do not bother with the IMG file if your NAS machine has a CD drive.  You&#8217;ll save yourself a lot of heartache and time.  This is especially true if you&#8217;re using a Mac because the IMG file is not recognized by Apple&#8217;s Disk Utility application.  I even purchased Toast 10 specifically because it says it can handle IMG files.  It can not handle this one. Installation from the LiveCD is the only supported option.</p>
<h2>Verbose is your friend</h2>
<p>When you boot from the LiveCD, the first screen you&#8217;ll encounter is the boot loader.  You have five seconds to make a choice before the system starts with the default boot option.  Choose the option to boot with verbose logging (option 4 at time of this writing).  This may save you some time, especially if you built your machine from scratch.  The verbose mode will tell you exactly what&#8217;s happening as the operating system loads.  This information can help you identify potential problems with your system.  In my case, when I first booted the LiveCD it was stuck on a status and I didn&#8217;t understand what it was doing.  I assumed it froze so I kept rebooting.  Turns out it was having an issue &#8220;calibrating clocks&#8221; and I still don&#8217;t know what that means, but at least I knew it was trying to do something and to wait it out.</p>
<h2>Secure Your NAS</h2>
<p>You can take some very simple steps to secure your new FreeNAS installation.  First, change the admin password.  It defaults to &#8220;freenas&#8221; so go into System-&gt;General and click the Password tab to set a new one.  And when I say change, I mean don&#8217;t make it your dog&#8217;s name or your first born&#8217;s birth date.  Use lowercase and uppercase letters, numbers and at least one punctuation mark.  Try to create a password of at least ten characters.</p>
<p>While you&#8217;re in the System-&gt;General area, change the port of the WebGUI.  Use HTTPS protocol if you&#8217;re going to expose your FreeNAS to the outside world.</p>
<p>Stick your FreeNAS box behind a firewall (or router du jour).  Make sure your router has the latest firmware installed and no ports are forwarding that you don&#8217;t know exactly what they are and why they are forwarding.  While you&#8217;re at it, turn off UPnP in your router&#8217;s configuration.</p>
<h2>Be Informed</h2>
<p>FreeNAS has very good options to notify you of its health.  It does so using email that you can configure in the System-&gt;Advanced menu then on the Email tab.  Again, be secure when possible and use a mail server with SSL authentication.  If your FreeNAS box is configured to reach the internet, you can use any of the free web-based mail hosts to send emails.  With smart phones (like an iPhone), you can get really creative about how your FreeNAS notifies you of events.</p>
<p>Once your email is setup and tested, go to Status-&gt;Email Report tell FreeNAS to send you a daily report.  I receive a report each morning at 7am.  I&#8217;m mostly interested in the health of the drives, so I use the System Info, System Log and the S.M.A.R.T log (but you have to enable S.M.A.R.T enabled on each drive attached to FreeNAS).</p>
<p>Overall the FreeNAS installation is really simple.  There&#8217;s really not much to it.  Next we&#8217;ll talk about configuring your array and some other services that I&#8217;ve started using.</p>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-3-the-build' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 3: The Build'>My FreeNAS Project Part 3: The Build</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-5-the-config' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 5: The Config'>My FreeNAS Project Part 5: The Config</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-2-the-parts' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 2: The Parts'>My FreeNAS Project Part 2: The Parts</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/my-freenas-project-part-4-the-install/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My FreeNAS Project Part 3: The Build</title>
		<link>http://jonathanbrown.me/my-freenas-project-part-3-the-build</link>
		<comments>http://jonathanbrown.me/my-freenas-project-part-3-the-build#comments</comments>
		<pubDate>Sun, 16 Aug 2009 19:17:34 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=2937</guid>
		<description><![CDATA[Did I mention that I&#8217;ve not built a computer in six years?  Yeah, well I forgot how bloody frustrating it is when things don&#8217;t work exactly as planned.  To recap, I have a donor machine with motherboard, CPU, RAM, video card, DVD drive and power supply—the guts.  My mission was to transplant that stuff into [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-4-the-install' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 4: The Install'>My FreeNAS Project Part 4: The Install</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-2-the-parts' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 2: The Parts'>My FreeNAS Project Part 2: The Parts</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 6: Final Build and Overview'>My FreeNAS Project Part 6: Final Build and Overview</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a title="NAS - Front" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_5029.jpg"><img class="alignleft size-medium wp-image-2963" title="NAS - Front" src="/wp-content/uploads/2009/08/MG_5029-300x143.jpg" alt="NAS - Front" width="300" height="143" /></a>Did I mention that I&#8217;ve not built a computer in six years?  Yeah, well I forgot how bloody frustrating it is when things don&#8217;t work exactly as planned.  To recap, I have a donor machine with motherboard, CPU, RAM, video card, DVD drive and power supply—the guts.  My mission was to transplant that stuff into a new case and add disks and additional connectivity and install <a title="FreeNas.org" href="http://freenas.org">FreeNAS</a>.</p>
<p><span id="more-2937"></span></p>
<p>The first step was to disassemble the donor machine, which wasn&#8217;t a problem at all.  The breakdown was smooth with only one trip to HP&#8217;s support site to figure out how an interlocking part became not so locking.</p>
<p>Next, I installed the motherboard into the new case.  It wasn&#8217;t that big of a deal; however, the HP motherboard was fastened to a metal mounting plate and I had to decide whether to keep the HP mount or ditch it.  I wanted to scrap it, but realized the CPU heat-sink and fan were mounted to the metal plate, so that decision was made for me.  This created a tighter fit than I expected, but in the end turned out to be a very solid.</p>
<p>My next task was to get some power in the case, so I proceeded to install the 460W power supply from the donor.  And that&#8217;s when I encountered my first hiccup.  I didn&#8217;t think to measure the power supply to make sure it would fit in the new case—a standard ATX case—and I assumed, stupidly, that the power supply from the HP was of an ATX form-factor.  Needless to say, it was not.  I don&#8217;t even know what you call the form-factor, but it&#8217;s height is 97mm high, which is too tall for a standard ATX (86 mm).</p>
<p><a title="NAS - BFG Power Supply" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_5011.jpg"><img class="alignright size-medium wp-image-2940" title="NAS - BFG Power Supply" src="/wp-content/uploads/2009/08/MG_5011-300x221.jpg" alt="NAS - BFG Power Supply" width="218" height="161" /></a>It was time to break out the wallet again.  At this point I&#8217;m thinking the cost of this build is going to get out of hand.  Instead of ordering a power supply online and saving some money, I wanted instant gratification.  I headed over to Best Buy and picked up a <a title="BFG 550W GX Power Supply" href="http://www.bestbuy.com/site/olspage.jsp?skuId=9175714&amp;st=bfg+550W&amp;lp=1&amp;type=product&amp;cp=1&amp;id=1218045945842">BFG 550W GX Modular Power Supply</a> for $89.99 + tax.  It turned out to be a very nice piece.  It&#8217;s modular cable system means the power cables can be plugged in as necessary, to avoid a nest of unnecessary wires.  It&#8217;s a sleek design with a huge fan on the bottom.  It fit nicely in the case.  My only real complaint is that the cables are difficult to corral which makes cable management a bit difficult in a tight space.</p>
<p>At this point I began making connections to the motherboard.  I hate this part.  Every motherboard and case have different sets of connectors for things like the power button, the reset switch and the power/HDD LEDs.  It&#8217;s slightly worse with the donor board because it had an all-in-one front control panel that was a single plug.  I had to do a bit of trial-and-error to figure out which pins were what to get the switches and LEDs working.</p>
<p><a title="NAS - Case Drive Bays" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_4997.jpg"><img class="alignleft size-medium wp-image-2948" title="NAS - Case Drive Bays" src="/wp-content/uploads/2009/08/MG_4997-300x183.jpg" alt="NAS - Case Drive Bays" width="300" height="183" /></a></p>
<p>I proceeded to install the rest of the components—the graphics card, the FireWire 400/800 card, the DVD drive, the four SATA drives and the IDE-to-CF adapter for the Compact Flash card.  The hard drive placement was a bit tricky.  Even though the case has four 3.5&#8243; bays, they are configured in such a way that three drives are stacked directly on top of each other and the fourth bay is tucked away under the optical drive bay.  I decided I would space them out and use the second 5.25&#8243; bay above the optical drive to house one of the drives.  This would allow for slightly better cooling.  Once I had everything connected, I powered it on and to my delight everything was functioning.</p>
<p>Next I needed to configure the RAID controller.  As previously mentioned, I made the decision to run RAID5 which the controller handled; however, the controller had a maximum volume limit of 2TB, which means I had to create two separate volumes to present to FreeNAS.  This was not desirable as I wanted one big aggregate.  I searched for information on this controller and in process learned that the built-in Intel 82801GR/GH RAID controller was not a great RAID controller.  So I made a decision to use FreeNAS&#8217; software RAID instead.  I set the disks back to an un-RAIDed configuration.</p>
<p>My next chore was to install the FreeNAS system to verify the disks before I tightened everything up.  I downloaded the FreeNAS LiveCD ISO as well as the embedded IMG, unsure which I&#8217;d use.  I started with the LiveCD, burned the ISO to a CD and popped it in the  DVD drive.  The machine booted to the FreeNAS boot loader screen.  I proceeded with the default boot option.  FreeNAS started to load and then froze.  I made an incorrect assumption that the CD didn&#8217;t work and proceeded to waste two hours trying to figure out how to load the IMG file onto the Compact Flash card.  After failing to find anything that worked, I returned to the LiveCD.  This time I let the machine boot and left it alone while I took a fifteen minute break.</p>
<p>When I came back to the machine, to my surprise, FreeNAS had loaded and I was presented the install option.  When the install was finished I removed the CD and rebooted the machine.  The first indication that something wasn&#8217;t right was the boot loader didn&#8217;t countdown from five seconds and automatically boot with defaults.  Instead it hung on that screen waiting for user input.  I chose the default boot option and after a few lines of boot information, the machine froze.  I rebooted again and chose the boot option with verbose output so I could see what was going on.  It was hanging on the line &#8220;Calibrating clocks&#8230;&#8221;  At this point I thought there was a BIOS problem, so I booted into BIOS setup and noticed the clock was not holding the time.  I set the time and then booted back into FreeNAS.  Again, I let the machine sit for a while and it finally booted up.  I decided to continue with the setup just to verify the disks and such and come back to the boot problem later.</p>
<p>So I setup the RAID and FreeNAS started initializing the array.  But there was another problem.  From all of the tutorials I read, upon creating and initializing the array, the status will change to &#8220;REBUILDING&#8221;.  Mine didn&#8217;t.  It was stuck on &#8220;Initializing.&#8221;  I let it be for quite a few minutes and came back and it was still initializing.  At this point I was so frustrated that I called it a night but left it running.</p>
<p>The next morning I returned to FreeNAS and it was still initializing the array.  I decided to reboot the machine and this time it booted up perfectly without any delay.  I have no idea why, but hell, one less thing to try to debug.  I deleted the RAID and started over.  This time it worked and started rebuilding the array.  I&#8217;ll explain how I configured and setup FreeNAS in the next post.</p>
<p><a title="NAS - Cooling" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_5026.jpg"><img class="alignright size-medium wp-image-2957" title="NAS - Cooling" src="/wp-content/uploads/2009/08/MG_5026-300x140.jpg" alt="NAS - Cooling" width="300" height="140" /></a><a></a>Once the array was built I started testing it, keeping a close eye on the temperature of the disks as I knew cooling would be an issue with the case and the way I had to arrange the drives.  Under some duress, the second (bottom of the 3.5&#8243; bay) and fourth drive (under the optical drive) temperatures started rising above the typical 35°C.  I went to the computer store to pick up an additional fan.  I placed the fan next to the front intake fan and positioned it to blow across the drives to get some cool air on the two drives that needed it.  There&#8217;s an exhaust vent on the other side of the case which helps because the added fan blows cool air across the drives and the heat out of the vent on the other side.  This addition brought the drive temperatures down below 35°C.</p>
<p><a title="NAS - Opened" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_5021.jpg"><img class="alignleft size-medium wp-image-2960" title="NAS - Opened" src="/wp-content/uploads/2009/08/MG_5021-300x228.jpg" alt="NAS - Opened" width="240" height="182" /></a>I took everything apart again to route the cables.  Cable management is a skill that I do not possess.  Some techs build machines meticulously with perfectly tidy and clean cable management regardless of how much stuff is crammed inside the box.  That is not me.  I did my best to clean it up.  It&#8217;s not great, but not terrible&#8230;at least that&#8217;s my subjective opinion.  Once I got the cables cleaned up I plugged the NAS in and booted it to make sure it all still  worked.  In process I ended up frying the Compact Flash card.  It most likely shorted out because it was resting on top of the optical drive. I had another 2GB card from my camera and so I used that.  Without a proper place to put the IDE-to-CF adapter, I tucked it down away from metal parts.  This was not an ideal solution, but the best I could do without re-engineering the placement of everything.</p>
<p>So now the build is complete.  Of course having to replace the Compact Flash card meant I had to reinstall FreeNAS, which I did and will discuss in the next post.  Here are a few photos of the finished product.  All in all, it was a very frustrating build, but the end result turned out quite nice.</p>
<p><a title="NAS - Front" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_5029.jpg"><img class="alignleft size-thumbnail wp-image-2963" title="NAS - Front" src="/wp-content/uploads/2009/08/MG_5029-150x150.jpg" alt="NAS - Front" width="150" height="150" /></a> <a title="NAS - Rear" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_5031.jpg"><img class="alignleft size-thumbnail wp-image-2964" title="NAS - Rear" src="/wp-content/uploads/2009/08/MG_5031-150x150.jpg" alt="NAS - Rear" width="150" height="150" /></a> <a rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_5036.jpg"><img class="alignleft size-thumbnail wp-image-2965" title="NAS - In Habitat" src="/wp-content/uploads/2009/08/MG_5036-150x150.jpg" alt="NAS - In Habitat" width="150" height="150" /></a></p>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-4-the-install' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 4: The Install'>My FreeNAS Project Part 4: The Install</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-2-the-parts' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 2: The Parts'>My FreeNAS Project Part 2: The Parts</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 6: Final Build and Overview'>My FreeNAS Project Part 6: Final Build and Overview</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/my-freenas-project-part-3-the-build/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My FreeNAS Project Part 2: The Parts</title>
		<link>http://jonathanbrown.me/my-freenas-project-part-2-the-parts</link>
		<comments>http://jonathanbrown.me/my-freenas-project-part-2-the-parts#comments</comments>
		<pubDate>Sat, 15 Aug 2009 17:45:15 +0000</pubDate>
		<dc:creator>Jonathan Brown</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[amazon.com]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://jonathanbrown.me/?p=2843</guid>
		<description><![CDATA[To be honest, I&#8217;ve not built, technically assembled, a computer in over six years.  I used to build all of my own computers when Windows was my primary operating system and I was developing a lot of Windows applications.  Back then it made sense to build your own because it was more cost-effective.  These days, [...]


Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-3-the-build' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 3: The Build'>My FreeNAS Project Part 3: The Build</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 6: Final Build and Overview'>My FreeNAS Project Part 6: Final Build and Overview</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-one' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 1: Introduction'>My FreeNAS Project Part 1: Introduction</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To be honest, I&#8217;ve not built, technically assembled, a computer in over six years.  I used to build all of my own computers when Windows was my primary operating system and I was developing a lot of Windows applications.  Back then it made sense to build your own because it was more cost-effective.  These days, unless you&#8217;re a gamer or have very unique desires, it&#8217;s way cheaper (and less frustrating) to go to a big box store and buy off-the-shelf or order online.</p>
<p>Like I said in my last post, the reason to build this is to understand my solution and learn something.  Additionally, aesthetically I want this to look more like a stereo component than a box on my desk or another computer tower on the floor.  So on to the parts list.</p>
<p>I should mention now that I was not trying to build this cheaper than an off-the-shelf NAS.  So if you&#8217;re going to do this and money is an issue, I&#8217;d strongly advise just ordering a pre-built NAS from an online store.  You&#8217;ll probably save money and tons of time (which is money) and frustration. While I did do a little bit of comparison shopping, I ended up ordering most of the parts from Amazon to take advantage of Amazon Prime shipping (free 2-day shipping).</p>
<p><span id="more-2843"></span></p>
<p>If you have an old or unused computer (of the wintel variety), that&#8217;s a good place to start your build.  I acquired an unused HP xw4400 workstation for free with the following specs:</p>
<ul>
<li><a title="NAS - Donor Parts" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_5000.jpg"><img class="alignright size-medium wp-image-2885" title="NAS - Donor Parts" src="/wp-content/uploads/2009/08/MG_5000-300x193.jpg" alt="NAS - Donor Parts" width="300" height="193" /></a>Intel motherboard w/ NH82801GR/SL8FY chipset:
<ul>
<li>Intel Core 2 Duo @ 1.8 GHz, 800 MHz front-side bus, 2MB L2 cache</li>
<li>1.5 GB RAM (DDR2/667MHz)</li>
<li>82801GR/GH SATA RAID controller w/ 4 SATA ports</li>
<li>Gigabit Ethernet</li>
</ul>
</li>
<li>A dual port video card</li>
<li>DVD optical drive (only needed for install)</li>
<li>80GB SATA disk (not needed)</li>
<li>460W Power Supply, Chassis Fan and SATA cable</li>
</ul>
<p>That&#8217;s plenty of hardware for a FreeNAS build which requires a minimum of only 128MB RAM.  So now to fill the hardware gaps&#8230;</p>
<p><a title="NAS - SilverStone Case" rel="lightbox[nasparts]" href="/wp-content/uploads/2009/08/MG_4992.jpg"><img class="size-medium wp-image-2862 alignleft" title="NAS - SilverStone Case" src="/wp-content/uploads/2009/08/MG_4992-300x199.jpg" alt="NAS - SilverStone Case" width="180" height="119" /></a>I want my NAS solution to look more like a stereo component than a typical computer or NAS device.  I bought a <a href="http://www.amazon.com/gp/product/B0007RQODI?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0007RQODI">SilverStone LC10S Aluminum Front Panel ATX/Micro ATX Computer Case (Silver)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B0007RQODI" border="0" alt="" width="1" height="1" /> for $85.49.  It has four 3.5&#8243; bays to hold the hard drives, but cooling may become an issue even though it has front and rear chassis fans.</p>
<p>Next, instead of using a spinning hard drive to boot the FreeNAS operating system, I found <a href="http://geekyprojects.com/nas/build-your-own-nas-using-freenas/">this link</a> which utilizes a Compact Flash card as the boot disk. This is a good solution because a normal hard drive can fail and uses more power and generates more heat.  You can also boot from the LiveCD or a USB keychain drive.  FreeNAS basically loads the operating system into RAM and only needs a writable drive to store configuration files.  <img class="alignright size-medium wp-image-2874" title="NAS - IDE-to-CF Adapter w/ Compact Flash Card" src="/wp-content/uploads/2009/08/MG_5015-300x239.jpg" alt="NAS - IDE-to-CF Adapter w/ Compact Flash Card" width="180" height="143" /> In order to get the BIOS to recognize the Compact Flash card, I&#8217;d also need an IDE-to-CF adapter.  I bought the <a href="http://www.amazon.com/gp/product/B000YTPRKU?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000YTPRKU">Syba Ultra Adapter Dual IDE 40/44PIN To Compact Flash</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000YTPRKU" border="0" alt="" width="1" height="1" /><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000YTPRKU" border="0" alt="" width="1" height="1" /> for $13.98 and the smallest, cheapest Compact Flash card I could find in two minutes, <a href="http://www.amazon.com/gp/product/B000VY2BC0?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000VY2BC0"><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000VY2BC0" border="0" alt="" width="1" height="1" />TRANSCEND 2GB Compact Flash Card</a> for $17.29.  2GB is way overkill considering FreeNAS only needs 32MB, but whatever, I was in a meeting when I ordered these two parts!</p>
<p>The hard drives that I&#8217;ll use in a RAID5 configuration were the easiest parts to select.  I went with the <a href="http://www.amazon.com/gp/product/B001IEZX3G?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B001IEZX3G">Western Digital Caviar Green 1 TB Hard Drive 3.5&#8243;</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B001IEZX3G" border="0" alt="" width="1" height="1" /> for $79.99 each.  I ordered five of them—four will be used in the array and one will be a spare that I&#8217;ll keep in case I encounter a drive failure.  I went with the WD Caviar Green because it&#8217;s an efficient drive that uses less power and runs cool and quiet.  To connect the drives, I got three <a href="http://www.amazon.com/gp/product/B000083JZH?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000083JZH">Tripp Lite P940-19I Serial ATA (SATA) Signal Cable (19 Inches)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000083JZH" border="0" alt="" width="1" height="1" /> at $9.00 each.  The fourth cable is from the donor machine.</p>
<p>To handle the removable drive component of my plan, I needed to get a FireWire card since the Intel motherboard from the donor machine does not have FireWire built-in.  It does have built-in USB, which will be handy, but I wanted a bit more speed for the replication.  I got the <a href="http://www.amazon.com/gp/product/B000XQIOWM?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000XQIOWM">Allegro 3PORT Firewire 400/800 Pci Card</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000XQIOWM" border="0" alt="" width="1" height="1" /> for $64.78.</p>
<p>Here&#8217;s the list of the components with totals:</p>
<table border="0">
<thead>
<tr style="text-align: right;">
<th style="text-align: left;">Component</th>
<th>Quantity</th>
<th>Price</th>
<th>Total</th>
</tr>
</thead>
<tbody>
<tr>
<td>Donor Machine: Intel chipset w/ Core 2 Duo 1.8GHz, 1.5GB RAM, 460W Power Supply, DVD optical drive, GigE, 4x SATA RAID</td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">0.00</td>
<td style="text-align: right;">0.00</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B0007RQODI?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0007RQODI">SilverStone LC10S Aluminum Front Panel ATX/Micro ATX Computer Case (Silver)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B0007RQODI" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">85.49</td>
<td style="text-align: right;">85.49</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000YTPRKU?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000YTPRKU">Syba Ultra Adapter Dual IDE 40/44PIN To Compact Flash</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000YTPRKU" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">13.98</td>
<td style="text-align: right;">13.98</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000XQIOWM?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000XQIOWM">Allegro 3PORT Firewire 400/800 Pci Card</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000XQIOWM" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">64.78</td>
<td style="text-align: right;">64.78</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000VY2BC0?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000VY2BC0">TRANSCEND 2GB Compact Flash Card</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000VY2BC0" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">17.29</td>
<td style="text-align: right;">17.29</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B001IEZX3G?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B001IEZX3G">Western Digital Caviar Green 1 TB Hard Drive 3.5&#8243;</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B001IEZX3G" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">5</td>
<td style="text-align: right;">79.99</td>
<td style="text-align: right;">399.95</td>
</tr>
<tr>
<td><a href="http://www.amazon.com/gp/product/B000083JZH?ie=UTF8&amp;tag=thecubicleesc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000083JZH">Tripp Lite P940-19I Serial ATA (SATA) Signal Cable (19 Inches)</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=thecubicleesc-20&amp;l=as2&amp;o=1&amp;a=B000083JZH" border="0" alt="" width="1" height="1" /></td>
<td style="text-align: right;">3</td>
<td style="text-align: right;">9.00</td>
<td style="text-align: right;">27.00</td>
</tr>
</tbody>
<tfoot>
<tr>
<td style="text-align: right;"></td>
<td style="text-align: right;"></td>
<td style="text-align: left;">Shipping</td>
<td style="text-align: right;">0.00</td>
</tr>
<tr>
<td style="text-align: right;"><strong><br />
</strong></td>
<td style="text-align: right;"><strong><br />
</strong></td>
<td style="text-align: left;"><strong>Total</strong></td>
<td style="text-align: right;"><strong>$608.49</strong></td>
</tr>
</tfoot>
</table>
<p>So there&#8217;s the parts list we need for the build.  Next up, I&#8217;ll build this thing.  Stay tuned&#8230;</p>
<h3>Links</h3>
<ul>
<li><a title="FreeNAS.org" href="http://freenas.org">FreeNAS.org</a></li>
<li><a title="Build Your Own NAS Using FreeNAS" href="http://geekyprojects.com/nas/build-your-own-nas-using-freenas/">Geeky Projects &#8211; Build your own NAS using FreeNAS</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://jonathanbrown.me/my-freenas-project-part-3-the-build' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 3: The Build'>My FreeNAS Project Part 3: The Build</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-6-final-build-and-overview' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 6: Final Build and Overview'>My FreeNAS Project Part 6: Final Build and Overview</a></li>
<li><a href='http://jonathanbrown.me/my-freenas-project-part-one' rel='bookmark' title='Permanent Link: My FreeNAS Project Part 1: Introduction'>My FreeNAS Project Part 1: Introduction</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://jonathanbrown.me/my-freenas-project-part-2-the-parts/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
