Thanks guys, it works :)
On Sat, Aug 24, 2013 at 6:02 PM, Kailash <[email protected]> wrote: > On Saturday 24 August 2013 06:26 PM, Daniel Bareiro wrote: > > 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 > > > > hdparm -i /dev/sdb | grep Serial > gets you the line directly. > > Kailash > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > Archive: http://lists.debian.org/[email protected] > >

