Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187048

Re: hdparm reporting a different serial number

From Ben Caradoc-Davies <ben@transient.nz>
Newsgroups linux.debian.user
Subject Re: hdparm reporting a different serial number
Date 2017-09-20 07:30 +0200
Message-ID <urFK9-72X-1@gated-at.bofh.it> (permalink)
References <urDyG-5Fl-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 20/09/17 14:53, Bhasker C V wrote:
> Hi all,
>   I have a seagate backup plus 5TB.
>   When I plug-in the hdd, I see the serial number (as printed in the
> back of the HDD) in dmesg.
> usb 2-1.1: SerialNumber: XXXXXXXX
> [    5.244161] usbcore: registered new interface driver usb-storage
> [    5.245790] scsi host6: uas
> [    5.246015] usbcore: registered new interface driver uas
> [    5.247071] scsi 6:0:0:0: Direct-Access     Seagate  BUP BK
>    0108 PQ: 0 ANSI: 6
> [    5.285452] sd 6:0:0:0: [sda] 9767541167 512-byte logical blocks:
> (5.00 TB/4.55 TiB)
> [    5.285458] sd 6:0:0:0: [sda] 4096-byte physical blocks
> [    5.285786] sd 6:0:0:0: [sda] Write Protect is off
> [    5.285790] sd 6:0:0:0: [sda] Mode Sense: 53 00 00 08
> This serial number is correct ! (Actuial serial number is obfuscated)
> Whereas, when I do a hdparm or smartctl -i , I get a different serial number.
> ATA device, with non-removable media
>          Model Number:       ST5000LM000-2AN170
>          Serial Number:      YYYYYYY
>          Firmware Revision:  0001
>          Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II
> Extensions, SATA Rev 2.5,
> (actual serial number obfuscated)
> Can someone explain why please ?
> When I use seagate seatools, it reports both the USB-STORAGE and also
> the internal HDD with the same XXXXXXXX serial number (on windows).

Your USB hard drive consists of a USB to SATA bridge and a SATA HDD. My 
guess is that the kernel reports (via dmesg/journalctl) the USB iSerial 
of the bridge as "SerialNumber" and hdparm reports the SATA serial 
number of the HDD.

Kind regards,

-- 
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

hdparm reporting a different serial number Bhasker C V <bhasker@unixindia.com> - 2017-09-20 05:10 +0200
  Re: hdparm reporting a different serial number Ben Caradoc-Davies <ben@transient.nz> - 2017-09-20 07:30 +0200

csiph-web