On Saturday, 24 August 2013 16:40:16 +0500, Muhammad Yousuf Khan wrote: > i have 3 HD sata 1TB , same vendor same size drives for RAID1 and remaining > one is for fail safe. now the question is how would i know which cable is > attached to which device. manually unplugging and testing, yes i can do it > but there could be a easy way. > i know there are commands like fdisk, smartctl etc. but still i can not > learn which drive is what. Hi, Muhammad. You could identify the drive serial number as follows: # smartctl -i /dev/sdb # hdparm -i /dev/sdb Record the output (serial number) of either of these two commands and compare it with what you have written on the disks. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598
Attachment:
signature.asc
Description: Digital signature