which sata to which disk

Andrew McNabb amcnabb at mcnabbs.org
Mon Feb 28 12:15:25 MST 2011


On Mon, Feb 28, 2011 at 11:47:44AM -0700, Merrill Oveson wrote:
> I have raid (mdadm).
> 
> I have a failed drive.  So I need to replace the broken drive.
> 
> The question, I have is:  how do I know which sata is connected to
> which drive (so I know which to replace.)

Whenever I add a disk to an array, I find the device uuid (e.g.,
sudo mdadm -E /dev/sdb1 |grep "Device UUID") and put it onto the disk
tray with a label maker.  I haven't found any low information that's
reliable enough to trust, and the mdadm device uuid is a nice high-level
identifier.

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868


More information about the PLUG mailing list