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.

link|improve this question

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

1 Answer

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.

link|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
Also lshw is good – Zoredache Sep 29 '11 at 4:08
feedback

Your Answer

 
or
required, but never shown

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