<?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>Code Slingin &#187; System Administration</title>
	<atom:link href="http://james.hawesfamily.net/category/it/system-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://james.hawesfamily.net</link>
	<description>To boldy go</description>
	<lastBuildDate>Sat, 09 May 2009 07:00:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Time Machine and NAS Device setup</title>
		<link>http://james.hawesfamily.net/2009/01/01/time-machine-and-nas-device-setup/</link>
		<comments>http://james.hawesfamily.net/2009/01/01/time-machine-and-nas-device-setup/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 18:01:18 +0000</pubDate>
		<dc:creator>James Hawes</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Time Machine]]></category>

		<guid isPermaLink="false">http://james.hawesfamily.net/?p=62</guid>
		<description><![CDATA[This Christmas we (my family) decided to provide my dad an infallable backup system for his seemingly fallable PCs.  We learned that he had decided to upgrade to a Mac (a move I strongly encouraged).  So, I had to figure out how to get this NAS device to work with Time Machine over the wireless [...]]]></description>
			<content:encoded><![CDATA[<p>This Christmas we (my family) decided to provide my dad an infallable backup system for his seemingly fallable PCs.  We learned that he had decided to upgrade to a Mac (a move I strongly encouraged).  So, I had to figure out how to get this NAS device to work with Time Machine over the wireless network.  I read several websites on the subject, but the backup never seemed to be able to complete.  However, I discovered an obscure reference on an apple support forum that resolved my problems.  Below I will detail how I was finally able to get Time Machine to backup to a NAS device.</p>
<ol>
<li>Prepare your NAS device and make sure you can access it</li>
<li>Mount your NAS device as a drive
<ul>
<li>From Finder: APPLE + K</li>
<li>Server Address: smb://NAS-Device</li>
<li>Select which folder you want mounted.  In my case it was called &#8220;Back Up&#8221;</li>
</ul>
</li>
<li>Open up Terminal and Prepare Time Machine to use the network drive mounted above by typing:<br />
<em>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</em></li>
<li>Create an empty disk image that will be used on the NAS device to contain your Time Machine backup by typing:<br />
<em>hdiutil create -library SPUD -megabytes 400000 -fs HFS+J -type SPARSEBUNDLE -volname &#8220;backup&#8221; &#8220;backup.sparsebundle&#8221;</em></p>
<ul>
<li>This creates the empty sparse bundle disk image of a size of 400 Gigabytes</li>
<li>It also creates a volume name of &#8220;backup&#8221; and the file name of &#8220;backup.sparsebundle&#8221;</li>
</ul>
</li>
<li>Move &#8220;backup.sparsebundle&#8221; to your NAS device location</li>
<li>Open up the Console application.  I have yet to figure out a better way to do this, but we have to start a Time Machine backup and let it fail in order to name the &#8220;backup.sparsebundle&#8221; file that was moved to the NAS device properly because Time Machine is unable to requisition the name properly.  The Console application will contain the appropriate name.</li>
<li>Open up your Time Machine Preferences</li>
<li>Click &#8220;Change Disk&#8221; and select your the mounted drive</li>
<li>Start a backup (it will fail)</li>
<li>In the Console application click on &#8220;All Messages&#8221;</li>
<li>Look for text that reads something like: /System/Library/CoreServices/backupd[8818] Creating disk image /Volumes/Backup-1/Joe User&#8217;s MacBook Pro 15&#8243;_0016cbc9be62.sparsebundle</li>
<li>Copy this line to your favorite text editor</li>
<li>Go into your NAS device and rename the file to &#8220;Joe User&#8217;s MacBook Pro 15&#8243;_0016cbc9be62.sparsebundle&#8221; (replacing it to your exact text&#8230;of course &lt;grin&gt;)</li>
<li>Stop the backup if you haven&#8217;t already or if it hasn&#8217;t failed yet</li>
<li>Restart the backup</li>
<li>You should see Time Machine accepting the sparsebundle and it should properly backup</li>
</ol>
<p>Some Caveates and cleanup items:</p>
<ol>
<li>It will take a long time for the initial backup to finish, so it&#8217;s a good idea to run this over night.</li>
<li>The Sparsebundle name must be exactly as you find it in the console.  I&#8217;ve not found a better way yet to retrieve the drive name that it is looking for.</li>
<li>Delete the original &#8220;backup.sparsebundle&#8221; file from your local harddrive</li>
<li>It may be a good idea to clear the Console logs before starting the Time Machine backup the first time through, it&#8217;ll make finding the proper drive name a little easier.</li>
<li>If you&#8217;ve gone through these steps and it&#8217;s still not working reset the Time Machine defaults: <em>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 0. </em>And then go through the steps again.</li>
<li>I chose a 400 gig sparsebundle file because the harddrive size was close to 375 gigs.</li>
</ol>
<p>Hopefully you&#8217;ll find as much success as I have with this process.  I&#8217;ll be updating this posting soon with actual screenshots to help make it clearer.</p>
]]></content:encoded>
			<wfw:commentRss>http://james.hawesfamily.net/2009/01/01/time-machine-and-nas-device-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed to access IIS metabase</title>
		<link>http://james.hawesfamily.net/2007/12/13/failed-to-access-iis-metabase/</link>
		<comments>http://james.hawesfamily.net/2007/12/13/failed-to-access-iis-metabase/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 17:56:16 +0000</pubDate>
		<dc:creator>James Hawes</dc:creator>
				<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://james.hawesfamily.net/2007/12/13/failed-to-access-iis-metabase/</guid>
		<description><![CDATA[Ok, I&#8217;m a Java developer; it&#8217;s been a long time since I&#8217;ve been inside the inner workings of IIS and .NET (where my development career started).  While I am still a very dedicated Java developer, the company I am working for is integrating a third party .NET solution into our product stack.  So, [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;m a Java developer; it&#8217;s been a long time since I&#8217;ve been inside the inner workings of IIS and .NET (where my development career started).  While I am still a very dedicated Java developer, the company I am working for is integrating a third party .NET solution into our product stack.  So, I&#8217;ve jumped back into the world of .NET.</p>
<p>I knew from the start that I had the .NET 2.x framework on my machine already, which was a plus.  I also knew that I had to install IIS because the solution is web based.  So that was easy enough.</p>
<p>I installed the solution, configured it according to the documentation, and attempted to run it through a browser. &lt;BAM&gt;&#8221;Failed to access IIS metabase.&#8221; error was triggered.  Digging way back into the recesses of my memory, I did recall something about this (something about running a command), but again my memory is slightly outdated. Thankfully having full access to the internet provided me the solution.</p>
<p>c:\&lt;path to .NET Framework version root&gt;\aspnet_regiis -i</p>
<p>Give Credit where Credit is due:</p>
<p><a href="http://blog.devstone.com/Aaron/archive/2006/05/08/1586.aspx">http://blog.devstone.com/Aaron/archive/2006/05/08/1586.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://james.hawesfamily.net/2007/12/13/failed-to-access-iis-metabase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot Delete: Path Too Long</title>
		<link>http://james.hawesfamily.net/2007/12/13/cannot-delete-path-too-long/</link>
		<comments>http://james.hawesfamily.net/2007/12/13/cannot-delete-path-too-long/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 17:06:04 +0000</pubDate>
		<dc:creator>James Hawes</dc:creator>
				<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://james.hawesfamily.net/2007/12/13/cannot-delete-path-too-long/</guid>
		<description><![CDATA[Just now I ran into a problem with an installation of a product which had very deep folder structures.  I had to uninstall and delete the folders and files in order to do a fresh install.  When I attempted to delete the files through Explorer and the cmd prompt I was being told [...]]]></description>
			<content:encoded><![CDATA[<p>Just now I ran into a problem with an installation of a product which had very deep folder structures.  I had to uninstall and delete the folders and files in order to do a fresh install.  When I attempted to delete the files through Explorer and the cmd prompt I was being told that either the path was too long or the file name was too long.</p>
<p>Perhaps I&#8217;ve been doing development too long because I could not remember for the life of me how to get around this problem.  After a few quick searches I was reminded of the the syntax &#8220;\\.\&#8221; and this solved my problem.  I wanted to remove everything from the root folder of the application.</p>
<p>To remove folders and files:</p>
<p>ex. rd &#8220;\\.\c:\Path to long directory&#8221; /s /q</p>
<p>To removefiles</p>
<p>ex. del &#8220;\\.\c:\Path to file&#8221;</p>
<p>Give credit where credit is due:</p>
<ol>
<li>My good friend <a title="Jeremy Simmons" href="http://www.jeremysimmons.net/blog/">Jeremy Simmons</a></li>
<li><a title="Microsoft Support" href="http://support.microsoft.com/kb/320081">Microsoft Support</a></li>
<li>Where my memory was jogged: <a title="IT News group" href="http://www.itnewsgroups.net/group/microsoft.public.windows.server.general/topic10166.aspx">IT News Group.NET</a> which is simply an alias to: microsoft.public.windows.server.general</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://james.hawesfamily.net/2007/12/13/cannot-delete-path-too-long/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
