Finding hard drive serial numbers in Linux and Windows

In Linux I prefer using smartctl

smartctl -i /dev/sda

or

hdparm -I /dev/sda | grep Serial

Megacli RAid card —

megacli -PDList -aALL

or

hdparm -I /dev/sdX | grep -i ‘serial’

Adaptec —-

/usr/StorMan/arcconf getconfig 1

================================
For Windows

https://whatsonmypc.wordpress.com/2011/09/01/wmic/
If you have many hard drives like me, use this instead to help you know which is which: wmic diskdrive get name,size,model,serialnumber

https://www.smartmontools.org/wiki/Download#InstalltheWindowspackage

Adaptec
You can use the command line interface to check on the drive serial information.

You can check for the binary in C:\Program Files (x86)\Adaptec\….
there are three possible directories: Adaptec Storage Manager, maxView Storage Manager, or Adaptec Event Monitor. Change to that directory and arcconf.exe should be in there.

Once you are there run:

<path>\arcconf.exe getconfig 1 LD
<path>\arcconf.exe getlogs 1 dead tabular
<path>\arcconf.exe getlogs 1 device tabular

Resources=======================

http://thatlinuxbox.com/blog/article.php/lsi-megaraid-megacli

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *