Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I got a new VPS. It's running CentOS 5.5.

The hosting company said some VPS nodes have RAID BBU while some don't.

How do I tell whether my VPS node has BBU or not?

Also is there a way to tell how many and what type of disks my server has?

Thanks

share|improve this question
3  
Surely you should be asking them, rather than us? –  Ben Pilbrow Nov 8 '10 at 22:01

2 Answers 2

up vote 2 down vote accepted

The only real way to tell is to actually ask your host - they will know what physical server your VPS is on and should be able to provide you with the specs of it.

Since it is a VPS, it will show as having some generic virtual disk and won't really reveal any information about the underlying hardware. That includes disk manufacturers, models, type, RAID configuration - the lot.

share|improve this answer
    
Good call. I overlooked it being a virtual machine. +1 –  Aaron Copley Nov 8 '10 at 22:21

First, you would need to know what RAID controller they are using. 3ware/Dell/etc.. Tools such as dmidecode and dmesg should help you learn more about the detected hardware.

Each vendor provides their own tools for querying the controller and what exists behind it. Some are available as binaries which may require root privileges to run.

Unlikely, but if software RAID is implemented the standard fdisk -l and cat /proc/mdstat should get the information about the RAID, while smartctl / smartmontools should help query the disks for more information about them. You won't have to worry about figuring out if there is BBU, the answer would be no. :)

Edit: Ben's answer made me realize that this is a virtual machine. Sorry, he's right. The underlying hardware wouldn't be visable to a guest operating system, just the hypervisor. I will leave my answer as it might help someone searching later.

share|improve this answer

Your Answer

 
discard

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.