<?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>Professional Geekism &#187; Storage</title>
	<atom:link href="http://www.ninjabadger.net/category/storage/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ninjabadger.net</link>
	<description>Ninjas. Badgers. Linux. Me.</description>
	<lastBuildDate>Fri, 05 Aug 2011 13:49:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Pretending to be a Solaris admin</title>
		<link>http://www.ninjabadger.net/2010/01/03/pretending-to-be-a-solaris-admin/</link>
		<comments>http://www.ninjabadger.net/2010/01/03/pretending-to-be-a-solaris-admin/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 14:50:32 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[nexenta]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=117</guid>
		<description><![CDATA[I&#8217;m always, always forgetting how to discover the available disks on a Solaris/OpenSolaris machine. As I was having another (un-successful) crack at getting a disk controller (other than the motherboard&#8217;s IDE controller) to work with Nexenta Core v2, I&#8217;d again forgotten how I was meant to discover the disks as-probed by the OpenSolaris kernel. Of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m always, always forgetting how to discover the available disks on a Solaris/OpenSolaris machine.</p>
<p>As I was having another (un-successful) crack at getting a disk controller (other than the motherboard&#8217;s IDE controller) to work with <a href="http://nexenta.org">Nexenta Core</a> v2, I&#8217;d again forgotten how I was meant to discover the disks as-probed by the OpenSolaris kernel.</p>
<p>Of course, Nexenta includes Ubuntu Hardy&#8217;s userland tools, but anything kernel/device-related is still very different to what I&#8217;m used to.</p>
<p>I finally found a particularly <a href="http://southbrain.com/south/tutorials/zpools.html">well-written post</a> by <a href="http://southbrain.com/south/about-me.html">Pascal Gienger</a>, whom notes that:</p>
<blockquote><p>First we will try to look up the disks accessible by our system:</p>
<p><code># format<br />
Searching for disks...done<br />
AVAILABLE DISK SELECTIONS:<br />
       0. c0d0 <default cyl 2085 alt 2 hd 255 sec 63><br />
          /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0<br />
       1. c1d0 </default><default cyl 1042 alt 2 hd 255 sec 63><br />
          /pci@0,0/pci-ide@1f,1/ide@1/cmdk@0,0<br />
Specify disk (enter its number): ^C</default></code></p>
<p>Type CTRL-C to quit &#8220;format&#8221;.</p>
<p>If your disks do not show up, use devfsadm:</p>
<p><code># devfsadm<br />
# format<br />
Searching for disks...done<br />
AVAILABLE DISK SELECTIONS:<br />
       0. c0d0 <default cyl 2085 alt 2 hd 255 sec 63><br />
          /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0<br />
       1. c0d1 </default><default cyl 1042 alt 2 hd 255 sec 63><br />
          /pci@0,0/pci-ide@1f,1/ide@0/cmdk@1,0<br />
       2. c1d0 </default><default cyl 1042 alt 2 hd 255 sec 63><br />
          /pci@0,0/pci-ide@1f,1/ide@1/cmdk@0,0<br />
       3. c1d1 </default><default cyl 1042 alt 2 hd 255 sec 63><br />
          /pci@0,0/pci-ide@1f,1/ide@1/cmdk@1,0<br />
Specify disk (enter its number): ^C</default></code></p>
<p>You&#8217;ll notice that the virtual disks are mapped as IDE/ATA drives, so the disk device names don&#8217;t have a target specification &#8220;t&#8221;.</p></blockquote>
<p>Which has helped me to finally find out that my second-hand (i.e. &#8216;borrowed&#8217; from an old work machine) Adaptec RAID card, doesn&#8217;t work with Nexenta Core v2. Still, Core v3 will be out in a few months &#8211; maybe I&#8217;ll try again then.</p>
<p>Also worth noting, as it may be useful, <code>iostat -En</code> prints out similar information useful when searching for disks to use with ZFS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2010/01/03/pretending-to-be-a-solaris-admin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Optical drive firmware updating in Linux</title>
		<link>http://www.ninjabadger.net/2009/12/10/optical-drive-firmware-updating-in-linux/</link>
		<comments>http://www.ninjabadger.net/2009/12/10/optical-drive-firmware-updating-in-linux/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 21:17:01 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=110</guid>
		<description><![CDATA[I recently needed to burn a copy of Windows 7 Pro but realisd that I&#8217;d unfortunately run out of blank DVD-Rs long ago. Fear not, for I live near an Aldi supermarket, whom sell everything dirt cheap. DVD-R&#8217;s a DVD-R, right? Wrong. I tried at least three of the twenty I purchased (for a few [...]]]></description>
			<content:encoded><![CDATA[<p>I recently <a href="http://www.youtube.com/watch?v=pT9LFlWaSec">needed to burn a copy of Windows</a> 7 Pro but realisd that I&#8217;d unfortunately run out of blank DVD-Rs long ago. Fear not, for I live near an Aldi supermarket, whom sell everything dirt cheap. DVD-R&#8217;s a DVD-R, right?</p>
<p>Wrong. I tried at least three of the twenty I purchased (for a few quid) and none of them would even begin writing. Brasero/K3B both complained about incompatible media types.</p>
<p>Remembering that my DVD drive, a trusty NEC 3500A, was designed, built and purchased somewhere between 2004 and 2005 (4-5 years ago at this point) and that I hadn&#8217;t <em>ever</em> updated the firmware, I set about researching ways and means into doing this.</p>
<p>I came across <a href="http://liggydee.cdfreaks.com/page/en/">this website</a>, run by a pair of firmware hackers named <a href="http://liggydee.cdfreaks.com/blog/">Liggy and Dee</a> whom have (between them) released, and continue to host, many firmware releases (both official and unofficial) for a wide variety of NEC optical drives.</p>
<p>What&#8217;s more, their <a href="http://binflash.cdfreaks.com/">binflash</a> (or &#8216;necflash&#8217;) utility was even released as a Linux binary and it <em>even</em> provides compatibility for reading the official NEC .exe firmware releases! I was sceptical that it would work under Ubuntu 9.10 at first, but much to my delight it worked perfectly. With a little reading, I was able to dump my current firmware (2.16) to file and subsequently flash two different firmware releases: 2.58 (an OEM firmware release) and the latest, official NEC firmware 2.1A release.</p>
<p>The full output of my escapades for anyone curious:</p>
<p><code><br />
~$ sudo ./necflash -flash -v -s Desktop/NECND350_v21A.exe /dev/sg2<br />
Binflash - NEC version - (C) by Liggy and Herrie<br />
Visit http://binflash.cdfreaks.com</code></p>
<p><code>Identified drive: 4 - 3031<br />
Detected drive from Firmware: 4</code></p>
<p><code>You are about to flash your drive with the following firmware:</code></p>
<p><code>Vendor: _NEC<br />
Identification: DVD_RW ND-3500AG<br />
Version: 2.1A</code></p>
<p><code>Remember no one can be held responsible for any kind of failure!<br />
Are you sure you want to proceed? (y/n) y</code></p>
<p><code>Entering safe mode<br />
Sending firmware to drive at 0x006000<br />
Sending firmware to drive at 0x00e000<br />
Sending firmware to drive at 0x016000<br />
Sending firmware to drive at 0x01e000<br />
Sending firmware to drive at 0x026000<br />
Sending firmware to drive at 0x02e000<br />
Sending firmware to drive at 0x036000<br />
Sending firmware to drive at 0x03e000<br />
Sending firmware to drive at 0x046000<br />
Sending firmware to drive at 0x04e000<br />
Sending firmware to drive at 0x056000<br />
Sending firmware to drive at 0x05e000<br />
Sending firmware to drive at 0x066000<br />
Sending firmware to drive at 0x06e000<br />
Sending firmware to drive at 0x076000<br />
Sending firmware to drive at 0x07e000<br />
Sending firmware to drive at 0x086000<br />
Sending firmware to drive at 0x08e000<br />
Sending firmware to drive at 0x096000<br />
Sending firmware to drive at 0x09e000<br />
Sending firmware to drive at 0x0a6000<br />
Sending firmware to drive at 0x0ae000<br />
Sending firmware to drive at 0x0b6000<br />
Sending firmware to drive at 0x0be000<br />
Sending firmware to drive at 0x0c6000<br />
Sending firmware to drive at 0x0ce000<br />
Sending firmware to drive at 0x0d6000<br />
Sending firmware to drive at 0x0de000<br />
Sending firmware to drive at 0x0e6000<br />
Sending firmware to drive at 0x0ee000<br />
Sending firmware to drive at 0x0f6000<br />
Sending firmware to drive at 0x0fe000<br />
Sending checksum to drive<br />
Erasing flash block 2<br />
Erasing flash block 3<br />
Erasing flash block 4<br />
Erasing flash block 5<br />
Erasing flash block 6<br />
Erasing flash block 7<br />
Erasing flash block 8<br />
Erasing flash block 9<br />
Erasing flash block 10<br />
Erasing flash block 11<br />
Erasing flash block 12<br />
Erasing flash block 13<br />
Erasing flash block 14<br />
Erasing flash block 15<br />
Erasing flash block 16<br />
Erasing flash block 17<br />
Erasing flash block 18<br />
Writing flash block 2<br />
Writing flash block 3<br />
Writing flash block 4<br />
Writing flash block 5<br />
Writing flash block 6<br />
Writing flash block 7<br />
Writing flash block 8<br />
Writing flash block 9<br />
Writing flash block 10<br />
Writing flash block 11<br />
Writing flash block 12<br />
Writing flash block 13<br />
Writing flash block 14<br />
Writing flash block 15<br />
Writing flash block 16<br />
Writing flash block 17<br />
Writing flash block 18<br />
Leaving safe mode<br />
</code><br />
Whilst the 2.58 OEM release didn&#8217;t fix my problems, 2.1A did and I now have a freshly-burnt copy of Windows 7 Pro to go and play games with. Nice one, Liggy &#038; Dee. <img src='http://www.ninjabadger.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2009/12/10/optical-drive-firmware-updating-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m spoilt these days&#8230;</title>
		<link>http://www.ninjabadger.net/2009/02/25/im-spoilt-these-days/</link>
		<comments>http://www.ninjabadger.net/2009/02/25/im-spoilt-these-days/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 17:27:13 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[University]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[nf7-s]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[sata]]></category>
		<category><![CDATA[uni]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=82</guid>
		<description><![CDATA[I&#8217;ve just had to setup Windows on a physical machine (shudder) to control and monitor the IOMeter disk benchmarks that are needed for my final year project. I didn&#8217;t try to run it in Wine, but I suppose I should&#8217;ve. Needless to say, I do require it to be perfect in order to maintain the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just had to setup Windows on a physical machine (shudder) to control and monitor the IOMeter disk benchmarks that are needed for my final year project. I didn&#8217;t try to run it in Wine, but I suppose I should&#8217;ve. Needless to say, I do require it to be <strong>perfect</strong> in order to maintain the fairness of my testing, so Windows was unfortunately my first choice.</p>
<p>Due to the age of the hardware I had lying around; an old Athlon XP-M system with an Abit NF7-S 2.0 and 512MB of &#8216;borrowed&#8217; memory (thanks Ian), it was safe to say that it wouldn&#8217;t be any good installing Vista on it. Therefore I downloaded and burnt an XP ISO from my MSDN account and set about installing XP to the 200GB SATA drive I had (thanks Neillans, actually!)</p>
<p>The Abit NF7-S range of boards (particularly the V2.0) were highly-regarded during their hay-day: a testament to <a href="http://www.tomshardware.com/news/abit-motherboard-motherboards,6715.html">Abit&#8217;s awesome legacy</a>. Not least for their inclusion of SATA ports way back in 2002, when Serial ATA was a relatively new feature on desktop boards. It even included basic RAID functions across the twin ports, courtesy of the Sil3112r chipset, which is still sold today if you look hard enough. When this was my main motherboard I actually ran a pair of 36GB WD Raptors in RAID-0 (scarily the same pair I use as my root drive now! I&#8217;m poor, OK?) and everything worked extremely well.. I never had a single problem with it.</p>
<p>But fast-forward to installing XP onto a SATA single disk, and I was stumped for a little while. Aside from the faff in convincing my floppy drive to work with the board (I&#8217;d previously disabled it via three, separate options in the BIOS &#8212; nightmare) I then had XP&#8217;s installation looping continuously, instead of booting from the HDD to continue with the second phase of the installation. It was almost as if XP was failing to write NTLDR into the MBR, somehow.</p>
<p>Now by convention on modern motherboards, SATA ports can typically be set to three modes: RAID, AHCI, and IDE. The latter of which is used purely for compatibility with older operating systems. However, the &#8216;RAID&#8217; mode typically prevents that particular disk from being presented as a possible boot disk by marking it for use within RAID arrays only. It&#8217;s all fairly self-explanatory, however.</p>
<p>However, within the NF7-S&#8217;s BIOS, there are no such options. You can either enable/disable the SATA chipset, and <em>optionally</em> enable/disable the &#8216;SATA RAID ROM&#8217;, which you would believe would be only required if creating RAID arrays. I didn&#8217;t wish to use the RAID features and therefore I didn&#8217;t intend on ear-marking the disk as a RAID disk, as <em>I wanted to boot from it</em>. Sounds sensible, right?</p>
<p>Sadly, unless this ROM option is actually enabled, regardless of whether or not I wished to use any of the RAID features; the disks will not be presented as boot disks. Quite why there is even an option in the first place is beyond me! Because of this, the XP installation CD was failing to find a suitable boot disk and was therefore intent on looping endlessly through the first phase of the installation process. Fun times&#8230;</p>
<p>It has since occurred to me just how far SATA adoption and usability has actually come in the last 5-6 years. With most chipsets now natively including anything from two to eight AHCI SATA ports, as well as incorporating much better integration into the BIOS menus. Similarly, with natively AHCI-aware operating systems such as Linux, Solaris (and friends), many BSDs, Vista (and Windows 7!) now becoming largely common-place, there are few reasons for any of the IDE-compatibility options any longer.</p>
<p>That is, unless you&#8217;ve only got a single-core processor, 512MB of memory and an old, awkward (but great) motherboard. I just wish the IOMeter devs would consider creating a GTK+/QT4 front-end for dynamo! <img src='http://www.ninjabadger.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2009/02/25/im-spoilt-these-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classic XKCD</title>
		<link>http://www.ninjabadger.net/2008/07/30/classic-xkcd/</link>
		<comments>http://www.ninjabadger.net/2008/07/30/classic-xkcd/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 07:58:59 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=39</guid>
		<description><![CDATA[For those of you who don&#8217;t follow XKCD, you really are missing out. It&#8217;s just genius, and today&#8217;s comic really did tickle me.. (Click for a larger image!) This really is a true story, and she doesn&#8217;t know I put it in my comic because her wifi hasn&#8217;t worked for weeks. Well, I laughed at [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who don&#8217;t follow XKCD, you really are missing out. It&#8217;s just genius, and today&#8217;s comic really did tickle me.. (<em>Click for a larger image!</em>)</p>
<p><a href="http://imgs.xkcd.com/comics/cautionary.png"><img alt="This really is a true story, and she doesn't know I put it in my comic because her wifi hasn't worked for weeks." src="http://imgs.xkcd.com/comics/cautionary.png" class="aligncenter" width="665" height="277" /></a><br />
<strong>This really is a true story, and she doesn&#8217;t know I put it in my comic because her wifi hasn&#8217;t worked for weeks.</strong></p>
<p>Well, I laughed at least. And it reminds me of a famous euphemism, too!</p>
<p>Nick: &#8220;<em>Jon, why have you locked your door?</em>&#8221;<br />
Jon:  &#8220;<em>I&#8217;m re-compiling my kernel!</em>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2008/07/30/classic-xkcd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s alive!</title>
		<link>http://www.ninjabadger.net/2008/06/16/its-alive/</link>
		<comments>http://www.ninjabadger.net/2008/06/16/its-alive/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 10:25:18 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[supermicro]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/?p=33</guid>
		<description><![CDATA[I&#8217;ve recently been building servers again. Aside from the usual 2U stuff, I thought I&#8217;d show a few pictures of the current project I&#8217;m working on. This 4U Supermicro chassis is destined to be used as our backup/storage server at the co-lo facility. VM backups, database backups, general file store, etc. etc. Plenty of drive [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been building servers again. Aside from the usual 2U stuff, I thought I&#8217;d show a few pictures of the current project I&#8217;m working on. This 4U Supermicro chassis is destined to be used as our backup/storage server at the co-lo facility. VM backups, database backups, general file store, etc. etc.</p>
<div align="center">
<a href="http://ninjabadger.net/hosted/zfs-frontback.jpg"><img src="http://ninjabadger.net/hosted/zfs-frontback.jpg"  width="75%" alt="ZFS Server: 24 hotswap bays" /></a></p>
<p>Plenty of drive bays there (24 to be exact).</p>
<p><a href="http://ninjabadger.net/hosted/zfs-topdown.jpg"><img src="http://ninjabadger.net/hosted/zfs-topdown.jpg" width="75%" alt="ZFS Server: a view from above" /></a></p>
<p>Here you can see how neat it is. Partly because of the good design of the case, and partly because of the tight integration with Supermicro&#8217;s own boards. The shroud that ducts air over the CPU also works wonders.</p>
<p><a href="http://ninjabadger.net/hosted/zfs-backfront.jpg"><img src="http://ninjabadger.net/hosted/zfs-backfront.jpg" width="75%" alt="ZFS Server: very, very loud fans." /></a></p>
<p>As you can imagine, it sounds like a jet taking-off when it&#8217;s going at full pelt. I wonder if co-los typically have an &#8216;upper noise limit&#8217;? <img src='http://www.ninjabadger.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />
</div>
<p>I&#8217;ll put more detail down about what I&#8217;m doing with it a bit later&#8230; I&#8217;m currently testing all manner of Solaris-based distributions (a learning experience in its own right) with some funky zpool configurations. More to come!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2008/06/16/its-alive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

