<?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>Testing 1, 2, 3 &#187; ZFS</title>
	<atom:link href="http://wordpress.fusetnt.com/tag/zfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://wordpress.fusetnt.com</link>
	<description>Tech, talk and tantrums</description>
	<lastBuildDate>Thu, 16 Sep 2010 10:10:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Sometimes giving in is easier</title>
		<link>http://wordpress.fusetnt.com/2009/12/sometimes-giving-in-is-easier/</link>
		<comments>http://wordpress.fusetnt.com/2009/12/sometimes-giving-in-is-easier/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 13:18:26 +0000</pubDate>
		<dc:creator>Daedalus</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[File Server]]></category>
		<category><![CDATA[3ware 9650se]]></category>
		<category><![CDATA[Areca ARC-1300ix-16]]></category>
		<category><![CDATA[Asus P5Q-E]]></category>
		<category><![CDATA[block level dedupe]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[Corsair TX-850]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Gigabyte GA-EP45 Extreme]]></category>
		<category><![CDATA[HP rack]]></category>
		<category><![CDATA[LSI SAS3081E-R]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://wordpress.fusetnt.com/?p=549</guid>
		<description><![CDATA[OpenSolaris&#8217; ZFS implementation recently picked up one of the tastiest things it possibly could: block level dedupe. Except I no longer care. Too impatient to wait for the RMA on the dead Asus P5Q-E (of which the replacement is now a spare swap-in board), thanks to an incredibly generous friend I picked up a Gigabyte [...]]]></description>
			<content:encoded><![CDATA[<p><strong>OpenSolaris&#8217; ZFS implementation recently picked up one of the tastiest things it possibly could: <a title="Block level dedupe in ZFS" href="http://blogs.sun.com/bonwick/entry/zfs_dedup" target="_blank">block level dedupe</a>.</strong></p>
<p>Except I no longer care.</p>
<p>Too impatient to wait for the RMA on the dead Asus P5Q-E (of which the replacement is now a spare swap-in board), thanks to an incredibly generous friend I picked up a Gigabyte GA-EP45-Extreme&#8230; which <a title="Open Solaris beta downloads" href="http://www.genunix.org/" target="_blank">OpenSolaris b127</a> hated, and refused to boot with. After a few days of hair pulling and switching off almost everything I could in the BIOS to try and rectify the issue, I finally admitted OpenSolaris was not to be.</p>
<div id="attachment_555" class="wp-caption aligncenter" style="width: 510px"><a href="http://wordpress.fusetnt.com/wp-content/uploads/2009/12/gigabyteep45extreme.jpg"><img class="size-full wp-image-555" title="Gigabyte GA-EP45 Extreme" src="http://wordpress.fusetnt.com/wp-content/uploads/2009/12/gigabyteep45extreme.jpg" alt="The Gigabyte GA-EP45 Extreme, great board, hated by OpenSolaris" width="500" height="411" /></a><p class="wp-caption-text">The Gigabyte GA-EP45 Extreme, great board, hated by OpenSolaris</p></div>
<p>Not willing to risk <a title="Nexenta" href="http://www.nexenta.org/" target="_blank">Nexenta</a>, I dropped to <a title="FreeBSD" href="http://www.freebsd.org/" target="_blank">FreeBSD 8</a>, the last bastion of ZFS hope (no folks, <a title="ZFS on FUSE" href="http://zfs-on-fuse.blogspot.com/" target="_blank">FUSE</a> does not count).</p>
<p>FreeBSD worked wonderfully from a compatibility front, but I soon discovered that when it came to virtualisation, it had the same options as a prisoner faced with the Spanish inquisition: basically none. There is, ironically, a version of <a title="VirtualBox for BSD" href="http://wiki.freebsd.org/VirtualBox" target="_blank">Sun&#8217;s VirtualBox</a> floating around, but it&#8217;s a hack job that hates 64-bit, and like most things FreeBSD if you&#8217;re not running from the command line you&#8217;re asking for pain.</p>
<p>And so, hoping that one day Larry Ellison would open up ZFS licensing a little more so the GPL crowd would stop whining and just integrate it already, I sighed, flicked the 3ware 9650SE into hardware RAID 6 and reached for the <a title="Ubuntu" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> 9.10 64-bit disc.</p>
<p>It worked.</p>
<h2>Post mortem: List of controller cards that will work with OpenSolaris</h2>
<p>While I note with grim satisfaction that Areca has still <a title="Areca are liars - the ARC-1300ix 16 does not support Solaris" href="http://wordpress.fusetnt.com/2009/08/areca-are-liars-the-arc-1300ix-16-does-not-support-solaris/" target="_blank">failed to produce</a> a Solaris driver for it&#8217;s ARC-1300ix series, here&#8217;s a list of PCI-Express cards known to work with OpenSolaris without requiring any RAID 0/JBOD workarounds, and being able to control at least eight drives.</p>
<ol>
<li><a title="LSI SAS3081E-R" href="http://www.lsi.com/storage_home/products_home/host_bus_adapters/sas_hbas/lsisas3081er/" target="_blank">LSI SAS3081E-R</a></li>
<li><a title="Intel SASUC8I" href="http://www.intel.com/products/server/raid-controllers/SASUC8I/SASUC8I-overview.htm" target="_blank">Intel SASUC8I</a> flashed with the <a title="TimC's comment" href="http://wordpress.fusetnt.com/2009/08/areca-are-liars-the-arc-1300ix-16-does-not-support-solaris/comment-page-1/#comment-233" target="_blank">SAS8031E-R&#8217;s IT (initiator target) firmware</a></li>
<li><a title="3ware 9650SE" href="http://www.3ware.com/products/serial_ata2-9650.asp" target="_blank">3ware 9650SE series</a></li>
</ol>
<p>Tiny, yes? The last, which I ended up with due to non-availability of the first two in Australia, is significantly more expensive as it has hardware RAID capability as well.</p>
<h2>Post mortem: Final system</h2>
<p><strong>Rack:</strong> HP 10622<br />
<strong>OS:</strong> Ubuntu 9.10<br />
<strong>PSU:</strong> Corsair TX-850<br />
<strong>CPU:</strong> Intel Q9550<br />
<strong>Memory:</strong> 8GB Corsair Dominator PC-2 8500<br />
<strong>Motherboard:</strong> Gigabyte GA-EP45 Extreme<br />
<strong>GPU:</strong> Geforce 7600GS silent (to be swapped out with a PCI card when a second 3ware controller card is bought)<br />
<strong>Controller card:</strong> 3ware 9650SE-8LPML<br />
<strong>Network card:</strong> HP NC364T<br />
<strong>Case:</strong> Chenbro RM41416B<br />
<strong>UPS:</strong> APC Smart-UPS 750<br />
<strong>Switch:</strong> Netgear GS724T<br />
<strong>System drives:</strong> Samsung HD501LJ SATA<br />
<strong>Array drives (RAID 6 w/XFS):</strong> WD RE3 1TB x3, Samsung HD103UJ 1TB x2, Seagate 7200.11 x2, Seagate 7200.12</p>
<p>The only problem left is the Seagate 7200.12, which seems to keep dropping from the array. I&#8217;ll have to see if a firmware update to the 3ware card fixes it, otherwise I may need to swap in a new drive (<em>Update: turns out the ridiculously expensive Mini-SAS to SATA cables I bought were dodgy. Upon replacing, I&#8217;ve had no dropouts).<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.fusetnt.com/2009/12/sometimes-giving-in-is-easier/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The continuous controller conundrum</title>
		<link>http://wordpress.fusetnt.com/2009/06/the-continuous-controller-conundrum/</link>
		<comments>http://wordpress.fusetnt.com/2009/06/the-continuous-controller-conundrum/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 04:24:08 +0000</pubDate>
		<dc:creator>Daedalus</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Adaptec 31605]]></category>
		<category><![CDATA[Areca ARC-1300ix-16]]></category>
		<category><![CDATA[HP P400]]></category>
		<category><![CDATA[Intel RAID Controller SRCSATAWB]]></category>
		<category><![CDATA[Intel SRCSASPH16I]]></category>
		<category><![CDATA[LSI MegaRAID SAS 84016E]]></category>
		<category><![CDATA[LSI MegaRAID SAS 8708ELP]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[PC Pitstop]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://wordpress.fusetnt.com/?p=407</guid>
		<description><![CDATA[Strike another one off the list — the HP Smart Array P400 doesn&#8217;t present drives through JBOD to the OS, only through RAID 0. This adds an extra layer of complexity to rebuilding disks, as when a disk fails, the card assumes a RAID 0 array has died, regardless of what you&#8217;re doing with ZFS. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Strike another one off the list — the <a title="HP Smart Array P400" href="http://h18004.www1.hp.com/products/quickspecs/12400_div/12400_div.html" target="_blank">HP Smart Array P400</a> doesn&#8217;t present drives through JBOD to the OS, only through RAID 0.</strong></p>
<p>This adds an extra layer of complexity to <a title="Rebuilding disks on the P400 is a hassle." href="http://ru.opensolaris.org/jive/thread.jspa?messageID=332360" target="_blank">rebuilding disks</a>, as when a disk fails, the card assumes a RAID 0 array has died, regardless of what you&#8217;re doing with ZFS. Apart from removing the ability to yank a disk on a live array then pop it back in and continue as normal, this adds extra overhead as the card is managing RAID 0 data for every drive attached to it <em>on top of</em> the RAID-Z already being done on the software side. Bad, bad, bad.</p>
<div id="attachment_412" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-412" title="The LSI MegaRAID SAS 84016E" src="http://wordpress.fusetnt.com/wp-content/uploads/2009/06/lsi84016.jpg" alt="The LSI MegaRAID SAS 84016E" width="400" height="293" /><p class="wp-caption-text">The LSI MegaRAID SAS 84016E</p></div>
<p>We have a new contender though, the <a title="LSI MegaRAID SAS 84016E" href="http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/megaraid_sas_84016e/index.html" target="_blank">LSI MegaRAID SAS 84016E</a> (also known as the Intel SRCSASPH16I), which definitely has <a title="LSI driver" href="http://docs.sun.com/app/docs/doc/819-2254/mega-sas-7d?l=zh&amp;q=T3&amp;s=t&amp;a=view" target="_blank">OpenSolaris driver support</a>, but as usual is not available in Australia (the Intel is, but is over AU$1,000). It&#8217;s more expensive than the vapourous ARC-1300ix-16, thanks to it being PCI-E 8x rather than 4x. It&#8217;s also a true RAID card with 256MB of memory, and can handle up to RAID 60 thanks to a 500MHz Intel IOP333 processor.</p>
<p><a title="PC Pitstop" href="http://www.pc-pitstop.com/sas_controllers/84016E.asp" target="_blank">PC Pitstop</a> sells them at US$689, and the site even has a section saying it ships to Australia. Now if only a certain eBay seller wasn&#8217;t selling it for almost US$100 cheaper <em>with</em> free shipping&#8230;</p>
<p>Then there&#8217;s the <a title="Intel RAID Controller SRCSATAWB" href="http://www.intel.com/products/server/raid-controllers/srcsatawb/srcsatawb-overview.htm" target="_blank">Intel RAID Controller SRCSATAWB</a>. This is a modified LSI MegaRAID SAS 8708ELP, doesn&#8217;t work in PCI-E 2.0, seems to have virtually the same featureset as the 84016E, but with only two mini-SAS ports. <a title="EYO Drop Shipping" href="http://www.retailing.com.au" target="_blank">EYO Drop Shipping</a> is currently selling it for AU$576.18.</p>
<div id="attachment_421" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-421" title="The Intel RAID Controller SRCSATAWB" src="http://wordpress.fusetnt.com/wp-content/uploads/2009/06/intelsrcsatawb.jpg" alt="The Intel RAID Controller SRCSATAWB" width="400" height="286" /><p class="wp-caption-text">The Intel RAID Controller SRCSATAWB</p></div>
<p>For both, the manuals mention nothing about JBOD, which may resign them to the same scrap heap as the P400. They do mention virtual drives, but these seem to only be accessible when creating an array. There&#8217;s no mention of running single drives in order to access software RAID.</p>
<p>Edit: Neither card offers JBOD functionality. At this rate I&#8217;ll end up buying the crazily expensive <a title="Adaptec 31605" href="http://www.adaptec.com/en-US/products/Controllers/Hardware/sas/value/SAS-31605/" target="_blank">Adaptec 31605</a> just to get working gear.</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.fusetnt.com/2009/06/the-continuous-controller-conundrum/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>One step forwards, two steps back</title>
		<link>http://wordpress.fusetnt.com/2009/02/one-step-forwards-two-steps-back/</link>
		<comments>http://wordpress.fusetnt.com/2009/02/one-step-forwards-two-steps-back/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 13:34:01 +0000</pubDate>
		<dc:creator>Daedalus</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[File Server]]></category>
		<category><![CDATA[Adaptec 31605]]></category>
		<category><![CDATA[AHCI]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hackintosh]]></category>
		<category><![CDATA[HighPoint RocketRaid 2340]]></category>
		<category><![CDATA[HP P400]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[JMB363]]></category>
		<category><![CDATA[MSI P7N Diamond]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[SXCE]]></category>
		<category><![CDATA[X25-E]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://wordpress.fusetnt.com/?p=188</guid>
		<description><![CDATA[Some purchasing has recently happened to start the file server project: Intel Q9550 ~ AUD$450 8GB Corsair DDR2 8500 ~ AUD$380 MSI P7N Diamond ~ AUD$360 MSI&#8217;s P7N Diamond was chosen for one point alone — four PCI-e x16 slots. While a lot of boards have a number of physical x16 slots, they fail to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Some purchasing has recently happened to start the file server project:</strong></p>
<ul>
<li>Intel Q9550 ~ AUD$450</li>
<li>8GB Corsair DDR2 8500 ~ AUD$380</li>
<li><a title="MSI P7n Diamond" href="http://www.msicomputer.com/product/p_spec.asp?model=P7N_Diamond&amp;class=mb" target="_blank">MSI P7N Diamond</a> ~ AUD$360</li>
</ul>
<p>MSI&#8217;s P7N Diamond was chosen for one point alone — four PCI-e x16 slots. While a lot of boards have a number of physical x16 slots, they fail to back this up electrically beyond two slots. The MSI board has three x16 electrical slots, with the fourth yellow one being an x8 — perfect for expansion.</p>
<div id="attachment_216" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-216" title="MSI P7N Diamond" src="http://wordpress.fusetnt.com/wp-content/uploads/2009/02/msip7ndiamond.jpg" alt="The P7N Diamond has just the right amount of PCI-E lanes to satisfy our expansion needs." width="450" height="299" /><p class="wp-caption-text">The P7N Diamond has just the right amount of PCI-E lanes to satisfy our expansion needs.</p></div>
<p>OpenSolaris 2008.11 was installed on this setup, on a 500GB drive hooked up to one of the NV sata ports, a DVD drive hooked up to the JMB363 controlled IDE port, a previously acquired GeForce 7600GS inserted, alongside a HighPoint RocketRaid 2340. For kicks, an Intel X25-E was hooked up to check out some awesome transfer speeds.</p>
<p>It wasn&#8217;t to be.</p>
<p>Things I&#8217;ve learned:</p>
<ul>
<li>OpenSolaris loves the MSI board, pretty much enabling everything. While it recognises the X-Fi sound, sound does not actually work. This isn&#8217;t a deal breaker. To my never ending surprise, JMB363 seems to work just fine.</li>
<li>Turning off AHCI only results in the rear eSATA ports turning off.</li>
<li>Most curiously, OpenSolaris will not recognise the X25-E drive at all. Whether this is related to the NV sata ports or otherwise, I do not know.</li>
<li>The HighPoint RocketRaid 2340 is not supported. The dual Marvell 88SX6081 chips on it technically are with voodoo beyond the install process, but are the <a title="Marvell issues #1" href="http://sunsolve.sun.com/search/document.do?assetkey=1-26-103041-1" target="_blank">cause</a> of <a title="Marvell issues #2" href="http://sunsolve.sun.com/search/document.do?assetkey=1-66-233341-1" target="_blank">some problems</a>. These have been patched it seems, but all up it seems less trouble to grab something based off LSI chipsets. While FreeBSD certainly supports the 2340, once again the sturdiness of its implementation of ZFS gives me pause.</li>
<li>There&#8217;s something called Solaris eXpress Community Edition, which abbreviates to the unfortunate SXCE, or &#8220;sexy&#8221;. It&#8217;s basically a beta containing future code, and sadly also didn&#8217;t recognise the X25-E, 2340 or X-Fi.</li>
</ul>
<p>The remaining options are few to be able to set up a 16 drive array in Solaris. Either acquire the Adaptec 31605 for around AUD$1200, or two HP P400s for around AUD$700. Obviously the HP option is significantly cheaper – <a title="HP P400 issues" href="http://in.opensolaris.org/jive/thread.jspa?threadID=89908&amp;tstart=30" target="_blank">so long as it works</a>.</p>
<p>While Solaris may seem ideal, it certainly isn&#8217;t cheap to get working thanks to limited hardware support. It could seriously be a wait for Snow Leopard and some Hackintoshing, although this is much better suited to an Intel board than this 780i.</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.fusetnt.com/2009/02/one-step-forwards-two-steps-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developments, plodding along</title>
		<link>http://wordpress.fusetnt.com/2009/01/developments-plodding-along/</link>
		<comments>http://wordpress.fusetnt.com/2009/01/developments-plodding-along/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 12:03:17 +0000</pubDate>
		<dc:creator>Daedalus</dc:creator>
				<category><![CDATA[File Server]]></category>
		<category><![CDATA[Media Centre]]></category>
		<category><![CDATA[Blu-ray]]></category>
		<category><![CDATA[Dolby TrueHD]]></category>
		<category><![CDATA[DTS-HD]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[HighPoint RocketRaid 2340]]></category>
		<category><![CDATA[Ion]]></category>
		<category><![CDATA[Mac Mini]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[XBMC]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://wordpress.fusetnt.com/?p=148</guid>
		<description><![CDATA[A few things have occured since the last postings, on both the file server and media centre fronts. I figured I should document them before I forget. Media Centre Apple did not release an updated Mac Mini, so we&#8217;re back to waiting on Nvidia&#8217;s Ion, which had some impressive demos at CES2009. Steve is a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A few things have occured since the last postings, on both the file server and media centre fronts. I figured I should document them before I forget.</strong></p>
<p><strong>Media Centre</strong></p>
<ul>
<li>Apple <a title="MacRumors, Macworld 2009 rumour winners and losers" href="http://www.macrumors.com/2009/01/12/macworld-san-francisco-2009-rumor-wrapup-winners-and-losers/" target="_blank">did not release</a> an updated Mac Mini, so we&#8217;re back to waiting on Nvidia&#8217;s Ion, which had some <a title="HotHardware Ion Preview" href="http://hothardware.com/Articles/NVIDIAs-Ion-Small-FormFactor-PC-Platform-/" target="_blank">impressive demos</a> at <a title="PCPer Ion Preview" href="http://www.pcper.com/article.php?aid=659" target="_blank">CES2009</a>. Steve is a bit busy dying, so there&#8217;s obviously other things to focus on (although <a title="Gizmodo -- new Mac Mini in March" href="http://i.gizmodo.com/5132932/apple-to-use-nvidias-atom+powered-ion-platform-for-something-mac-mini-or-apple-tv" target="_blank">rumours keep on spinning</a>).</li>
<li><a title="XBMC Tracker" href="http://xbmc.org/trac/milestone/9.04" target="_blank">XBMC 9.04</a>, due in April, will feature not only Dolby TrueHD decode, but Blu-ray container support (M2TS/M2T/MTS) and the ability to load a file through an external player. Since Media Player Classic can run without GUI, this should work seamlessly. DTS-HD doesn&#8217;t seem to be there yet, unless it&#8217;s known under some other name I&#8217;m not aware of. Either way, a big step along the way to becoming the software of choice. We&#8217;ll have to wait and see if it&#8217;ll load the Blu-ray disc automatically though, or if you need to point it right at the <a title="Blu-ray file structure is rather over-complex." href="http://www.videohelp.com/hd" target="_blank">M2Ts files</a>.</li>
<li>After some reading around the net, I&#8217;ll have to test out Windows Home Server as a base OS. Otherwise at this stage to save pain it will most likely be a straight XP Professional install. While XBMC&#8217;s focus is Linux, I don&#8217;t expect easy Blu-ray playback to hit that platform any time soon.</li>
</ul>
<div id="attachment_155" class="wp-caption aligncenter" style="width: 489px"><img class="size-full wp-image-155" title="Ion case" src="http://wordpress.fusetnt.com/wp-content/uploads/2009/01/ion-case2.jpg" alt="Apparently a 2.5-inch drive can fit in the Ion reference case." width="479" height="368" /><p class="wp-caption-text">Apparently a 2.5-inch drive can fit in the Ion reference case.</p></div>
<p><strong>File Server</strong></p>
<ul>
<li>Zebra over at <a title="Speedlabs" href="http://www.speedlabs.org" target="_blank">Speedlabs</a> suggested I&#8217;d need more than 4GB RAM to make sure Windows Server 2008 virtualisation is snappy. May as well double it to 8GB!</li>
<li>Finding out if HighPoint&#8217;s RocketRaid 2340 is OpenSolaris compatible is nigh on impossible without simply buying it, even with journalist contacts. If anyone knows somebody within HighPoint, please let me know.</li>
<li>Apparently ZFS on FreeBSD is stable so long as you run the 64-bit version, and have over 1GB of RAM according to a friend who has played with it for the last year. It might have to be a reserve option.</li>
<li>Crap. I have <a title="Seagate 1TB drives failing" href="http://www.theinquirer.net/inquirer/news/374/1050374/seagate-barracudas-7200-11-failing" target="_blank">two of these drives</a>, and Seagate is going all Apple on there being no acknowledgment. Very, very vexing.</li>
</ul>
<p>The only thing holding up the purchasing of equipment is finding out about the HighPoint card — so here&#8217;s hoping I can dig up the information soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.fusetnt.com/2009/01/developments-plodding-along/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building a file server: an exercise in compromise</title>
		<link>http://wordpress.fusetnt.com/2008/12/building-a-file-server-an-exercise-in-compromise/</link>
		<comments>http://wordpress.fusetnt.com/2008/12/building-a-file-server-an-exercise-in-compromise/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 03:10:31 +0000</pubDate>
		<dc:creator>Daedalus</dc:creator>
				<category><![CDATA[File Server]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://wordpress.fusetnt.com/?p=44</guid>
		<description><![CDATA[If you want to build a moderately high end file server (at the consumer level, anyway), the path is fraught with with a number of traps. It's also quite costly if you want a system that will suffer minimal downtime, require little attention after setting up, and has a decent amount of longevity built in.]]></description>
			<content:encoded><![CDATA[<p><strong>If you want to build a moderately high end file server (at the consumer level, anyway), the path is fraught with with a number of traps.</strong></p>
<p>It&#8217;s also quite costly if you want a system that will suffer minimal downtime, require little attention after setting up, and has a decent amount of longevity built in.</p>
<p>I recently acquired the gorgeous <a title="Chenbro RM41416B" href="http://usa.chenbro.com/corporatesite/products_detail.php?serno=41" target="_blank">Chenbro RM41416B</a>, complete with SATA backplane, slim DVD drive and triple redundant PSU from <a title="Ebay Australia" href="http://www.ebay.com.au" target="_blank">eBay</a>. The slim DVD drive was IDE — a potential problem — but otherwise this thing reaches perfection for the home enthusiast, happily taking either ATX or eATX boards.</p>
<div id="attachment_117" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-117" title="Chenbro RM41416B" src="http://wordpress.fusetnt.com/wp-content/uploads/2008/12/chenbro1.jpg" alt="The Chenbro RM41416B" width="500" height="400" /><p class="wp-caption-text">The Chenbro RM41416B</p></div>
<h2>File and Operating Systems</h2>
<p>We have a few issues though.</p>
<p>For a start, <a title="RAID 5" href="http://www.acnc.com/04_01_05.html" target="_blank">RAID 5</a> is not enough — firstly because a one disk redundancy is too little (I have been burned before, losing a stack of data with a simultaneous double hard drive failure); and secondly, because of the <a title="RAID 5 write hole" href="http://blogs.sun.com/bonwick/entry/raid_z" target="_blank">RAID 5 write hole</a>.</p>
<p>The solutions aren&#8217;t many. There&#8217;s <a title="RAID 6" href="http://www.acnc.com/04_01_06.html" target="_blank">RAID 6</a>, which allows two hard drives to fail before things go pear-shaped, but still suffers from write hole issues. Hardware RAID is expensive and often proprietary, while NAS&#8217; are great but often invoke the same proprietary issues. And both are subject to single-point-of-failure with the potential of not being able to recover your data should identical replacement hardware not be available.</p>
<p>The answer is clearly in software, and in this case the saviour is the <a title="ZFS" href="http://www.sun.com/software/solaris/ds/zfs.jsp" target="_blank">Zetabyte File System</a> (ZFS).</p>
<p>ZFS is the brainchild of <a title="Sun Microsystems" href="http://www.sun.com" target="_blank">Sun</a>, the company whose name several people curse for the existence of Java, which first slowed down our PCs, and is now busy slowing down phones. Despite this blight, Sun has managed to end up with a few <a title="VirtualBox" href="http://www.virtualbox.org/" target="_blank">nifty</a> <a title="MySQL" href="http://www.mysql.com/" target="_blank">things</a> that make up for it, including ZFS. It&#8217;s created quite a stir online, and can be found in <a title="Solaris" href="http://www.sun.com/software/solaris/" target="_blank">Solaris</a>, <a title="FreeBSD" href="http://www.freebsd.org" target="_blank">FreeBSD</a>, and soon <a title="OSX Server 10.6" href="http://www.apple.com/server/macosx/snowleopard/" target="_blank">Apple OSX Server 10.6</a> (which may be runnable on PC, assuming some <a title="Insanely Mac" href="http://www.insanelymac.com" target="_blank">wizardry</a> can be performed). OSX 10.6 is slated for around July 2009, although if we&#8217;re lucky, it might come <a title="Rumours" href="http://www.appleinsider.com/articles/08/12/18/apple_to_showcase_snow_leopard_at_macworld_report.html" target="_blank">sooner</a>. There are two things appealing to me in ZFS: it avoids the RAID write hole by checksumming everything, and can create Snapshots amazingly quickly based on diffs (that is, an initial snapshot of a file will take up zero space, as the file changes, more information will be added to the snapshot so it can revert it to the original file). So it looks like RAIDZ2, the ZFS equivalent of RAID6, is the order of the day.</p>
<p>I haven&#8217;t used FreeBSD before (and hence this may be unfounded), but I&#8217;m a little nervous about the quality of the <a title="ZFS known issues" href="http://wiki.freebsd.org/ZFSKnownProblems" target="_blank">implementation</a> of ZFS. It would make more sense to use <a title="OpenSolaris" href="http://opensolaris.org/" target="_blank">OpenSolaris</a>, being Sun&#8217;s OS, however the <a title="Hardware Compatibility List" href="http://www.sun.com/bigadmin/hcl/" target="_blank">Hardware Compatibility List</a> (HCL) is, well, not very complete, and learning Solaris after coming from a Linux background is like the death of a thousand cuts — just trying to install Nano or FlashPlayer for FireFox gave me a headache. It also has nowhere near the package management ease of <a title="Ubuntu" href="http://www.ubuntu.com" target="_blank">Ubuntu</a>, but don&#8217;t expect that to get <a title="ZFS on FUSE, or, how to have a slow file system" href="http://zfs-on-fuse.blogspot.com/" target="_blank">usable ZFS</a> any time soon due to <a title="CCDL, GPL... oh boy we love legal" href="http://kerneltrap.org/node/8066" target="_blank">ridiculous posturing</a>. Finally there&#8217;s <a title="Nexenta" href="http://www.nexenta.org/os" target="_blank">Nexenta</a>, which promises everything and more, but something about that makes me nervous as well.</p>
<p><strong>Resolution</strong>: Use OpenSolaris with ZFS, and attempt to get a whole bunch of Intel based hardware on the basis that it should be (gulp) supported.</p>
<p><strong>Cost: </strong>AUD$0</p>
<h2>Hard Drives</h2>
<p>For expansion&#8217;s sake, 1TB 7,200RPM hard drives are the order of the day, each costing around AUD$175. Slightly out of my control, I came into possession of five <a title="Western Digital RE3 1TB" href="http://www.wdc.com/en/products/Products.asp?DriveID=503" target="_blank">Western Digital RE3 1TB</a> hard drives, all from the same batch. Ideally there shouldn&#8217;t be hard drives from the one batch in the one array, as they&#8217;re likely to fail at the same time — however it&#8217;s also hard to ignore free TBs.</p>
<div id="attachment_71" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-71" src="http://wordpress.fusetnt.com/wp-content/uploads/2008/12/wdfenterprise_re3s.jpg" alt="It's hard to ignore free TBs, even if they're in the same batch." width="400" height="400" /><p class="wp-caption-text">It&#39;s hard to ignore free TBs, even if they&#39;re in the same batch.</p></div>
<p>I&#8217;d like to set up two arrays of eight drives, the first array as quickly as possible (as free space is waning), the second over a number of months. This means that for the first array, I don&#8217;t have time to purchase and manually age hard drives in an attempt to get different batches. There&#8217;s a few ways around this: buy different models and brands (of which there are a finite number), or buy from different stores and hope they have different batches. I&#8217;m opting for the first, while considering the RE3s, and playing to RAIDZ2&#8242;s tolerances.</p>
<p>The proposed arrays then, are as follows:</p>
<p><strong>Array 1:</strong></p>
<ol>
<li>Western Digital RE3</li>
<li>Western Digital RE3</li>
<li>Seagate Barracuda 7200.11 (Older batch)</li>
<li>Seagate Barracuda 7200.11 (Newer batch)</li>
<li>Samsung F1</li>
<li>Western Digital WD10EADS</li>
<li>Western Digital WD1001FALS</li>
<li>Western Digital RE3 (Hot Spare)</li>
</ol>
<p><strong>Array 2</strong></p>
<ol>
<li>Western Digital RE3</li>
<li>Western Digital RE3</li>
<li>Samsung F1</li>
<li>Seagate Barracuda 7200.11</li>
<li>Samsung F1</li>
<li>Western Digital WD10EADS</li>
<li>Western Digital WD1001FALS</li>
<li>Seagate Barracude 7200.11 (Hot Spare)</li>
</ol>
<p>Hitachi&#8217;s and other server grade hard drives are sadly just too expensive. Another option would be to set up three arrays of five drives — this would minimise having to use similar drives in each, and in the event of catastrophic failure would mean the loss of 3TB of usable data versus 5TB. Still in terms of balance, I believe the two array options is superior. From what I read, the Hot Spares can be shared between pools as well, which would add another level of safety.</p>
<p><strong>Resolution: </strong>Kit out Array 1 first, then slowly acquire the drives for Array 2.</p>
<p><strong>Cost: </strong>AUD$1,750 over multiple months (not including the six drives already owned)</p>
<h2>Motherboards and Storage Controllers</h2>
<p>The Chenbro chassis features 16 hot-swappable 3.5&#8243; bays, along with a 5.25&#8243; bay, a 3.5&#8243; internal and floppy bay, and a slimline DVD bay. Acquiring a motherboard with a suitable number of SATA ports to do the case justice  is a pointless task — most with beyond six feature a controller that is not well supported outside of Windows (like the annoyingly prevalent <a title="JMicron JMB363" href="http://www.jmicron.com/JMB363.html" target="_blank">JMicron JMB363</a>, although JMicron has claimed increased compatibility of late), and those that <a title="Gigabyte GA-EP45-DS5" href="http://www.gigabyte.com.au/Products/Motherboard/Products_Spec.aspx?ClassValue=Motherboard&amp;ProductID=2837&amp;ProductName=GA-EP45-DS5" target="_blank">exceed eight</a> tend to use a <a title="Silicon Image SiI5723" href="http://www.siliconimage.com/products/product.aspx?id=103" target="_blank">chip</a> to mirror two of the ports.</p>
<div id="attachment_61" class="wp-caption aligncenter" style="width: 267px"><img class="size-full wp-image-61" src="http://wordpress.fusetnt.com/wp-content/uploads/2008/12/jmb363.jpg" alt="Ah, so that's the sound of one pain clapping." width="257" height="253" /><p class="wp-caption-text">Ah, so that&#39;s the sound of one pain clapping.</p></div>
<p>Since Intel dropped support for IDE from its chipsets, vendors are using third party chipsets (yep, that dastardly JMB363 again) to do the job, making IDE pointless to use outside of Windows, which increases our need for SATA ports once more. So it&#8217;s time to look at controllers.</p>
<p>For a start, <a title="PCI - Wikipedia Article" href="http://en.wikipedia.org/wiki/Conventional_PCI" target="_blank">PCI</a> is out. PCI uses a shared bus of 133MB/s, and our array of hard drives will punish it way beyond its capabilities. <a title="PCI-X - Wikipedia Article" href="http://en.wikipedia.org/wiki/PCI-X" target="_blank">PCI-X</a> is also out — while it&#8217;s theoretically capable of just over a GB/s (64-bit @ 133MHz = 1,064MB/s), we may as well use the significantly faster <a title="PCI Express - Wikipedia Article" href="http://en.wikipedia.org/wiki/Pci_express" target="_blank">PCI Express</a> (PCI-E), which can handle a nice bidirectional 250MB/s per lane.</p>
<p>Taking into account that a 1TB hard drive can reach around 130MB/s average read, bundling two ports per PCI-E lane isn&#8217;t too terrible a thing to do. It&#8217;s not optimal for future expansion should things get faster (as <a title="Intel X25m Review, Tom's Hardware" href="http://www.tomshardware.com/reviews/Intel-x25-m-SSD,2012-8.html" target="_blank">SSDs</a> <a title="SSD RAID 0 Testing - The Inquirer" href="http://www.theinquirer.net/inquirer/review/137/1050137/raiding-the-ssd-intel-s-32gb-slc-ssd" target="_blank">already are</a>), but it does save on cost — and we&#8217;re essentially only crippling internal speeds, as external to the box we&#8217;ll be limited to gigabit ethernet anyway.</p>
<p>Thing is, getting a controller with eight or more ports without a RAID engine (as we don&#8217;t need one, thanks to ZFS) is next to impossible, driving up the cost considerably.  One thing that is certain, at this number of drives you&#8217;re getting a <a title="SAS - Wikipedia Article" href="http://en.wikipedia.org/wiki/Serial_Attached_SCSI" target="_blank">Serial Attached SCSI</a> (SAS) or Mini-SAS controller, with a set of breakout cables. Typically a breakout cable will fan out to four SATA connectors, and a SAS based card will work with SATA drives just fine.</p>
<p><a title="Intel SASUC8I" href="http://www.intel.com/products/server/raid-controllers/SASUC8I/SASUC8I-overview.htm" target="_blank">Intel</a> makes something that&#8217;s close, but it&#8217;s sold in batches of five and seems to only be overseas. The next sensible option seems to be some second hand <a title="HP SmartArray P400" href="http://h18004.www1.hp.com/products/servers/proliantstorage/arraycontrollers/smartarrayp400/" target="_blank">HP SmartArray P400</a>s, which do have <a title="HP SmaryArray P400 OpenSolaris Support" href="http://blogs.sun.com/pradhap/entry/solaris_hp_server_installation" target="_blank">OpenSolaris support</a>, and go for around AUD$350 at either <a title="Systemax" href="http://www.systemaxit.com.au/" target="_blank">Systemax</a> or <a title="GraysOnline" href="http://www.graysonline.com.au" target="_blank">GraysOnline</a>.</p>
<p>This is where we run into issues with the motherboard again — in that to use two P400s, you need two PCI-E 8x slots, wiping out any chance of using a PCI-E graphics card. Even the fancy boards with three PCI-E x16 ports are crippled — while they&#8217;re all certainly the right length, electrically it&#8217;s only a pair of 16x and one 4x.</p>
<p>You could get a PCI video card, but at this stage it&#8217;s a choice of two evils — Nvidia&#8217;s FX5200 (which has known problems in Windows displaying widescreen resolutions like 1,680&#215;1,050 over DVI), or ATI&#8217;s Radeon 9250 (and ATI&#8217;s drivers equal pain in the Linux world, let alone Solaris).</p>
<p>So it&#8217;s here you start thinking about server boards with integrated video like <a title="Tyan i5400PL" href="http://www.tyan.com/product_board_detail.aspx?pid=580" target="_blank">Tyan&#8217;s i5400PL</a> and adding in an eight port controller card, and weighing it against the cost of getting a standard board with a <a title="HighPoint RocketRaid 2340" href="http://www.highpoint-tech.com/USA/rr2340.htm" target="_blank">HighPoint RocketRaid 2340</a>. Of course Sun&#8217;s HCL isn&#8217;t particularly helpful in mentioning support for either the XGI Z9S GPU on the Tyan, or the HighPoint card (although HighPoint cites FreeBSD support and offers an open source Linux driver, which is a good start). The <a title="Adaptec 31605" href="http://www.adaptec.com/en-US/products/Controllers/Hardware/sas/value/SAS-31605/" target="_blank">Adaptec 31605</a> is on the HCL, but costs around AUD$600 more.</p>
<p><strong>Resolution:</strong> To test JMB363 usability and speed in Solaris before committing further.</p>
<p><strong>Cost: </strong>Undetermined</p>
<h2>Networking</h2>
<p>Most chipsets on motherboards these days use CPU cycles to run themselves effectively. To this end, a <a title="Intel PRO/1000 PT Dual Port Server Adapter" href="http://www.intel.com/Products/Server/Adapters/PRO1000PT-DualPort/PRO1000PT-DualPort-overview.htm" target="_blank">dedicated Intel PCI-E network card</a> may provide increased performance — it would also be interesting to see the effect of <a title="Intel PRO/1000 PT Quad Port Server Adapter" href="http://www.intel.com/Products/Server/Adapters/PRO1000PT-QuadPort/PRO1000PT-QuadPort-overview.htm" target="_blank">teaming/bonding across multiple ports</a>, and where the performance ceiling is. Mind you, this once again falls into the trap of not having enough PCI-E lanes on a motherboard to support a controller, video card and whatever else may be included.</p>
<div id="attachment_85" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-85" src="http://wordpress.fusetnt.com/wp-content/uploads/2008/12/inteldedicatednetwork.jpg" alt="It looks sexy, but is the extra performance worth the cost?" width="500" height="336" /><p class="wp-caption-text">It looks sexy, but is the extra performance worth the cost?</p></div>
<p><strong>Resolution: </strong>Acquire some Intel cards and do performance testing.</p>
<p><strong>Cost:</strong> Undetermined.</p>
<h2>Memory and CPUs</h2>
<p>For the sake of education, I&#8217;d like to run a virtualised copy of Windows Server 2008 on top of Solaris. To this end, I figure 4GB RAM should be enough for now — as to whether I can get away with unbuffered DIMMs depends on the motherboard employed.</p>
<p>From the CPU side, it&#8217;s quad core all the way. Thanks to our friends at <a title="SpeedLabs" href="http://www.speedlabs.org" target="_blank">SpeedLabs</a>, we know that ZFS is multithreaded, and loves on-die cache — although it would be fascinating to see the exact scalability of this during a RAID rebuild or file operations. With this in mind we&#8217;ll either end up with a Socket 771 Xeon 5405, or Socket 775 Core 2 Quad Q9550, as both feature 12MB of L2 cache. The cheaper Core 2 Quad 9450 sadly seems to not exist in stock in this country.</p>
<p><strong>Resolution: </strong>Figure out motherboard first.</p>
<p><strong>Cost:</strong> Undetermined.</p>
]]></content:encoded>
			<wfw:commentRss>http://wordpress.fusetnt.com/2008/12/building-a-file-server-an-exercise-in-compromise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

