<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sata on Evan Hoffman</title><link>https://evan.wtf/tags/sata/</link><description>Recent content in Sata on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Mon, 24 Oct 2011 15:20:51 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/sata/index.xml" rel="self" type="application/rss+xml"/><item><title>Rescan SATA bus (aka hot-adding a SATA disk on a Linux guest in VMware without rebooting)</title><link>https://evan.wtf/2011/10/24/rescan-sata-bus-aka-hot-adding-a-sata-disk-on-a-linux-guest-in-vmware-without-rebooting/</link><pubDate>Mon, 24 Oct 2011 15:20:51 +0000</pubDate><guid>https://evan.wtf/2011/10/24/rescan-sata-bus-aka-hot-adding-a-sata-disk-on-a-linux-guest-in-vmware-without-rebooting/</guid><description>&lt;p&gt;Linux supports hot-adding disks but whenever I add a new vdisk in VMware the new disk doesn&amp;rsquo;t show up unless I reboot, which defeats the purpose of hot-add. This command forces a rescan of the bus:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;echo &amp;#34;- - -&amp;#34; &amp;gt; /sys/class/scsi_host/host0/scan&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;dmesg shows the new disk has been found:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;Vendor: VMware Model: Virtual disk Rev: 1.0 &#10; Type: Direct-Access ANSI SCSI revision: 02&#10; target0:0:2: Beginning Domain Validation&#10; target0:0:2: Domain Validation skipping write tests&#10; target0:0:2: Ending Domain Validation&#10; target0:0:2: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127)&#10;SCSI device sdd: 1048576000 512-byte hdwr sectors (536871 MB)&#10;sdd: Write Protect is off&#10;sdd: Mode Sense: 03 00 00 00&#10;sdd: cache data unavailable&#10;sdd: assuming drive cache: write through&#10;SCSI device sdd: 1048576000 512-byte hdwr sectors (536871 MB)&#10;sdd: Write Protect is off&#10;sdd: Mode Sense: 03 00 00 00&#10;sdd: cache data unavailable&#10;sdd: assuming drive cache: write through&#10; sdd: unknown partition table&#10;sd 0:0:2:0: Attached scsi disk sdd&#10;sd 0:0:2:0: Attached scsi generic sg3 type 0&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now, why there&amp;rsquo;s no &amp;ldquo;rescan_sata&amp;rdquo; command is something I can&amp;rsquo;t fathom, but that&amp;rsquo;s Linux for you.&lt;/p&gt;</description></item><item><title>The bright side of Compellent</title><link>https://evan.wtf/2010/09/22/the-bright-side-of-compellent/</link><pubDate>Wed, 22 Sep 2010 16:07:46 +0000</pubDate><guid>https://evan.wtf/2010/09/22/the-bright-side-of-compellent/</guid><description>&lt;p&gt;Since I was bemoaning Compellent&amp;rsquo;s pricing recently I figured it would be unfair of me not to highlight the upside. Their tagline is (or was when we purchased it) &amp;ldquo;The only SAN so sophisticated it&amp;rsquo;s simple.&amp;rdquo; While I can&amp;rsquo;t say whether they&amp;rsquo;re the ONLY one, the idea is definitely true. This is the first SAN I&amp;rsquo;ve ever used, and aside from the learning curve for iSCSI itself (targets, spinup delay, etc.) it&amp;rsquo;s totally simple and intuitive. Create LUNs, map them to servers. Don&amp;rsquo;t worry about things like RAID levels or hot disks. We&amp;rsquo;re into our second year with Compellent and it&amp;rsquo;s definitely lived up to its promise of simplicity.&lt;/p&gt;</description></item><item><title>Oh, Compellent... again with the disk prices.</title><link>https://evan.wtf/2010/08/25/oh-compellent-again-with-the-disk-prices/</link><pubDate>Wed, 25 Aug 2010 00:57:04 +0000</pubDate><guid>https://evan.wtf/2010/08/25/oh-compellent-again-with-the-disk-prices/</guid><description>&lt;p&gt;Time to expand the SAN again.&lt;/p&gt;&#10;&lt;p&gt;I planned and budgeted for this this year but it still pisses me off. Look, I realize these guys have to make money, but the bottom line is they&amp;rsquo;re charging over $1.40/GB for SATA storage. There are 7200 RPM 2TB SATA drives on &lt;a href="http://amzn.com/B002D5DWZU?tag=evanhoffmasho-20"&gt;Amazon&lt;/a&gt; and &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822145298"&gt;Newegg&lt;/a&gt; ranging in price from $130 to $220. That&amp;rsquo;s as low as $0.065/GB. There was even a 2TB WD &amp;ldquo;Green&amp;rdquo; drive (sub-7200 RPM, I think 5900 RPM) &lt;a href="http://slickdeals.net/permadeal/38317"&gt;on Slickdeals&lt;/a&gt; today for $99. That&amp;rsquo;s 5 cents per gig.&lt;/p&gt;</description></item></channel></rss>