Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a Linux command that would allow me to get model information for hard drives? I'm running CentOS.

I want to compare the hard drives on two VPS providers that I use.

share|improve this question
"Compare" how? Speed? Reliability? – Andrew Sep 29 '11 at 1:43
up vote 13 down vote accepted

One of these should work:

smartctl --all /dev/sda
hdparm -I /dev/sda

However, if this is a VPS you may not get back reliable data. If that's the case (you get back what's obviously a virtual HDD), there's nothing you can do.

share|improve this answer
Yes, it tells me that is a VMware disk: "Device: VMware Virtual disk Version: 1.0" Thanks. – adrianTNT Sep 29 '11 at 0:27
Yep, no way to tell what's underneath that virtual disk... – Sean Reifschneider Sep 29 '11 at 0:51
Also lshw is good – Zoredache Sep 29 '11 at 4:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.