Re: sda sdb sdc confusion

2013-08-25 Thread Pascal Hambourg
Curt a écrit : > On 2013-08-25, Bob Proulx wrote: >> I see no difference in "hdparm -i /dev/sdb" versus "hdparm -i /dev/sdX". >> What did you mean to say there? > > Maybe he saw 'hdparm -l' from eye fatigue (which interrogates the drive > directly rather than the kernel). hdparm -I, actually. No

Re: sda sdb sdc confusion

2013-08-25 Thread Curt
On 2013-08-25, Bob Proulx wrote: > > I see no difference in "hdparm -i /dev/sdb" versus "hdparm -i /dev/sdX". > What did you mean to say there? Maybe he saw 'hdparm -l' from eye fatigue (which interrogates the drive directly rather than the kernel). > I believe that smartctl and hdparm are basic

Re: sda sdb sdc confusion

2013-08-24 Thread Bob Proulx
Pascal Hambourg wrote: > Daniel Bareiro a écrit : > > 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 in

Re: sda sdb sdc confusion

2013-08-24 Thread Pascal Hambourg
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

Re: sda sdb sdc confusion

2013-08-24 Thread Muhammad Yousuf Khan
Thanks guys, it works :) On Sat, Aug 24, 2013 at 6:02 PM, Kailash 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 > re

Re: sda sdb sdc confusion

2013-08-24 Thread Kailash
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 >> at

Re: sda sdb sdc confusion

2013-08-24 Thread Daniel Bareiro
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 d

sda sdb sdc confusion

2013-08-24 Thread Muhammad Yousuf Khan
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, smart