Re: How can I tell what drive is sdb?
From: Matt Garman <hidden>
Date: 2010-01-27 14:09:17
On Wed, Jan 27, 2010 at 8:03 AM, Rick Bragg [off-list ref] wrote:
I have 4 identical disks on it and they show up as /dev/sda, b, c, and d. However, sdb needs to be replaced. How can I tell which drive is sdb? Is there a way to identify what drive is what?
Sometimes you can infer from dmesg. E.g., type "dmesg | less" then scroll until you see where sdb is initialized; it might show the model and serial number of the drive. Another approach is to use smartctl, i.e.: "sudo smartctl -a /dev/sdb". This will definitely show you the model and serial number. You can also use hdparm for the same effect: "sudo hdparm -I /dev/sdb". I'm sure there's more ways, but those are the first that come to mind. -Matt -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html