2

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.

shadow_of__soul
  • 376
  • 1
  • 6
  • 16

4 Answers4

4

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

Mark Henderson
  • 68,823
  • 31
  • 180
  • 259
1

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
Dan Andreatta
  • 5,454
  • 2
  • 24
  • 14
1

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

Mark Wagner
  • 18,019
  • 2
  • 32
  • 47
0

cat /proc/mdstat

Mark Wagner
  • 18,019
  • 2
  • 32
  • 47