<?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>Anchor Web Hosting Blog &#187; raid</title>
	<atom:link href="http://www.anchor.com.au/blog/tag/raid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anchor.com.au/blog</link>
	<description>A view into the Anchor Engineroom</description>
	<lastBuildDate>Wed, 08 Feb 2012 00:51:36 +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>Resonance Cachecade</title>
		<link>http://www.anchor.com.au/blog/2011/08/resonance-cachecade/</link>
		<comments>http://www.anchor.com.au/blog/2011/08/resonance-cachecade/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 03:12:55 +0000</pubDate>
		<dc:creator>Barney Desmond</dc:creator>
				<category><![CDATA[FTW]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[cachecade]]></category>
		<category><![CDATA[lsi]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.anchor.com.au/blog/?p=1753</guid>
		<description><![CDATA[We don&#8217;t normally post about hardware wankery, but this little piece of shininess appeared for free in some of the newer Dell servers we&#8217;ve been ordering, and it actually sounds like it&#8217;s not an awful hack. Cachecade is an LSI technology (Dell PERC cards are rebranded gear) that adds a read-cache tier to the RAID [...]]]></description>
			<content:encoded><![CDATA[<p>We don&#8217;t normally post about hardware wankery, but this little piece of shininess appeared for free in some of the newer Dell servers we&#8217;ve been ordering, and it actually sounds like it&#8217;s not an awful hack.</p>
<p><a href="http://www.lsi.com/products/storagesw/Pages/MegaRAIDCacheCadeSoftware.aspx">Cachecade</a> is an LSI technology (Dell PERC cards are rebranded gear) that adds a read-cache tier to the RAID logic, in the form of solid-state disks. While SSDs are still too expensive for mass-scale primary storage, they&#8217;re cheap enough that you can burn a few hundred bucks and get 50gb worth of faster reads.</p>
<p>The real benefit of this style of read-cache should be for random block reads, where SSDs proverbially drop excrement over rotational media from a great height. The jury is still out for us &#8211; we&#8217;ve just started using cachecade on a couple of VM hypervisors and a customer DB server, but we&#8217;re hoping to see some noticeable impact even on a qualitative basis.</p>
<p>In truth, the performance improvements will be difficult for us to quantify on our own workloads. You can apparently get this functionality if you purchase the new <em>LSI® MegaRAID® CacheCade™ Pro 2.0</em>, but I&#8217;d bet that it&#8217;s not exposed through something sane (like SNMP) and you&#8217;ll be forced to use the perennially-awful MegaCLI tool to get at the data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anchor.com.au/blog/2011/08/resonance-cachecade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RAIDing USB flash disks &#8211; not just a silly stunt</title>
		<link>http://www.anchor.com.au/blog/2009/09/raiding-usb-flash-disks-not-just-a-silly-stunt/</link>
		<comments>http://www.anchor.com.au/blog/2009/09/raiding-usb-flash-disks-not-just-a-silly-stunt/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 05:22:27 +0000</pubDate>
		<dc:creator>Barney Desmond</dc:creator>
				<category><![CDATA[FTW]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[md]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[thumbdrive]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.anchor.com.au/blog/?p=1168</guid>
		<description><![CDATA[We&#8217;ve seen it all before: hay guyz, check this out, I got a bunch of old 64mb thumb drives and made a RAID out of them! now i can put all my pr0n on there roffle lolololll RAIDed floppies? It&#8217;s been done. RAIDed tapes? Yo dawg, that&#8217;s an enterprise storage solution! Let&#8217;s talk seriously now. [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve seen it all before:</p>
<blockquote><p>hay guyz, check this out, I got a bunch of old 64mb thumb drives and made a RAID out of them! now i can put all my pr0n on there roffle lolololll</p></blockquote>
<p>RAIDed floppies? <a href="http://ohlssonvox.8k.com/fdd_raid.htm">It&#8217;s been done</a>. RAIDed tapes? Yo dawg, <a href="http://www.google.com.au/search?q=rait+tape">that&#8217;s an <em>enterprise storage solution</em></a>! Let&#8217;s talk seriously now.</p>
<p>I have a fileserver that my family uses, it&#8217;s just a box with a couple pairs of hard drives in it (RAID-1, thank you very much. None of this starving-student crap with an oddball assortment of drives in RAID-0). Given that the box is used exclusively for serving up SMB shares, the OS installation is tiny.</p>
<p>I could&#8217;ve gone with something really stripped down and optimised, but that would require <em>effort</em>; sysadmins are allergic to unnecessary effort. Instead I just installed Ubuntu jaunty via netinst. Laugh all you want, but I have better things to do, like sleep.</p>
<div id="attachment_1170" class="wp-caption alignright" style="width: 310px"><a href="http://www.anchor.com.au/blog/wp-content/uploads/2009/09/chikage_raid_usb.jpg"><img class="size-medium wp-image-1170" src="http://www.anchor.com.au/blog/wp-content/uploads/2009/09/chikage_raid_usb-300x217.jpg" alt="Close-up of chikage's OS drives" width="300" height="217" /></a><p class="wp-caption-text">Close-up of chikage&#39;s OS drives</p></div>
<p>The old system was whining about missing one half of its RAID-1, so I decided to splurge on a pair of 4gb USB flash disk &#8211; the princely sum of $22 for the pair. I setup the md software raid volumes ahead of time, which were happily picked up by the ubuntu installer &#8211; 512MiB /boot partition and the rest handed off for LVM to manage.</p>
<p>I could bore you with a bunch of details, but who cares about that.</p>
<ul>
<li>Does it work? Yes, albeit a bit slower during bootup &#8211; total boot time from power-button to login prompt is 90 seconds.</li>
<li>Does the RAID work? Nicely, thank you. You can yank a drive out and it&#8217;ll keep ticking along.</li>
<li>Is there enough capacity? Plenty, the OS filesystem is 44% full.</li>
<li>Won&#8217;t swapping kill it? Yes, maybe eventually. The system has 1GiB of RAM, more than enough when you consider it&#8217;s only <em>really</em> using about 100MiB. At least there&#8217;s a chance both drives won&#8217;t fail at exactly the same time, so I can replace one.</li>
<li>Am I taking backups? Of course! If it toasts itself it&#8217;s not big deal.</li>
</ul>
<p>What next? Hmm, if I splash out I could buy another pair of flash disks and kick it up to <strong>RAID-10</strong> for a performance boost!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anchor.com.au/blog/2009/09/raiding-usb-flash-disks-not-just-a-silly-stunt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tales of Hardware &#8211; IBM x3650</title>
		<link>http://www.anchor.com.au/blog/2009/03/tales-of-hardware-ibm-x3650/</link>
		<comments>http://www.anchor.com.au/blog/2009/03/tales-of-hardware-ibm-x3650/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 05:03:54 +0000</pubDate>
		<dc:creator>Barney Desmond</dc:creator>
				<category><![CDATA[FTW]]></category>
		<category><![CDATA[adaptec]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[drive sled]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[lock-in]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[supermicro]]></category>
		<category><![CDATA[x3650]]></category>

		<guid isPermaLink="false">http://www.anchor.com.au/blog/?p=500</guid>
		<description><![CDATA[All the servers Anchor buys are from Supermicro. Most people won&#8217;t have heard of them, but they&#8217;re a sizeable hardware vendor that also does some OEM gear. Supermicro certainly doesn&#8217;t carry the mindshare of other big brands like HP, Dell, et al., but we chose them because their stuff is reliable and affordable &#8211; we [...]]]></description>
			<content:encoded><![CDATA[<p>All the servers Anchor buys are from Supermicro. Most people won&#8217;t have heard of them, but they&#8217;re a sizeable hardware vendor that also does some OEM gear. Supermicro certainly doesn&#8217;t carry the mindshare of other big brands like HP, Dell, et al., but we chose them because their stuff is reliable and affordable &#8211; we focus on the things that actually <em>matter</em>, rather than some enterprise-y idea of sticking with big brands that you trust &#8211; &#8220;noone ever got fired for buying IBM&#8221; they say.</p>
<p>Actually, hold that thought for a moment.<br />
<span id="more-500"></span></p>
<p>I&#8217;ve got a couple of servers colocated at the datacentre, the newer of the two is an IBM x3650 named yumi. I chose the IBM because it was on special at the time, and has the capacity for expansion that I desired &#8211; it&#8217;s a 2RU box with room for two Xeons, 12 FB-DIMM RAM slots and six hot-swap hard drive bays (eight if you choose the 2.5&#8243; option).</p>
<p>There are a number of things I like about the IBM compared to the Supermicros that I&#8217;ve worked with so far. The documentation doesn&#8217;t suck and the hardware is very nice to work with, almost entirely tool-less. The rackmount rails are an absolute joy. On the downside, yumi weighs about 20kg &#8211; hefting that much server over your head and onto the rails is no mean feat.</p>
<p>Thing&#8217;s haven&#8217;t been entirely without problems and annoyances, of course. One of the reasons to buy hardware from BigCorp is support. There&#8217;s much to be said for being able to get someone on-site to fix or replace your troublesome hardware when something goes wrong. At Anchor we&#8217;re not too concerned about that. We keep more than enough spare hardware on-hand to deal with failures, and this is just a factor of the way we run things. No hardware vendor can give us instant turnaround (we can be on-site in 10-15min), and the kinds of failures we have deal with are best dealt with ourselves.</p>
<p>Likewise, my colocated server is for my own use, so I&#8217;ve no need for vendor support. One of the downsides then of buying from BigCorp is that you tend to get locked-in to their way of doing things. I was planning to install a second CPU that I&#8217;d picked up through retail channels, only to discover that the heatsink is entirely non-standard, and that the motherboard requires a separate Voltage Regulator Module (not the case with Supermicro servers). There are good reasons for this, and I&#8217;m sure big enterprises don&#8217;t much care about the cost, but a $400 price difference for me was galling.</p>
<p>Don&#8217;t even think about buying non-IBM hard drives either &#8211; the server doesn&#8217;t come with empty hot-swap drive sleds, just blanking plates to cover the front of the chassis. Ebay provided a way out of this one, but it was something of a hassle getting them shipped over from the US. Joy of joys, IBM also uses <em>torx screws</em> on the drive sleds. It looks like I&#8217;m <a href="http://www.codinghorror.com/blog/archives/001200.html">not the only one who thinks IBM engages in deviant sexual behaviour</a> either.</p>
<p>After the purchase of an overpriced Xeon E5420 and half a dozen drive sleds, I turned my attention to the disk subsystem itself. I wanted a hardware RAID card, and lo and behold, there&#8217;s one available. A little more money later, and I&#8217;ve got myself a RAID-10 array across half a dozen drives. Of course it&#8217;s not written anywhere, but the controller is a specialised piece of kit made by Adaptec (it uses the aacraid driver in Linux). We&#8217;ve had some mixed experiences with Adaptec hardware at Anchor, but I don&#8217;t have much choice either (the card with it&#8217;s battery-backed cache RAM sits in a DIMM slot on the motherboards&#8230; huh?).</p>
<p>A couple of weeks ago yumi was rebooted for a kernel update, and then promptly failed to come up. After much prodding I noticed that the RAID card wasn&#8217;t bootable, its boot BIOS had disappeared entirely from the usual POST process! My solution was to install GRUB to a USB stick &#8211; this is sufficient to kickstart the process and then pass control to the main drives, which otherwise seem to be working fine. Needless to say, I&#8217;m rather unimpressed. I&#8217;ll probably get around to making a support request eventually, but the fact is that I&#8217;m pretty lazy. Indirectly, this is a great argument for letting other people deal with server hardware, rather than colocating your own kit.</p>
<p>There&#8217;s two predictable responses here, as I see it:</p>
<ol>
<li>&#8220;IBM are bastards!&#8221;</li>
<li>&#8220;<a href="http://www.penny-arcade.com/comic/2004/3/24/">That hardware&#8217;s not <em>for</em> you</a>&#8220;</li>
</ol>
<p>You get to choose. I just think it&#8217;s a learning experience, and now I&#8217;m curious about some HP hardware&#8230; I expect I&#8217;m in for some more learning.</p>
<p><span style="color:#999999;">(actually, there&#8217;s another possible response: &#8220;why don&#8217;t you hack up a solution yourself? it&#8217;d be cheap, too&#8221;. anyone who&#8217;s worked with computers for a long time knows that the <em>last</em> thing you want to do is faff around with computers. I&#8217;d much rather be out taking photos, sewing, changing the world, etc.)</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anchor.com.au/blog/2009/03/tales-of-hardware-ibm-x3650/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safely handling RAID failure</title>
		<link>http://www.anchor.com.au/blog/2009/03/safely-handling-raid-failure/</link>
		<comments>http://www.anchor.com.au/blog/2009/03/safely-handling-raid-failure/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 00:33:17 +0000</pubDate>
		<dc:creator>Davy Jones</dc:creator>
				<category><![CDATA[FTW]]></category>
		<category><![CDATA[co-location]]></category>
		<category><![CDATA[dedicated server]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.anchor.com.au/blog/?p=487</guid>
		<description><![CDATA[With hard discs being by far the most common point of failure in servers RAID does wonders for protection against loss of data. With a RAID array in normal operation we&#8217;re in a pretty safe place. We know that we can suffer failure of a drive without loss of data or disruption of service. Once [...]]]></description>
			<content:encoded><![CDATA[<p>With hard discs being by far the most common point of failure in servers RAID does wonders for protection against loss of data.</p>
<p>With a RAID array in normal operation we&#8217;re in a pretty safe place. We know that we can suffer failure of a drive without loss of data or disruption of service. Once a drive has failed however we&#8217;re in a slightly more precarious position. Loss of another drive or damage to the remaining drive could easily cause major problems. At this point the only thing that can protect you can against data loss if you make a mistake is your backups &#8211; you did configure backups didn&#8217;t you?</p>
<p>Restoring a damaged RAID array is a task that requires extra caution. </p>
<p>On our range of <a href="http://www.anchor.com.au/dedicated-hosting/dedicated-servers.py">dedicated servers</a> and <a href="http://www.anchor.com.au/vps/virtual-private-server.py">vps</a>&#8216; it&#8217;s one of those things that just happens automatically and the client usually only finds out after the problem has been fixed. For our co-location customers however it&#8217;s a task that we often find ourselves involved with to lend a helping hand.</p>
<p>With this in mind we&#8217;ve started to put together a series of articles discussing the steps we take to <a href="http://www.anchor.com.au/hosting/support/RAID_Hard_Disk_Replacement">restore a Linux RAID array after hard disc failure</a> and <a href="http://www.anchor.com.au/hosting/dedicated/recovering_from_windows_software_raid_failure">recoving from a Windows software RAID failure </a> We hope you find them useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anchor.com.au/blog/2009/03/safely-handling-raid-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A tale of two drives</title>
		<link>http://www.anchor.com.au/blog/2008/10/a-tale-of-two-drives/</link>
		<comments>http://www.anchor.com.au/blog/2008/10/a-tale-of-two-drives/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 00:09:06 +0000</pubDate>
		<dc:creator>Barney Desmond</dc:creator>
				<category><![CDATA[WTF]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.anchor.com.au/blog/?p=17</guid>
		<description><![CDATA[It&#8217;s no secret that we&#8217;d rather be working on Linux than Windows here at Anchor. It is, by and large, much more annoying to actually get anything done, but it also just breaks in opaque and unexplained ways. O Windowes, let me count the ways in which you are broken! This is one such problem [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s no secret that we&#8217;d rather be working on Linux than Windows here at Anchor. It is, by and large, much more annoying to actually get anything done, but it also just breaks in opaque and unexplained ways. <em>O Windowes, let me count the ways in which you are broken!</em> This is one such problem we ran into yesterday.</p>
<p>Hard drive failure is a fact of life when you run servers, by sheer virtue of that fact that you have hundreds of them. To mitigate the risk and reduce unscheduled downtime, we use Window&#8217;s built-in software RAID feature. It&#8217;s not an enterprise solution, but it gets the job done. What&#8217;s important is staying online and not losing data.</p>
<p>Did I mention that trying to monitor a Windows box is a nightmare? A colleague of mine wrote <a href="http://www.anchor.com.au/hosting/dedicated/monitoring_windows_software_raid" target="_blank">a script to allow us to keep a watchful eye on Windows RAID volumes</a>, it&#8217;s a lifesaver. A recently-deployed machine got a broken mirror, which we were able to act on immediately. We removed the dodgy mirror and prepared a replacement (we always have plenty of spares, of course). Allow me now to re-enact this scene&#8230;</p>
<blockquote><p>Windows (sounding almost efficient): The driver has detected that device \Device\Harddisk1\DR9 has predicted that it will fail</p>
<p>Sysadmin: Thanks, Windows, I&#8217;ll get right on that. You didn&#8217;t say whether that was SMART, or just voodoo, but whatever, it&#8217;s good to know.</p>
<p><em>The bad drive is removed and a replacement installed in the hotswap drive bay</em></p>
<p>Sysadmin: Okay, Windows, do your stuff. &#8220;Scan for new hardware&#8221;, please.</p>
<p><em>A pause.</em></p>
<p>Sysadmin: Ahem, Windows, &#8220;Scan for new hardware&#8221; and find my drive.</p>
<p>Windows: &#8216;Ey there, chaps. Do what now, you say? AIEEEEGRH!!</p>
<p><em>The server stops responding entirely, necessitating a touch of the reset button</em></p></blockquote>
<p>Needless to say, we&#8217;re rather unimpressed, and have to call the customer to let them know why it&#8217;s just dropped offline.</p>
<p>A quick check of the logs is in order. It&#8217;s also frustrating that there&#8217;s no sane way to scroll through log entries in Windows with something like a text editor, or to &#8220;tail&#8221; a log as it&#8217;s updated in realtime.</p>
<blockquote><p>09:36 &#8211; The previous system shutdown at 9:21:23 AM on 8/10/2008 was unexpected.</p>
<p><em>Okay, it went down at 09:21, which is correct. Now if we look back in time a little&#8230;</em></p>
<p>09:21 &#8211; dmio: Harddisk1 write error at block 1953524618 due to disk removal</p></blockquote>
<p>*sigh* And this is after the disk was removed cleanly&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anchor.com.au/blog/2008/10/a-tale-of-two-drives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

