On 22/03/13 20:06, Roger Heflin wrote:
I have self wired hot swap enclosures and my method is to read from the array and see which disk does not light up (confirm all others are active) and then cancel that read and go back and read from the bad disk to confirm which device that is, and if I want to be really save cancel that read make sure that disk stops then read again just to confirm I know what is what, no matter what you have, no matter how it is incorrectly labeled/wired this method should always work right.
Just as a data point. I have a spreadsheet with the serial number of each drive tied to the physical drive slot, so I know *exactly* which drive to pull when one dies. Use hdparm to give you a list of serial numbers to cut and paste into open-office, then just shuffle the cells around as you pull each drive to check it's number. Takes no time to create when you next have the machine down.
Your method is good too, and I've used that when in a hurry and not likely to cause damage if I get it wrong.
-- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html