<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>life as i know it</title>
	<link>http://blog.scottmroberts.com</link>
	<description>...</description>
	<pubDate>Sun, 06 Dec 2009 19:27:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>Expanding RAID &#038; Partitions on Mac (part 2)</title>
		<link>http://blog.scottmroberts.com/archives/20</link>
		<comments>http://blog.scottmroberts.com/archives/20#comments</comments>
		<pubDate>Sun, 06 Dec 2009 19:27:03 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.scottmroberts.com/archives/20</guid>
		<description><![CDATA[So I&#8217;ve been doing some thinking on why the mac has problems with expanded volumes. By expanded volumes, i mean a volume that gets bigger after initial creation. This isn&#8217;t an issue for physical disks, since their size is set. But virtual volumes, such as those presented by a RAID card can be &#8220;grown&#8221; through [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been doing some thinking on why the mac has problems with expanded volumes. By expanded volumes, i mean a volume that gets bigger after initial creation. This isn&#8217;t an issue for physical disks, since their size is set. But virtual volumes, such as those presented by a RAID card can be &#8220;grown&#8221; through raid magical goodness.Once they&#8217;ve been grown - someone/something needs to update the GPT headers to say &#8220;this disk is much larger than before&#8221;. Part 1 accomplishes that through destroying the GPT headers, and re-creating them. It works, but man is it nerve-wracking.The other way one could do this, is by directly editing the GPT headers.In the GPT headers there are some fields:
<p style="font: normal normal normal 11px/normal 'Courier New'; color: #7f0c00; margin: 0px"><em>FirstUsableLBA</em></p>
<p style="font: normal normal normal 9px/normal Arial; margin: 0px">The first usable logical block that may be used by a partition described by a GUID Partition Entry.</p>
<p style="font: normal normal normal 11px/normal 'Courier New'; color: #7f0c00; margin: 0px"><em>LastUsableLBA</em></p>
<p style="font: normal normal normal 9px/normal Arial; margin: 0px"><span style="font-family: Georgia, 'Times New Roman', Times, serif; font-size: 16px; line-height: 20px" class="Apple-style-span"><span style="font-family: Arial, 'Times New Roman', Times, serif; font-size: 9px; line-height: normal" class="Apple-style-span">The last usable logical block that may be used by a partition described by a GUID Partition Entry.</span> </span></p>
<p style="font: normal normal normal 11px/normal 'Courier New'; color: #7f0c00; margin: 0px"><em>AlternateLBA</em></p>
<p style="font: normal normal normal 9px/normal Arial; margin: 0px">LBA address of the alternate GUID Partition Table Header.</p>
<p style="font: normal normal normal 11px/normal 'Courier New'; color: #7f0c00; margin: 0px"><em>HeaderCRC32</em></p>
<p style="font: normal normal normal 9px/normal Arial; margin: 0px">CRC32 checksum for the GUID Partition Table Header structure. This value is computed by setting this field to 0, and computing the 32-bit CRC for <span style="font: normal normal normal 11px/normal 'Courier New'; color: #7f0c00"><em>HeaderSize </em></span>bytes.</p>
<p>What has to get updated is that LastUsableLBA and AlternateLBA. AlternateLBA should be = the last block on the hard drive.LastUsableLBA should be something like AlternateLBA-32.Once you&#8217;ve updated these, you have to calculate a new CRC32 checksum.If you&#8217;re a good person, you would go ahead and write the alternate header to the end of the disk - a bad person would just let the OS panic about the lack of backup headers and fix it itself.I&#8217;ll be doing some testing of this over the coming weeks, and i&#8217;ll let you know what i find.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scottmroberts.com/archives/20/feed</wfw:commentRss>
		</item>
		<item>
		<title>Never enough storage</title>
		<link>http://blog.scottmroberts.com/archives/19</link>
		<comments>http://blog.scottmroberts.com/archives/19#comments</comments>
		<pubDate>Sun, 06 Dec 2009 05:23:17 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.scottmroberts.com/archives/19</guid>
		<description><![CDATA[Why is there never enough storage available? The 13TB array keeps on getting full - so time to build Array2. I should name my arrays - got suggestions?Anyways, I want Array2 to be a little less hacked together than Array1. So, my choices for enclosure include:	

Norco RPC-4220		$362 shipped from MWave

4U (19&#8243; x 25&#8243; x 7&#8243;)
20 [...]]]></description>
			<content:encoded><![CDATA[<p>Why is there never enough storage available? The 13TB array keeps on getting full - so time to build Array2. I should name my arrays - got suggestions?Anyways, I want Array2 to be a little less hacked together than Array1. So, my choices for enclosure include:<span style="white-space: pre" class="Apple-tab-span">	</span>
<ul>
<li><a href="http://www.norcotek.com/item_detail.php?categoryid=1&amp;modelno=RPC-4220">Norco RPC-4220</a><span style="white-space: pre" class="Apple-tab-span">		</span>$362 shipped from MWave
<ul>
<li>4U (19&#8243; x 25&#8243; x 7&#8243;)</li>
<li>20 Hot Swap SAS/SATA bays<span style="white-space: pre" class="Apple-tab-span">	</span></li>
<li>Five internal SFF-8087 Mini SAS connectors <span style="white-space: pre" class="Apple-tab-span"></span></li>
</ul>
</li>
<li><a href="http://www.norcotek.com/item_detail.php?categoryid=1&amp;modelno=RPC-3216">Norco RPC-3216</a><span style="white-space: pre" class="Apple-tab-span">		</span>$346 shipped from MWave
<ul>
<li>3U  (19&#8243; x 25&#8243; x 5.1&#8243;)</li>
</ul>
<ul>
<li>16 Hot Swap SAS/SATA bays</li>
<li>Four internal SFF-8087 Mini SAS connectors <span style="color: #000000; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 16px; line-height: 20px" class="Apple-style-span"> <span style="white-space: pre" class="Apple-tab-span">	</span></span></li>
</ul>
</li>
</ul>
<p>These are nice enclosures, but you also need a power supply($100ish), power supply controller, and a sas expander ($250). So you&#8217;re really looking at $750 ish.Supermicro (who makes the drive bays in Array1), makes some nice enclosures.
<ul>
<li>SC936E1 $1029  or $64/bay
<ul>
<li>16 hot swap bays in 3U</li>
</ul>
</li>
<li>SC933E1  $942
<ul>
<li>15 hot swap bays in 3U</li>
</ul>
</li>
<li>SC836E1 $1010
<ul>
<li>16 hot swap bays in 3U</li>
</ul>
</li>
<li>SC846E1 $1180 or $49/bay
<ul>
<li>24 hot swap bays in 4U</li>
</ul>
</li>
</ul>
<p>Yes, the supermicro cases are spendy. But - they include the power supply and sas expander. And they&#8217;re great quality.My only bitch is with the depth of the cases. I don&#8217;t need space to put a motherboard in the case, so something 25&#8243; deep is just&#8230;. overkill.PS: With any case that doesn&#8217;t have a motherboard in it, you can use the Supermicro CSE-PTJBOD-CB1 to control the power supply. It&#8217;s $25 well spent.<span style="white-space: pre" class="Apple-tab-span"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scottmroberts.com/archives/19/feed</wfw:commentRss>
		</item>
		<item>
		<title>Expanding RAID &#038; Partitions on Mac</title>
		<link>http://blog.scottmroberts.com/archives/15</link>
		<comments>http://blog.scottmroberts.com/archives/15#comments</comments>
		<pubDate>Wed, 22 Apr 2009 22:17:07 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.scottmroberts.com/archives/15</guid>
		<description><![CDATA[Once my raid array had finished upsizing from 5.5GB to 9.1GB, I had to resize the partition in order to actually use the space. OS X&#8217;s Disk Utility gives the oh so friendly error    (Partition failed with the error: MediaKit reports partition (map) too small. )  Not particularly helpful, is it. All my googling has never found [...]]]></description>
			<content:encoded><![CDATA[<p>Once my raid array had finished upsizing from 5.5GB to 9.1GB, I had to resize the partition in order to actually use the space. OS X&#8217;s Disk Utility gives the oh so friendly error   <a href="http://blog.scottmroberts.com/__oneclick_uploads/2009/04/picture-2.png" title="Partition Failed"><img src="http://blog.scottmroberts.com/__oneclick_uploads/2009/04/picture-2.png" alt="Partition Failed" /></a> (Partition failed with the error: MediaKit reports partition (map) too small. )  Not particularly helpful, is it. All my googling has never found an answer, so I thought I&#8217;d post my solution here.
<ol>
<li> Open up a terminal</li>
<li>run &#8216;df&#8217;</li>
<li>Note the mount point for the drive you&#8217;re trying to expand. Mine was &#8220;/dev/disk4s1&#8243;. We&#8217;re only interested in the disk, not the slice, so I&#8217;m going to use &#8220;/dev/disk4&#8243;.</li>
<li>In Disk Utility, unmount the current partition on the disk.</li>
<li>run &#8220;sudo gpt show /dev/disk4&#8243;. If this fails, you probably didn&#8217;t unmount the partition first.<a href="http://blog.scottmroberts.com/__oneclick_uploads/2009/04/picture-5.png" title="gpt show /dev/disk4"><img src="http://blog.scottmroberts.com/__oneclick_uploads/2009/04/picture-5.png" alt="gpt show /dev/disk4" /></a></li>
<li>The line with the largest size is the partition we care about.</li>
<li>In Disk Utility, unmount the partition again.</li>
<li>run &#8220;sudo gpt destroy /dev/disk4&#8243;</li>
<li>run &#8220;sudo gpt create -f /dev/disk4&#8243;</li>
<li>run &#8220;sudo gpt add -b 409640 -s 11719262168 /dev/disk4&#8243;. Notice those numbers came from the start and length of the partition we want to save.<img src="http://blog.scottmroberts.com/__oneclick_uploads/2009/04/picture-6.png" alt="gpt destroy/create/add" /></li>
<li>Reboot.</li>
<li>Now use Disk Utility to resize the partition. If you didn&#8217;t reboot, Disk Utility will probably give an error, but it might still work. Reboot now anyways.</li>
</ol>
<p>Basically what&#8217;s going on here is that the GPT table is built only big enough for the drive it&#8217;s on. That&#8217;s a logical assumption - hard drives don&#8217;t magically get larger - unless they&#8217;re RAID arrays. We&#8217;re just removing the GPT partition information, and replacing it. Should things go crazy, as long as you&#8217;ve got the start and size information for the partition you care about, you should be good.  No guarantees obviously, but I&#8217;ve done this three times and no data loss yet. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scottmroberts.com/archives/15/feed</wfw:commentRss>
		</item>
		<item>
		<title>New Sink!</title>
		<link>http://blog.scottmroberts.com/archives/13</link>
		<comments>http://blog.scottmroberts.com/archives/13#comments</comments>
		<pubDate>Mon, 30 Mar 2009 13:49:34 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[Bathroom]]></category>

		<category><![CDATA[House]]></category>

		<guid isPermaLink="false">http://blog.scottmroberts.com/archives/13</guid>
		<description><![CDATA[Finally replaced the horrible old sink in my bathroom. One of these days I&#8217;ll remember to take a &#8220;before&#8221; picture as well. The new sink is a good 5 inches wider, but not as deep, so the bathroom actually feels bigger with it.
Only bad thing was my old faucet (A Price-Pfister Portland) doesn&#8217;t fit. side [...]]]></description>
			<content:encoded><![CDATA[<p>Finally replaced the horrible old sink in my bathroom. One of these days I&#8217;ll remember to take a &#8220;before&#8221; picture as well. The new sink is a good 5 inches wider, but not as deep, so the bathroom actually feels bigger with it.</p>
<p>Only bad thing was my old faucet (<a href="http://www.pricepfister.com/www/ImageAssets/mirror/model/bath/portland/pld042-p/042-pk00/042-PK00-rct-c1.jpg">A Price-Pfister Portland</a>) doesn&#8217;t fit. side note: Price-Pfister makes nice faucets. Their web site designer/maintainer should be shot. Their &#8220;product finder&#8221; doesn&#8217;t.</p>
<p><a href="http://blog.scottmroberts.com/__oneclick_uploads/2009/03/sink1.jpg" title="New Bathroom Sink"><img src="http://blog.scottmroberts.com/__oneclick_uploads/2009/03/sink1.thumbnail.jpg" alt="New Bathroom Sink" /></a></p>
<p><a href="http://blog.scottmroberts.com/__oneclick_uploads/2009/03/sink2.jpg" title="New Bathroom Sink (2nd view)"><img src="http://blog.scottmroberts.com/__oneclick_uploads/2009/03/sink2.thumbnail.jpg" alt="New Bathroom Sink (2nd view)" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scottmroberts.com/archives/13/feed</wfw:commentRss>
		</item>
		<item>
		<title>SAS Cables</title>
		<link>http://blog.scottmroberts.com/archives/10</link>
		<comments>http://blog.scottmroberts.com/archives/10#comments</comments>
		<pubDate>Sat, 21 Mar 2009 18:59:01 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[SAS]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.scottmroberts.com/archives/10</guid>
		<description><![CDATA[Searching for cheap sas cables&#8230;.
1M SFF-8088 to SFF-8088 cable

 Computer Cable Makers $54.50
TMCScsi $54.50
PC-PitStop $47.00
CablesOnDemand $52.80

.5M SFF-8087(host) to 4 SATA(device)

Computer Cable Makers $27.25
TMCScsi $29.50
PC-PitStop $27.00 (.75M Cable)
NewEgg $14.99

SFF-8087 to SFF-8088 Adapter

TMCScsi $74.50
PC-PitStop $53.00

All pricing is as of 3/21/2009
Update! PC-Pitstop will match the $15 SAS breakout cable price if you ask.
]]></description>
			<content:encoded><![CDATA[<p>Searching for cheap sas cables&#8230;.</p>
<p>1M SFF-8088 to SFF-8088 cable</p>
<ul>
<li> <a target="_blank" href="http://www.computercablesource.com/sas-cable-01-meter-external-mini-sas-26-to-mini-sas-26-1397.html">Computer Cable Makers $54.50</a></li>
<li><a target="_blank" href="http://www.tmcscsi.com/cgi-local/SoftCart.exe/online-store/scstore/p-C5656-1M.html?L+scstore+nzps1084ff8c788c+1241454145">TMCScsi $54.50</a></li>
<li><a target="_blank" href="http://www.pc-pitstop.com/sas_cables_adapters/8888-1M.asp">PC-PitStop $47.00</a></li>
<li><a target="_blank" href="http://www.cablesondemand.com/product/CS-SAS2MUKPTR/URvars/Items/Library/InfoManage/.htm">CablesOnDemand $52.80</a></li>
</ul>
<p>.5M SFF-8087(host) to 4 SATA(device)</p>
<ul>
<li><a target="_blank" href="http://www.computercablesource.com/sas-cable-05-meter-internal-mini-sas-36-host-to-4-sata-target-1450.html">Computer Cable Makers $27.25</a></li>
<li><a target="_blank" href="http://www.tmcscsi.com/online-store/scstore/p-I3647-At5M.html">TMCScsi $29.50</a></li>
<li><a target="_blank" href="http://www.pc-pitstop.com/sas_cables_adapters/F87H7D-75.asp">PC-PitStop $27.00 (.75M Cable)</a></li>
<li><a target="_blank" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16816116097&amp;nm_mc=OTC-Froogle&amp;cm_mmc=OTC-Froogle-_-Server+-+Accessories-_-3ware-_-16116097">NewEgg $14.99</a></li>
</ul>
<p>SFF-8087 to SFF-8088 Adapter</p>
<ul>
<li><a target="_blank" href="http://www.tmcscsi.com/cgi-local/SoftCart.exe/online-store/scstore/p-SM-088.html?E+scstore">TMCScsi $74.50</a></li>
<li><a target="_blank" href="http://www.pc-pitstop.com/sas_cables_adapters/AD8788-2.asp">PC-PitStop $53.00</a></li>
</ul>
<p>All pricing is as of 3/21/2009</p>
<p>Update! PC-Pitstop will match the $15 SAS breakout cable price if you ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scottmroberts.com/archives/10/feed</wfw:commentRss>
		</item>
		<item>
		<title>Goodbye stump, hello concrete!</title>
		<link>http://blog.scottmroberts.com/archives/4</link>
		<comments>http://blog.scottmroberts.com/archives/4#comments</comments>
		<pubDate>Fri, 20 Mar 2009 23:17:40 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
		
		<category><![CDATA[House]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://scottmroberts.com/archives/4</guid>
		<description><![CDATA[There once was a bad tree.It had to go. So I played arborist with a chainsaw, and there was nothing but a stump left. anyways - that stump was there for ages. It had chain link fence in it, so i couldn&#8217;t just use the chainsaw on it.  (seen here in a pic from 2007)Fast forward a [...]]]></description>
			<content:encoded><![CDATA[<p>There once was a bad tree.It had to go. So I played arborist with a chainsaw, and there was nothing but a stump left.<a href="http://scottmroberts.com/__oneclick_uploads/2009/03/im000504-1.jpg" title="Bad Tree"><img src="http://scottmroberts.com/__oneclick_uploads/2009/03/im000504-1.thumbnail.jpg" alt="Bad Tree" /></a> anyways - that stump was there for ages. It had chain link fence in it, so i couldn&#8217;t just use the chainsaw on it. <a href="http://scottmroberts.com/__oneclick_uploads/2009/03/im000609_2.jpg" title="im000609_2.jpg"><img src="http://scottmroberts.com/__oneclick_uploads/2009/03/im000609_2.thumbnail.jpg" alt="im000609_2.jpg" /> (seen here in a pic from 2007)</a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/im000609_2.jpg" title="im000609_2.jpg"></a>Fast forward a couple years. I got the great idea to move the back fence in a bit, and carve out a place for the trash cans to sit where they would be on my property, but accessible to the trash men. How do you remove a stump? Kerosene. Charcoal briquettes, and scrap wood to burn as a fuel source.  <a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0207.jpg" title="img_0207.jpg"><img src="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0207.thumbnail.jpg" alt="img_0207.jpg" /></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0207.jpg" title="img_0207.jpg"></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0207.jpg" title="img_0207.jpg"></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0208.jpg" title="img_0208.jpg"><img src="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0208.thumbnail.jpg" alt="img_0208.jpg" /></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0208.jpg" title="img_0208.jpg"></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0208.jpg" title="img_0208.jpg"></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0218.jpg" title="img_0218.jpg"><img src="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0218.thumbnail.jpg" alt="img_0218.jpg" /></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0218.jpg" title="img_0218.jpg"></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0218.jpg" title="img_0218.jpg"></a><a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0220.jpg" title="img_0220.jpg"><img src="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0220.thumbnail.jpg" alt="img_0220.jpg" /></a>After a couple weeks of lighting everything on fire every night - the stump was gone. So I poured the concrete, laid the brick pavers on top - and voila! <a href="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0221.jpg" title="img_0221.jpg"><img src="http://scottmroberts.com/__oneclick_uploads/2009/03/img_0221.thumbnail.jpg" alt="img_0221.jpg" /></a>The classiest trash can pad in the neighborhood. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scottmroberts.com/archives/4/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
