Determining the hard disk model on Linux without cracking the case

Written by James McDonald

September 13, 2011

Hard disk model

hdparm -I /dev/sdb | grep Model
Model Number:       WDC WD20EARX-00PASB0 

Capacity and sector size

hdparm -I /dev/sdb | grep size
	Logical  Sector size:                   512 bytes
	Physical Sector size:                  4096 bytes
	device size with M = 1024*1024:     1907729 MBytes
	device size with M = 1000*1000:     2000398 MBytes (2000 GB)
	cache/buffer size  = unknown

0 Comments

Submit a Comment

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…