<?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>Elektronkind &#187; LSI</title>
	<atom:link href="http://elektronkind.org/tag/lsi/feed" rel="self" type="application/rss+xml" />
	<link>http://elektronkind.org</link>
	<description>Navigator of the synapse</description>
	<lastBuildDate>Tue, 17 Mar 2009 17:20:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mercury gets a HBA upgrade</title>
		<link>http://elektronkind.org/2008/08/mercury-gets-a-hba-upgrade</link>
		<comments>http://elektronkind.org/2008/08/mercury-gets-a-hba-upgrade#comments</comments>
		<pubDate>Mon, 04 Aug 2008 04:10:54 +0000</pubDate>
		<dc:creator>Dale Ghent</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[LSI]]></category>

		<guid isPermaLink="false">http://elektronkind.org/?p=184</guid>
		<description><![CDATA[mercury.elemental.org is the server which hosts my $HOME and this website. It&#8217;s my Solaris 10 play-box, and I guess you can say that maintaining it is something of a hobby.
Its hardware is a quad core Xeon-equipped Dell PowerEdge 860, a small 1u server. Its pair of internal drives are Seagate SATA2, and were connected to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://elemental.org/">mercury.elemental.org</a> is the server which hosts my $HOME and this website. It&#8217;s my Solaris 10 play-box, and I guess you can say that maintaining it is something of a hobby.</p>
<p>Its hardware is a quad core Xeon-equipped Dell PowerEdge 860, a small 1u server. Its pair of internal drives are Seagate SATA2, and were connected to the on-board Intel ICH7-based SATA controller. But there was something fishy about this in that the Solaris <a href="http://docs.sun.com/app/docs/doc/816-5177/ahci-7d?a=view"><em>ahci</em></a> SATA driver never attached to it and instead the drives ran in IDE mode. Despite my best efforts, I couldn&#8217;t change this. I eventually found out the reason &#8211; Dell crippled the SATA controller in the system BIOS to allow only IDE mode!</p>
<p>So this server was sold with &#8220;SATA drives&#8221;, which would imply a fully functioning SATA controller to drive them&#8230; but not quite. IDE mode means there were no benefits of SATA NCA and other niceties. </p>
<p>To fix this, I got a <a href="http://www.lsi.com/storage_home/products_home/host_bus_adapters/sas_hbas/lsisas3041er/index.html">LSI SAS3041E-R</a> controller &#8211; a 4x PCIe card that uses the <a href="http://www.lsi.com/storage_home/products_home/standard_product_ics/sas_ics/lsisas1064e/index.html">LSISAS1064E</a> chipset and offers 4 SATA ports. In Solaris land, this card would be driven by the <a href="http://docs.sun.com/app/docs/doc/816-5177/mpt-7d?a=view"><em>mpt</em></a> driver, a proven driver as the LSI SAS 1064 and 1068 chipsets are used to drive the on-board hard drives in pretty much every current Sun x86 and Niagara-based SPARC systems.</p>
<p>I installed this card in the single 8x PCIe slot in the PE860, and ran a 24&#8243; SATA cable from it to HDD1, and used the existing Dell cable that connected the on-board controller to HDD1 to connect HDD0 to the card. After some fiddling in <em>/boot/solaris/bootenv.rc</em> to tell the kernel the new device path to its boot drive, the <em>mpt</em> driver attached and I was good to go.</p>
<p>I kicked off a SVM mirror resync as a basic test of sequential IO, and I hit 75MB/s reading from one drive and writing to the other. Not bad. A <em>zpool scrub</em> of my mirrored ZFS pool of 66.5GB of data (pool is 444GB in size) took just over an hour.</p>
<p>So if you&#8217;re thinking about a 4 or 8 port SAS/SATA card, consider the <a href="http://www.lsi.com/storage_home/products_home/host_bus_adapters/sas_hbas/basic_connectivity/index.html">LSI SAS3041 or SAS3080/3081</a> cards, respectively. Both come in PCI-X and PCIe flavors and are supported by Solaris (and <a href="http://opensolaris.com/">OpenSolaris</a>) just fine. </p>
<p><em>/usr/X11/bin/scanpci</em> output:<br />
<code>pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1000 device 0x0056<br />
 LSI Logic / Symbios Logic SAS1064ET PCI-Express Fusion-MPT SAS</code></p>
<p>Kernel boot messages:<br />
<code>scsi: /pci@0,0/pci8086,2779@1/pci1000,3090@0 (mpt0): Rev. 8 LSI, Inc. 1064E found.<br />
scsi: /pci@0,0/pci8086,2779@1/pci1000,3090@0 (mpt0): mpt0 supports power management.<br />
pcplusmp: pciex1000,56 (mpt) instance 0 vector 0x38 ioapic 0xff intin 0xff is bound to cpu2<br />
scsi: /pci@0,0/pci8086,2779@1/pci1000,3090@0 (mpt0): mpt0 Firmware version v1.17.2.0 (IR)<br />
scsi: /pci@0,0/pci8086,2779@1/pci1000,3090@0 (mpt0): mpt0: IOC Operational.<br />
scsi: /pci@0,0/pci8086,2779@1/pci1000,3090@0 (mpt0): mpt0: Initiator WWNs: 0x500605b0000fa840-0x500605b0000fa843<br />
pcie_pci: PCIE-device: pci1000,3090@0, mpt0<br />
genunix: mpt0 is /pci@0,0/pci8086,2779@1/pci1000,3090@0<br />
scsi: sd4 at mpt0: target 4 lun 0<br />
genunix: sd4 is /pci@0,0/pci8086,2779@1/pci1000,3090@0/sd@4,0<br />
genunix: /pci@0,0/pci8086,2779@1/pci1000,3090@0/sd@4,0 (sd4) online<br />
scsi: sd3 at mpt0: target 5 lun 0<br />
genunix: sd3 is /pci@0,0/pci8086,2779@1/pci1000,3090@0/sd@5,0<br />
genunix: /pci@0,0/pci8086,2779@1/pci1000,3090@0/sd@5,0 (sd3) online</code></p>
]]></content:encoded>
			<wfw:commentRss>http://elektronkind.org/2008/08/mercury-gets-a-hba-upgrade/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
