Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Identifying a Hard Disk Using hdparm command.  (Read 2493 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
Identifying a Hard Disk Using hdparm command.
« on: April 07, 2014, 06:40:05 am »
Identifying a Hard Disk Using hdparm command.

When working with hard disks it is sometimes difficult to determine which piece of hardware corresponds to which Linux device. The hdparm command can provide identifying information to tie the physical drive to the device file in /dev. For example to find the Model and Serial Number of all /dev/sdX devices present on the system

Code: [Select]
# hdparm -I /dev/sd?|grep -E "Number|/dev"
Example Output:

/dev/sda:
        Model Number:       HDS722516VLSA80                         
        Serial Number:        VN6D3ECDD7RG1D
/dev/sdb:
        Model Number:       WDC WD740GD-00FLA1                     
        Serial Number:        WD-WMAKE1690676
/dev/sdc:
        Model Number:       HDS722525VLSA80                         
        Serial Number:        VN6J3ECFEALJRD
/dev/sdd:
        Model Number:       HDS722525VLSA80                         
        Serial Number:        VN6J3ECFEBSR1D


------