<?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>Zarathustra Shall Speak &#187; Storage</title>
	<atom:link href="http://zarathustrashallspeak.com/tag/storage/feed/" rel="self" type="application/rss+xml" />
	<link>http://zarathustrashallspeak.com</link>
	<description>And you yourself are also this Will to Power.</description>
	<lastBuildDate>Tue, 17 Jan 2012 20:44: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>RHEL/CentOS 5.3 and iSCSI Targets</title>
		<link>http://zarathustrashallspeak.com/2009/07/07/rhelcentos-5-3-and-iscsi-targets/</link>
		<comments>http://zarathustrashallspeak.com/2009/07/07/rhelcentos-5-3-and-iscsi-targets/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 11:14:55 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=80</guid>
		<description><![CDATA[I personally find iSCSI to be an overrated storage solution; there are so many better, more managable options out there.]]></description>
			<content:encoded><![CDATA[<p>Strongly recommend grabbing the enterprise iSCSI target package from <a href="http://atrpms.net/">ATrpms</a>.  Direct link to the package listing is: <a href="http://atrpms.net/dist/el5/iscsitarget/">http://atrpms.net/dist/el5/iscsitarget/</a>.</p>
<p>The scsi-target-utils package distributed with RHEL/CentOS 5.3 is okay for simple stuff, but definitely out of date.   And it completely fails when attempting to boot diskless systems via iSCSI over Infiniband.  Spent quite a bit of time tonight attempting to figure out why BoIB 2.0.0 with a ConnectX card refused to communicate with my apparently working (export connectable/useable on other machines) iSCSI volume.  Replaced tgtadm with the enterprise iSCSI target, and boom &#8211; instant satisfaction.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/07/07/rhelcentos-5-3-and-iscsi-targets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun StorageTek 6140, CentOS 5.3</title>
		<link>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/</link>
		<comments>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 15:58:15 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=78</guid>
		<description><![CDATA[*holds up small card*  Multipath!  Multipath!  Multipath!]]></description>
			<content:encoded><![CDATA[<p>I fear no Sun hardware, for I am fear incarnate.</p>
<p>First, download the appropriate drivers for your FC HBA.  I&#8217;m currently using a QLogic card, and you should be, too.  If you&#8217;re not, your mileage and sanity may vary.  At any rate, a quick trip to the QLogic site provided me with <em>qla2xxx-v8.02.23_4-dist.tgz</em>, which I shoved into /opt.</p>
<p>The thing of primary importance are the Linux rdac drivers.  The rdac drivers they provide are out of date and will not compile against any modern kernel.  You can snag the updated rdac drivers from: <a href="http://lsi.com/rdac/rdac-LINUX-09.02.C5.13-source.tar.gz">http://lsi.com/rdac/rdac-LINUX-09.02.C5.13-source.tar.gz</a></p>
<p>Those, too, go into /opt.</p>
<p>Now on with the awesome:</p>
<pre class="code">
cd /opt
tar -zxf qla2xxx*.tgz
cd qlogic
./drvrsetup
cd qla2xxx-8*
./extras/build.sh install
cd /opt
tar -zxf rdac-LINUX-09.02.C5.13-source.tar.gz
cd linuxrdac-09.02.C5.13
make
make install
y
</pre>
<p>Open up /boot/grub/grub.conf.</p>
<p>Copy your existing Grub entry and paste it at the bottom of your file.  This is your fallback.  For the primary entry, modify the initrd line to point to mpp-YOURKERNELVERSION.img.  It should look similar to the following:</p>
<pre class="code">
initrd /mpp-2.6.18-128.1.14.el5.img
</pre>
<p>Of course, if your kernel is a different version, the numbers will be different.</p>
<p>Open up /etc/multipath.conf and do some pasting:</p>
<pre class="code">
blacklist {
        devnode "*"
}
devices {
        device {
                vendor SUN
                product CSM200_R
                product_blacklist "Universal Xport"
                features "1 queue_if_no_path"
                path_checker rdac
                hardware_handler "1 rdac"
                path_grouping_policy group_by_prio
                prio "rdac"
                failback immediate
        }
}
</pre>
<p>This may need to be modified depending on what you want/need; I&#8217;m rather new to playing with the 6140 myself so I can&#8217;t really make any recommendations.   This multipath.conf was actually provided to me by our contacts at <a href="http://ibrix.com/">Ibrix</a>.  Ibrix, as a business, is just pure awesome.  They&#8217;re on the level of Zeus in terms of willingness to assist potential customers.  Absolutely amazing.</p>
<p>Anyhow, make sure you have multipathd starting on boot:</p>
<pre class="code">
chkconfig multipathd on
</pre>
<p>Reboot, and you should be able to mount exports from your 6140 on your RHEL/CentOS 5.3 system, and do proper failover, without things freaking the hell out.</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/06/25/sun-storagetek-6140-rhel-or-centos-5-3-and-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun With UUIDs and ext3, XFS</title>
		<link>http://zarathustrashallspeak.com/2009/06/13/fun-with-uuids-and-ext3-xfs/</link>
		<comments>http://zarathustrashallspeak.com/2009/06/13/fun-with-uuids-and-ext3-xfs/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 16:28:07 +0000</pubDate>
		<dc:creator>Akairenn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://zarathustrashallspeak.com/?p=82</guid>
		<description><![CDATA[CentOS, my distribution of choice, isn't as UUID-happy as other distributions are.]]></description>
			<content:encoded><![CDATA[<p>The following examples assume the partition in question is located at /dev/sdb1.  YMMV.</p>
<p>Set new UUID on XFS Partition, RHEL/CentOS:</p>
<pre class="code">
xfs admin -U generate /dev/sdb1
</pre>
<p>Set new UUID on XFS Partition, SLES/OpenSUSE:</p>
<pre class="code">
xfs_admin -U generate /dev/sdb1
</pre>
<p>Set new UUID on ext3 Partition and Display New UUID (RHEL/CentOS, SLES/OpenSUSE):</p>
<pre class="code">
tune2fs /dev/sdb1 -U random
dumpe2fs -h /dev/sdb1 | grep UUID
</pre>
<p>Fun, no?</p>
]]></content:encoded>
			<wfw:commentRss>http://zarathustrashallspeak.com/2009/06/13/fun-with-uuids-and-ext3-xfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

