<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Disk on Evan Hoffman</title><link>https://evan.wtf/tags/disk/</link><description>Recent content in Disk on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Tue, 23 Aug 2011 12:04:54 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/disk/index.xml" rel="self" type="application/rss+xml"/><item><title>Macbook Pro locks up with SSD installed.</title><link>https://evan.wtf/2011/08/23/macbook-pro-locks-up-with-ssd-installed/</link><pubDate>Tue, 23 Aug 2011 12:04:54 +0000</pubDate><guid>https://evan.wtf/2011/08/23/macbook-pro-locks-up-with-ssd-installed/</guid><description>&lt;p&gt;A few weeks ago I switched from my trusty old &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834147346"&gt;HP nc8430&lt;/a&gt; to a &lt;a href="http://www.amazon.com/gp/product/B002C744K6/ref=as_li_ss_tl?ie=UTF8&amp;amp;tag=evanhoffmasho-20&amp;amp;linkCode=as2&amp;amp;camp=217145&amp;amp;creative=399369&amp;amp;creativeASIN=B002C744K6"&gt;Macbook Pro&lt;/a&gt; (MC118LL/A) that was left spare when another employee left. I mostly enjoyed using Linux but I was tired of dealing with weird quirks like having X lock up, essentially forcing me to do a hard reboot.&lt;/p&gt;&#10;&lt;p&gt;To transition, I copied my documents from Linux to Mac, then turned off the Linux laptop. Surprisingly I found I didn&amp;rsquo;t need to turn Linux back on at all.&#10;Last week, I decided to put the final nail in Linux&amp;rsquo;s coffin by taking the SSD (&lt;a href="http://www.amazon.com/gp/product/B002CI41US/ref=as_li_ss_tl?ie=UTF8&amp;amp;tag=evanhoffmasho-20&amp;amp;linkCode=as2&amp;amp;camp=217145&amp;amp;creative=399369&amp;amp;creativeASIN=B002CI41US"&gt;Corsair CMFSSD-128GBG2D&lt;/a&gt;)out of it and putting it in my Macbook. The Macbook was pretty fast (Core 2 Duo @ 2.5 GHz) but some things were noticeably slower on its 7200RPM disk than on Linux with an SSD, especially running Windows VMs.&lt;/p&gt;</description></item><item><title>Benchmarking disk IO on ext3 vs ext4 vs xfs with fio</title><link>https://evan.wtf/2011/07/22/benchmarking-disk-io-on-ext3-vs-ext4-with-fio/</link><pubDate>Fri, 22 Jul 2011 07:15:05 +0000</pubDate><guid>https://evan.wtf/2011/07/22/benchmarking-disk-io-on-ext3-vs-ext4-with-fio/</guid><description>&lt;p&gt;With the old database phased out, I figured this was a good time to benchmark IO on it before either repurposing it or mothballing it. In &lt;a href="https://evan.wtf/2009/10/27/nilfs-a-file-system-to-make-ssds-scream-in-pain/"&gt;the past&lt;/a&gt; I&amp;rsquo;ve used &lt;code&gt;dd&lt;/code&gt; for elementary sequential read/write testing, but I recently found &lt;a href="http://freshmeat.net/projects/fio/"&gt;fio&lt;/a&gt; which is much more versatile. Apparently developed by FusionIO, fio lets you control concurrency, blocksize and many other parameters and reports lots more data, most notably &lt;a href="http://en.wikipedia.org/wiki/IOPS"&gt;IOPS&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;I created 4 fio config files, basically the same as the one below, for direct / buffered disk access and sequential / random writes. All have 8k blocksize since that&amp;rsquo;s what Postgres uses by default.&lt;/p&gt;</description></item><item><title>How I fixed my Wii's noisy disc drive &amp; read errors.</title><link>https://evan.wtf/2011/02/25/how-i-fixed-my-wii-noisy-disc-drive-read-errors/</link><pubDate>Fri, 25 Feb 2011 00:10:31 +0000</pubDate><guid>https://evan.wtf/2011/02/25/how-i-fixed-my-wii-noisy-disc-drive-read-errors/</guid><description>&lt;p&gt;I got my Wii in late 2006 and around 2009 I noticed it was starting to sound like a circular saw when the disc drive was spinning. This was annoying but it didn&amp;rsquo;t affect the games so I never thought much about it.&lt;/p&gt;&#10;&lt;p&gt;About two weeks ago, however, &lt;a href="http://www.amazon.com/dp/B002BRZ9G0/?tag=evanhoffmasho-20"&gt;New Super Mario Bros. Wii&lt;/a&gt; stopped working:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://evan.wtf/evan/2011/02/25/how-i-fixed-my-wiis-noisy-disc-drive-read-errors/img_1001/"&gt;&lt;img src="https://evan.wtf/wp-content/uploads/2011/02/IMG_1001-300x225.jpg" alt="" title="IMG_1001"&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;The Wii basically worked except for the disc drive. As soon as I put a disc in, I&amp;rsquo;d get the error above - even if I didn&amp;rsquo;t start start the game. I tried blowing in the disc slot (the only thing I could think of&amp;hellip; worked for my old NES!) but the problem continued. I figured I had two choices: buy another Wii or attempt to fix mine. Since mine was already essentially useless I figured it couldn&amp;rsquo;t hurt anything to try fixing it.&lt;/p&gt;</description></item><item><title>The VMware datastore LUN 2TB (well, 1.99999 TB) size limit</title><link>https://evan.wtf/2010/09/24/the-vmware-datastore-lun-2tb-well-1-99999-tb-size-limit/</link><pubDate>Fri, 24 Sep 2010 16:00:15 +0000</pubDate><guid>https://evan.wtf/2010/09/24/the-vmware-datastore-lun-2tb-well-1-99999-tb-size-limit/</guid><description>&lt;p&gt;I started migrating our physical machines to VMs using VMware a few years ago and the first problem I ran into is still the most annoying one: the size limit for LUNs is, &lt;a href="http://kb.vmware.com/kb/3371739"&gt;per VMware&amp;rsquo;s docs&lt;/a&gt;, (2TB - 512B). That&amp;rsquo;s 512 bytes shy of 2TB, so basically 1.99999 TB, or 2047.999 GB. So when I create a new LUN for a datastore in the SAN the max size is 2047 GB. Now, as the VMware KB article states, &lt;strong&gt;this is a limitation of SCSI, not VMware per se&lt;/strong&gt;, but that doesn&amp;rsquo;t make it any less annoying. When I first setup ESX, I created a 5 TB LUN for the datastore. It showed up in vCenter as 1 TB. After some Googling I learned of the 2 TB limit &amp;ndash; the usable space is basically usable space = (size of lun) % 2TB, where % is &lt;a href="http://en.wikipedia.org/wiki/Modulo_operation"&gt;the modulo operator&lt;/a&gt; &amp;ndash; and found something suggesting using extents to expand the datastore across luns. I did that, but I later learned that there seems to be a consensus that extents should be avoided.&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>