The blog provides Network Security Tips, Tricks, How To/Procedures. Products and areas not limited to Firewalls, Security, Check Point, Cisco, Nokia IPSO, Crossbeam, SecurePlatform, SPLAT, IP Appliance, GAiA, Unix/Linux.

Linux/Unix - View Hard Disk Drive (HDD) Serial Number and Details



Using "smartctl -i" command, we could view Hard Disk Drive (HDD) serial number and related detail of Linux/Unix system. In Linux, SATA disks accessed via libata are only supported by smartmontools for kernel versions 2.6.15 and above. Try an additional "-d ata" argument.


Syntax:

smartctl -i <disk-drive> -d ata


Example:


[root@Linux]#
[root@Linux]# smartctl -i /dev/sda -d ata
smartctl version 5.36 [x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     Hitachi HTE723225L9A360
Serial Number:    003355KKKJJKJJJ88
Firmware Version: FF00CCDDEE
User Capacity:    150,059,350,000 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Not recognized. Minor revision code: 0x42
Local Time is:   Sun Feb  8 12:02:34 2015 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

[root@Linux]#
[root@Linux]# 


Linux/Unix - View Hard Disk Drive (HDD) Serial Number and Details Linux/Unix - View Hard Disk Drive (HDD) Serial Number and Details Reviewed by Admin on 16:43:00 Rating: 5