Re: sda sdb sdc confusion
Daniel Bareiro a écrit :
> 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.
>
> You could identify the drive serial number as follows:
>
> # smartctl -i /dev/sdb
>
> # hdparm -i /dev/sdb
Problem is that these commandes query the disk and may fail if the disk
has failed.
# hdparm -i /dev/sdX
gets the same information from the kernel instead.
Reply to: