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

recently we have a server crash, so we decided to mount a RAID 1 in our server. so we asked to the hosting, they told us that was needed to reinstall all the system again. so we make it, and now i have the doubt if the RAID is really working.

how can i know this? we are running debian lenny 64 bits and the raid is supposed to be running by software.

Regards, Shadow.

share|improve this question

4 Answers 4

up vote 1 down vote accepted

Do you run on bare metal or do you have a VM? If you run on a dedicated server, just run

cat /proc/mdstat

and you will see if you have a raid.

Inside a VM I don't think it is possible (you just get a software block device from the host in all cases, unless they give you a block device per physical disk). You can try with a benchmark and compare the results with known single disk and RAID data.

To check for hardware raid, you can use smartmontools. If you do have a raid, you will not get SMART data running

sudo smartctl -A /dev/sda
share|improve this answer
    
say that the folder do not exist, and yes, is a dedicated server. –  shadow_of__soul Sep 21 '10 at 20:27
    
If you do not have /proc/mdstat, then you do not have software RAID. –  Dan Andreatta Sep 21 '10 at 20:50
    
many thanks for the help :D –  shadow_of__soul Sep 21 '10 at 21:02

Pull the hard drive out. Is the server still running? Then you're using RAID.

share|improve this answer
    
This made me laugh :p –  Lucas Kauffman Jul 22 '12 at 12:06

In addition to md there is the software RAID known as "fakeraid." Try running dmraid -r as root.

share|improve this answer

cat /proc/mdstat

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.