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.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52193d9e.5080...@plouf.fr.eu.org

Reply via email to