[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sda sdb sdc confusion



Thanks guys, it works :)




On Sat, Aug 24, 2013 at 6:02 PM, Kailash <listskailash@gmail.com> 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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 5218AED2.9030103@gmail.com" target="_blank">http://lists.debian.org/[🔎] 5218AED2.9030103@gmail.com



Reply to: