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.

  • "Compare" how? Speed? Reliability? – Andrew Sep 29 '11 at 1:43

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.

| 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
  • 2
    Yep, no way to tell what's underneath that virtual disk... – Sean Reifschneider Sep 29 '11 at 0:51
  • 1
    Also lshw is good – Zoredache Sep 29 '11 at 4:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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