5

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.

1
  • "Compare" how? Speed? Reliability?
    – Andrew
    Commented Sep 29, 2011 at 1:43

1 Answer 1

13

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.

3
  • Yes, it tells me that is a VMware disk: "Device: VMware Virtual disk Version: 1.0" Thanks.
    – adrianTNT
    Commented Sep 29, 2011 at 0:27
  • 2
    Yep, no way to tell what's underneath that virtual disk... Commented Sep 29, 2011 at 0:51
  • 1
    Also lshw is good
    – Zoredache
    Commented Sep 29, 2011 at 4:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .