Sort of but not quite all correct. The hard drive chain was not changed totally. Non-deterministic for pci-bus devices but still traceable with lspci. Always non-d for usb (pita)<br><br>Hard drives follow a specific pattern:<br>
<br>BIOS spills data to sys about drive locations. Bus num followed by device num. That doesn&#39;t change &#39;cause it can&#39;t.<br><br>If a new drive is inserted at a lower bus numĀ  than other drives, it gets called sda. Move the drive in socket 0 to socket 5 and it now is called sdf.<br>
<br>But so what?! Most distros use UUID anyway so you can move your drives around between boots and it&#39;ll still work as long as the BIOS knows where the /boot drive is. Cool thing is error messages will reflect the current configuration.<br>
<br>So if the bad drive is moved from sdb to sdf, on reboot the error will reflect the bad drive is sdf.<br><br>So as long as drives stay plugged in the same, detection will be deterministic but the name is not. Remember, empty sockets 0-5 and a single drive in 5 will be called sda.<br>
<br>Thus by looking for the next to lowest numbered drive will reveal sdb, the failed drive in the OP. :-)<br><br><div class="gmail_quote">On Thu, Jun 16, 2011 at 4:25 PM, Michael Trausch <span dir="ltr">&lt;<a href="mailto:mike@trausch.us">mike@trausch.us</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><p>Not always; it depends on a multitude of factors, as well as whether or not udev was programmed with appropriate rules by the distributors or SA to do things sanely. The Linux kernel stopped guaranteeing deterministic device enumeration years ago.</p>
<div class="im">

<p>--<br>
Sent from my phone... a G2 running CM7 nightlies!</p>
</div><div class="gmail_quote"><div><div></div><div class="h5">On Jun 16, 2011 11:23 AM, &quot;Jim Kinney&quot; &lt;<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>&gt; wrote:<br type="attribution">
&gt; it will be the second drive in the chain. Sata ports are numbered on the<br>
&gt; mobo so what is sda will be the lowest numbered connected sata port thus sdb<br>&gt; will be the second lowest sata port.<br>&gt; <br>&gt; On Thu, Jun 16, 2011 at 10:20 AM, Gene Poole &lt;<a href="mailto:gene.poole@macys.com" target="_blank">gene.poole@macys.com</a>&gt; wrote:<br>

&gt; <br>&gt;&gt; All,<br>&gt;&gt;<br>&gt;&gt; I&#39;m running CentOS 5.3 on a box that has 4 - 1 TB hard drives in 2 - Raid 1<br>&gt;&gt; configurations.  It&#39;s telling me that one of the drives has gone bad. When I<br>

&gt;&gt; built the raid 1, I built it where the paired drives is sda | sdc and sdb |<br>&gt;&gt; sdd.  The messages tell me that ata2 is bad and I get messages saying sdb1,<br>&gt;&gt; and sdb8 is bad.<br>&gt;&gt;<br>&gt;&gt; My question is - How do I determine what drive on what port should be<br>

&gt;&gt; replaced?<br>&gt;&gt;<br>&gt;&gt; Thanks,<br>&gt;&gt; Gene Poole<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Ale mailing list<br>&gt;&gt; <a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>

&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>&gt;&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>

&gt;&gt;<br>&gt;&gt;<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; -- <br>&gt; James P. Kinney III<br>&gt; <br>&gt; As long as the general population is passive, apathetic, diverted to<br>&gt; consumerism or hatred of the vulnerable, then the powerful can do as they<br>

&gt; please, and those who survive will be left to contemplate the outcome.<br></div></div>&gt; - *2011 Noam Chomsky*<br></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><br>As long as the general population is passive, apathetic, diverted to 
consumerism or hatred of the vulnerable, then the powerful can do as 
they please, and those who survive will be left to contemplate the 
outcome.<br>- <i><i><i><i>2011 Noam Chomsky</i></i></i></i><br>