<?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>MCB Systems &#187; scsi</title>
	<atom:link href="http://www.mcbsys.com/techblog/tag/scsi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcbsys.com/techblog</link>
	<description>Custom Software and I.T. Services</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:53:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Excuse Me, Your SCSI Is Slipping</title>
		<link>http://www.mcbsys.com/techblog/2007/06/excuse-me-your-scsi-is-slipping/</link>
		<comments>http://www.mcbsys.com/techblog/2007/06/excuse-me-your-scsi-is-slipping/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 12:17:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[perc]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[scsi]]></category>

		<guid isPermaLink="false">/mark/post/Excuse-Me2c-Your-SCSI-Is-Slipping.aspx</guid>
		<description><![CDATA[So you&#8217;ve got a hot-swap&#160;SCSI RAID array and you figure you are covered, even if a disk fails. Well, that is usually true. Kinda. Here is a long story with a few short conclusions about what to do when SCSI drives start failing. 
Environment
Five-year-old Dell PowerEdge 1500SC with Perc 3/SC RAID controller. Four 18GB SCSI [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve got a hot-swap&nbsp;SCSI RAID array and you figure you are covered, even if a disk fails. Well, that is usually true. Kinda. Here is a long story with a few short conclusions about what to do when SCSI drives start failing. <span id="more-83"></span></p>
<h2>Environment</h2>
<p>Five-year-old Dell PowerEdge 1500SC with Perc 3/SC RAID controller. Four 18GB SCSI disks configured as a RAID 5 array, with a fifth 18GB available as a hot spare. Sixth disk is a 36GB drive configured as RAID 0 (not redundant). Windows 2003 R2.</p>
<p>In this artilce, I&#8217;ll call the physical disks Disk 1 through Disk 6, corresponding to what the SCSI BIOS calls 0:0 through 0:5.&nbsp;</p>
<h2>The Drama</h2>
<p>First of all, kudos to Dell OpenManage with an IT Assistant workstation. What a pain to set up, but without them, I wouldn&#8217;t have known about these disk issues until who knows when. The client&#8217;s server sent SNMP warnings to my IT Assistant workstation (through a router-based VPN). Then IT Assistant sent me emails reporting the critical errors.</p>
<h3>Disk 6 Failing</h3>
<p>Disk 6, containing the 36GB non-redundant volume, started generating SCSI sense errors, which IT Assistant faithfully passed on to me. Example:&nbsp; &#8220;Alert message ID: 2095, Array disk warning. SCSI sense data Sense key: 3 Sense code:11 Sense qualifier: 1, Controller 0, Channel 0, Array Disk 0:5&#8243; (that&#8217;s Disk 6). After discussing with Dell support, I decided this drive is on its last legs. I moved data from this disk to an external drive and stopped using Disk 6. However I did not delete the virutal disk nor did I remove the physical disk. I figured as long as I didn&#8217;t need the data, it didn&#8217;t hurt to leave the failing drive in there for a while.</p>
<h3>Disk 4 Failed&nbsp;</h3>
<p>Suddenly, a timeout error appears in the event log:</p>
<p style="padding-left: 30px;">Source: mraid35x<br />
Event ID: 9<br />
Description: The device, \Device\Scsi\mraid35&#215;1, did not respond within the timeout period.&nbsp;</p>
<p>IT Assistant did not forward this message, but it did tell me that the virtual disk was &#8220;degraded,&#8221; which means that a disk had dropped out of the array. When I checked the server, I saw that Disk 4 had been dropped from the array, the hot spare (Disk 5) had automatically become active and was being rebuilt into the RAID array. So the automatic rebuild using the hot spare worked great, but why did Disk 4 fail in the first place? No hardware&nbsp;errors were reported on&nbsp;Disk 4 before or after it was kicked out of the RAID 5 array.</p>
<p>Using Dell Diagnostics under Windows, a Quick Test of Disk 4 reported that a Verify did in fact fail. (As an aside, the diagnostics caused the Terminal Server and web server to stop responding for some time, perhaps because they were trying to gain access to the tape drive that was under control of the Veritas Backup Exec drivers. Fortunately the machine eventually &#8220;un-hung&#8221; itself, averting an emergency road trip to the client site.)</p>
<h3>On Site:&nbsp; A Lovely BSOD and a Rare RAID BIOS Issue</h3>
<p>The next day I went to the client site to assess the situation.</p>
<p>The first thing I wanted to do was get rid of Disk 6 (the one with SCSI sense errors). Under Windows, using the Dell Server Administrator (the local OpenManage application), I deleted the second virtual disk, then made Disk 6 ready for removal. Its lights flashed appropriately, then turned off. (Flashing lights are a good thing, reminding me that the drives are numbered from right to left.) I removed the left-most Disk 6, then restarted Windows. Windows took a long time shutting down, eventually displaying a blue screen with this message:</p>
<p style="padding-left: 30px;">KERNEL_STACK_INPAGE_ERROR<br />
Stop 0&#215;00000077 (0xC00000185, 0xC00000185, 0&#215;00000000, 0&#215;00C1D000)</p>
<p>After generating a full memory dump, the system restarted. But the RAID BIOS got stuck on the message</p>
<p style="padding-left: 30px;">Spinning SCSI devices&#8230;80%</p>
<p>Google has only four hits on the &#8220;Spinning SCSI devices&#8221; error. The one in English seems to be about Linux. However a search of the Microsoft Knowledge Base for the kernel error was more fruitful.&nbsp; A quick review of this article:</p>
<p style="padding-left: 30px;">Troubleshooting &#8220;Stop 0&#215;00000077&#8243; or &#8220;KERNEL_STACK_INPAGE_ERROR&#8221;<br />
<a href="http://support.microsoft.com/kb/315266" target="_blank">http://support.microsoft.com/kb/315266</a></p>
<p>led to the conclusion that Windows had encountered a SCSI termination problem (&#8220;0xC0000185, or STATUS_IO_DEVICE_ERROR: improper termination or defective cabling of SCSI-based devices, or two devices attempting to use the same IRQ.&#8221;) That makes <em>some</em> sense, since this was the last device in the SCSI chain, but isn&#8217;t the RAID controller supposed to allow removing a drive and dynamically adjust the termination? Well, maybe not.</p>
<p>I inserted the failed Disk 6 back into its slot and turned on the machine. No more &#8220;Spinning SCSI Devices&#8221; message. Windows booted fine and shut down fine.</p>
<p>This time I booted into the RAID BIOS and double-checked that Drive 6 is not in use (in other words, it&#8217;s in a Ready state). I couldn&#8217;t find an option to make the physical drive &#8220;ready for removal,&#8221; so I just powered off the server, removed Disk 6, and powered on again. Still no &#8220;Spinning SCSI Devices&#8221; message. Conclusion:&nbsp; the RAID controller needs to cycle power to change SCSI termination.</p>
<h3>Re-Testing Disk 4&nbsp;</h3>
<p>Alright, now what about that Disk 4 that supposedly failed? It&#8217;s a Quantum Atlas 10K III. I wanted to run the vendor&#8217;s SCSI Max tests against it (downloaded from Seagate&#8217;s site), but that only runs from a Windows 98 boot diskette, and that diskette hung when searching the PCI bus of the server. I had doubts that it would be compatible with the Perc RAID controller. My backup plan was to take Disk 4 back to the office and insert it into an old PowerEdge 2400 that has a SCSI backplane but no RAID controller. My hunch is that this would allow accessing the drive as a &#8220;normal&#8221; SCSI device.</p>
<p>But while I&#8217;m on site, let&#8217;s try the Dell diagnostics. During system boot, I pressed F10 to start the Dell system utilities from the utility partition. I ran the Quick Test on that drive: Pass! Then the Extended Test (45 minutes): Pass! So hopefully Disk 4 is actually still good and was just showing errors because the failing Disk 6 was still in the chain.</p>
<p>At this point I went back in to the RAID BIOS to assign Disk 4 as a global hot spare. Oh&#8211;and while the server is down, I made a photocopy of Disk 4 so I have the serial number for verifying warranty status, should the need arise. Finally, after booting into Windows, I ran the Quick Test from the Windows version of Dell diagnostics. This test, which failed yesterday, now passed as well.</p>
<h2>Lessons Learned</h2>
<p>There are a couple things I will keep in mind for next time.</p>
<h3>Work or Get Off the Bus&nbsp;</h3>
<p>If a drive is&nbsp;generating SCSI errors, fix the errors or get the drive off the SCSI bus. Don&#8217;t leave the drive there, even if you aren&#8217;t using it, or it might cause problems&nbsp;with other drives.</p>
<h3>Hot Swap Does Not Mean Hot Remove</h3>
<p>Maybe you can <em>replace</em> a drive without shutting down the server. But to remove a drive, especially the last drive in the SCSI chain, remove the drive from the RAID configuration (whether under Windows or the RAID BIOS), then <strong>power down the server</strong>. Remove the drive and power up. This way, the RAID controller stands a better chance of adjusting termination.&nbsp;</p>
<h3>Remove First from Windows, Then from RAID</h3>
<p>Although this didn&#8217;t cause problems this time, it would probably be best to delete the volume under Windows Disk Management before removing&nbsp;its logical volume from the RAID configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2007/06/excuse-me-your-scsi-is-slipping/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

